From 015b9cb1b2f808624ae693327090aa8514438226 Mon Sep 17 00:00:00 2001 From: Martin Miller Date: Thu, 10 Dec 2020 18:17:07 -0600 Subject: Initial commit --- roles/docker.ubuntu/.travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 roles/docker.ubuntu/.travis.yml (limited to 'roles/docker.ubuntu/.travis.yml') 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 -- cgit v1.1