diff options
author | Martin Miller | 2020-12-10 18:17:07 -0600 |
---|---|---|
committer | Martin Miller | 2020-12-10 18:17:07 -0600 |
commit | 015b9cb1b2f808624ae693327090aa8514438226 (patch) | |
tree | 7a4ab4557fb2e196c2b6b19743dae526d4f9d3bd /roles/docker.ubuntu/.travis.yml | |
download | tbp-master.zip tbp-master.tar.gz |
Diffstat (limited to 'roles/docker.ubuntu/.travis.yml')
-rw-r--r-- | roles/docker.ubuntu/.travis.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/docker.ubuntu/.travis.yml b/roles/docker.ubuntu/.travis.yml new file mode 100644 index 0000000..d3fff98 --- /dev/null +++ b/roles/docker.ubuntu/.travis.yml @@ -0,0 +1,19 @@ +--- +language: python +python: "2.7" +env: + - ANSIBLE_VERSION='ansible<2' + - ANSIBLE_VERSION='ansible>2' + +before_install: + - sudo apt-get update -qq + #- sudo apt-get install -qq python-apt python-pycurl +install: + # Install Ansible. + - sudo pip install $ANSIBLE_VERSION +script: + - ansible --version + - export ANSIBLE_ROLES_PATH="../" +# - echo localhost > inventory + - ansible-playbook -i hosts --syntax-check docker.yml + - ansible-playbook -i hosts --connection=local --sudo -vvvv docker.yml |