Skip to content

Commit

Permalink
Add passing test for Ubuntu 18.04 + Ansible 2.5.0.
Browse files Browse the repository at this point in the history
To minizing testing time, I didn't add all the other
possible combinations of OS version and Ansible version
involving Ubuntu 18.04 and Ansible 2.5.0.
  • Loading branch information
markstos committed Mar 28, 2018
1 parent eb63a70 commit c7c7aec
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 @@ -22,6 +22,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 c7c7aec

Please sign in to comment.