2014-03-21 19:26:46 +00: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 21:01:09 +00:00
|
|
|
- export ANSIBLE_ROLES_PATH="../"
|
2014-03-21 21:07:46 +00:00
|
|
|
- ansible-playbook -i inventory --syntax-check mstmp.yml
|
|
|
|
- ansible-playbook -i inventory --connection=local --sudo -vvvv mstmp.yml
|