mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2025-10-09 05:57:15 +03:00
Add var to customize docker pkg state
By default var will be `present` to do not break legacy. Fixes #14
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Install Docker.
|
||||
package: name={{ docker_package }} state=present
|
||||
package: name={{ docker_package }} state={{ docker_package_state }}
|
||||
|
||||
- name: Ensure Docker is started and enabled at boot.
|
||||
service:
|
||||
|
Reference in New Issue
Block a user