Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidalger/docker-images-ansible
Ansible Docker Images based on CentOS 8 with Python 3
https://github.com/davidalger/docker-images-ansible
Last synced: about 10 hours ago
JSON representation
Ansible Docker Images based on CentOS 8 with Python 3
- Host: GitHub
- URL: https://github.com/davidalger/docker-images-ansible
- Owner: davidalger
- License: mit
- Created: 2020-06-04T21:50:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T09:07:39.000Z (over 4 years ago)
- Last Synced: 2024-04-12T04:11:52.817Z (7 months ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/davidalger/ansible
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Docker Images
![Docker Image CI](https://github.com/davidalger/docker-images-ansible/workflows/Docker%20Image%20CI/badge.svg)
![Docker Pulls](https://img.shields.io/docker/pulls/davidalger/ansible.svg?label=Docker%20Pulls)## Supported Tags
* `2.4`
* `2.5`
* `2.6`
* `2.7`
* `2.8`
* `2.9`## Example Usage
```
ANSIBLE_VERSION=2.9## when on macOS environments use the special ssh auth socket
if [[ $OSTYPE =~ ^darwin ]]; then
SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
fidocker run --rm -it -v $(pwd):/opt/ansible -w /opt/ansible \
--env SSH_AUTH_SOCK=/tmp/ssh-auth.sock -v "${SSH_AUTH_SOCK:-/dev/null}":/tmp/ssh-auth.sock \
--env ANSIBLE_REMOTE_USER="$(whoami)" docker.io/davidalger/ansible:${ANSIBLE_VERSION} \
ansible-playbook -i inventory playbook.yml --tags users --diff
```## License
This work is licensed under the MIT license. See [LICENSE](https://github.com/davidalger/warden/blob/develop/LICENSE) file for details.
## Author Information
This project was started in 2020 by [David Alger](https://davidalger.com/).