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:
Thibaud Leprêtre
2017-07-20 09:04:08 +02:00
parent e7ff2b8657
commit df3fb0a528
2 changed files with 2 additions and 1 deletions

View File

@@ -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: