.travis.yml 349 B

123456789101112
  1. ---
  2. language: python
  3. python: "2.7"
  4. before_install:
  5. - sudo apt-get update -qq
  6. - sudo apt-get install -qq python-apt python-pycurl
  7. install:
  8. - pip install ansible
  9. script:
  10. - echo localhost > inventory
  11. - ansible-playbook -i inventory --syntax-check --list-tasks role.yml
  12. - ansible-playbook -i inventory --connection=local --sudo -vvvv role.yml