Skip to content

Commit

Permalink
## [1.2.0] - 2017-08-05
Browse files Browse the repository at this point in the history
### Changed
- CMD ["tail", "-f", "/dev/null"] for running container for testing ansible provisioning
  • Loading branch information
Administrator committed Aug 5, 2017
1 parent 5507fc5 commit b691925
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [1.2.0] - 2017-08-05
### Changed
- CMD ["tail", "-f", "/dev/null"] for running container for testing ansible provisioning


## [1.1.0] - 2017-08-05
### Changed
- Added Centos6 Support
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.centos6
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ RUN yum clean all \
&& yum -y install ansible \
&& yum clean all

CMD ["sh"]
# sleep infinity, use container as running system you can bash in
CMD ["tail", "-f", "/dev/null"]
3 changes: 2 additions & 1 deletion Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ RUN yum clean all \
&& yum -y install ansible \
&& yum clean all

CMD ["sh"]
# sleep infinity, use container as running system you can bash in
CMD ["tail", "-f", "/dev/null"]
3 changes: 2 additions & 1 deletion Dockerfile.ubuntu14
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ RUN apt-get update \
&& rm -rf /usr/share/locale/* \
&& rm -rf /tmp/*

CMD ["sh"]
# sleep infinity, use container as running system you can bash in
CMD ["tail", "-f", "/dev/null"]
3 changes: 2 additions & 1 deletion Dockerfile.ubuntu16
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ RUN apt-get update \
&& rm -rf /usr/share/locale/* \
&& rm -rf /tmp/*

CMD ["sh"]
# sleep infinity, use container as running system you can bash in
CMD ["tail", "-f", "/dev/null"]
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ docker-compose up --build -d
### test containers

```text
docker-compose run ubuntu14
docker-compose run ubuntu14 ansible --version
docker-compose run ubuntu14 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
docker-compose exec ubuntu14
docker-compose exec ubuntu14 ansible --version
docker-compose exec ubuntu14 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
```

```text
docker-compose run ubuntu16
docker-compose run ubuntu16 ansible --version
docker-compose run ubuntu16 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
docker-compose exec ubuntu16
docker-compose exec ubuntu16 ansible --version
docker-compose exec ubuntu16 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
```

```text
docker-compose run centos6
docker-compose run centos6 ansible --version
docker-compose run centos6 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
docker-compose exec centos6
docker-compose exec centos6 ansible --version
docker-compose exec centos6 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
```

```text
docker-compose run centos7
docker-compose run centos7 ansible --version
docker-compose run centos7 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
docker-compose exec centos7
docker-compose exec centos7 ansible --version
docker-compose exec centos7 ansible-playbook -i 'localhost,' -c local /etc/ansible/roles/demo-role/tests/test.yml
```
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.2.0

0 comments on commit b691925

Please sign in to comment.