Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angristan/ansible-docker
Ansible role for Debian and Docker
https://github.com/angristan/ansible-docker
ansible ansible-role debian docker
Last synced: 22 days ago
JSON representation
Ansible role for Debian and Docker
- Host: GitHub
- URL: https://github.com/angristan/ansible-docker
- Owner: angristan
- License: mit
- Created: 2020-03-08T16:26:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-13T21:47:58.000Z (over 3 years ago)
- Last Synced: 2024-08-01T12:22:40.145Z (3 months ago)
- Topics: ansible, ansible-role, debian, docker
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible role for Docker
This is a simple role for Debian that will Install docker-ce from the official APT repo + docker-compose + a cron to cleanup old images.
## Usage
Add this to `requirements.yml`:
```yml
- src: https://github.com/angristan/ansible-base
name: angristan.base
version: vX.X.X
```### Sample playbook
```yaml
---
- hosts: myhost
roles:
- { role: docker, tags: docker }
```## Author Information
See my other Ansible roles at [angristan/ansible-roles](https://github.com/angristan/ansible-roles).