Skip to content

Commit

Permalink
Merge pull request #28 from markstos/master
Browse files Browse the repository at this point in the history
Add passing test for Ubuntu 18.04 + Ansible 2.5.0.
  • Loading branch information
Johan Meiring authored Mar 29, 2018
2 parents eeb0ce8 + c7c7aec commit 18e8d80
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run-local-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ run_test ubuntu 14.04 2.3.0.0
run_test ubuntu 16.04 2.2.2.0
run_test ubuntu 16.04 2.3.0.0

run_test ubuntu 18.04 2.5.0.0

run_test centos 6 2.2.2.0
run_test centos 6 2.3.0.0

Expand Down
13 changes: 13 additions & 0 deletions tests/Dockerfile.ubuntu-18.04.ansible-2.5.0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:18.04
RUN apt-get update

# Install OpenSSH server
RUN apt-get install -y openssh-server

# Install Ansible
RUN apt-get install -y software-properties-common git python-pip python-dev libffi-dev libssl-dev
RUN pip install -U setuptools
RUN pip install 'ansible==2.5.0.0'

# Install Ansible inventory file
RUN mkdir /etc/ansible/ && echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts

0 comments on commit 18e8d80

Please sign in to comment.