Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willis7/role-docker
Ansible role for Docker on Centos
https://github.com/willis7/role-docker
ansible ansible-role ansible-roles
Last synced: 1 day ago
JSON representation
Ansible role for Docker on Centos
- Host: GitHub
- URL: https://github.com/willis7/role-docker
- Owner: willis7
- Created: 2018-05-01T10:12:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T21:18:15.000Z (over 2 years ago)
- Last Synced: 2024-04-24T12:07:01.702Z (8 months ago)
- Topics: ansible, ansible-role, ansible-roles
- Language: Ruby
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker
=========This Ansible playbook installs a fresh version of Docker, and configures it with a few recommendations from the [CIS Docker Benchmark][cis].
Role Variables
--------------`defaults/main.yml` includes a config section which is used to populate `daemon.json`. The defaults used here are set per the [CIS Docker Benchmark][cis].
Example Playbook
----------------``` yaml
- name: Install Docker on all machines
hosts: all
become: true
roles:
- docker
```Testing
-------Dependencies:
* Vagrant
* Virtualbox
* RubyThis project uses [Test Kitchen][tk] to create, provision and test the role using [Inspec][is]. With the dependencies installed you can run the tests with:
* `make install` - download all test dependencies
* `make test` - test (destroy, create, converge, setup, verify and destroy) one or more instancesAuthor Information
------------------* Sion Williams ([email protected])
Additional Resources
--------------------* [ansible role development](https://blog.superk.org/home/ansible-role-development)
[tk]: https://kitchen.ci/
[is]: https://www.inspec.io/
[cis]: https://www.cisecurity.org/benchmark/docker/