2014-03-21 20:26:46 +01:00
|
|
|
---
|
|
|
|
language: python
|
|
|
|
python: "2.7"
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq python-apt python-pycurl
|
|
|
|
install:
|
|
|
|
- pip install ansible
|
|
|
|
script:
|
|
|
|
- echo localhost > inventory
|
2014-03-21 22:01:09 +01:00
|
|
|
- export ANSIBLE_ROLES_PATH="../"
|
2014-03-21 22:07:46 +01:00
|
|
|
- ansible-playbook -i inventory --syntax-check mstmp.yml
|
|
|
|
- ansible-playbook -i inventory --connection=local --sudo -vvvv mstmp.yml
|