diff --git a/run-local-tests.sh b/run-local-tests.sh index 6426786..e402cb4 100755 --- a/run-local-tests.sh +++ b/run-local-tests.sh @@ -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 diff --git a/tests/Dockerfile.ubuntu-18.04.ansible-2.5.0.0 b/tests/Dockerfile.ubuntu-18.04.ansible-2.5.0.0 new file mode 100644 index 0000000..61c623c --- /dev/null +++ b/tests/Dockerfile.ubuntu-18.04.ansible-2.5.0.0 @@ -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