-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from markstos/master
Add passing test for Ubuntu 18.04 + Ansible 2.5.0.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |