ksylvan.docker
docker
Install the latest docker on Fedora.
Based on https://docs.docker.com/engine/installation/linux/fedora/
Requirements
Must be run on a Fedora Node.
Role Variables
| Name | Possible Values | Default Value |
|---|---|---|
| docker_testing | boolean | False |
| docker_selinux | enforcing, permissive, disabled | enforcing |
Dependencies
On Fedora 23+, the following packages should be installed:
- ansible
- python2-dnf
- libselinux-python
This is due to recent Fedora systems making the switch to Python3 and Ansible still relies on Python2.
Example Playbook
How to install the latest Docker on Fedora systems:
- hosts: servers
roles:
- ksylvan.docker
Set the docker_testing
variable to true in order to use the testing repository instead of the
main repository.
Change Log
1.2.1 - 2017-04-13
- Fix some of the conditionals in tasks/main.yml
1.2.0 - 2016-07-30
- Remove Fedora 24 SELinux hack related to https://github.com/docker/docker/issues/23981
License
GPLv3
Author Information
Kayvan Sylvan kayvan.sylvan@gmail.com - https://github.com/ksylvan
Install
ansible-galaxy install ksylvan.dockerLicense
Unknown
Downloads
71
Owner
Tech Leader. Former Meta, Apple, Disney, IBM, and Startups. Full Stack Developer. Open source and Open AI advocate.
