Created
August 25, 2017 13:36
-
-
Save dav1x/25a68c82fd7ce08d47182c2275662f9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- block: | |
- name: create the docker-storage config file | |
template: | |
src: "{{ role_path }}/templates/docker-storage-setup-overlayfs.j2" | |
dest: /etc/sysconfig/docker-storage-setup | |
owner: root | |
group: root | |
mode: 0644 | |
when: | |
- ansible_distribution_version == "7.4" | |
- ansible_distribution == "RedHat" | |
- block: | |
- name: create the docker-storage-setup config file | |
template: | |
src: "{{ role_path }}/templates/docker-storage-setup-dm.j2" | |
dest: /etc/sysconfig/docker-storage-setup | |
owner: root | |
group: root | |
mode: 0644 | |
when: ansible_distribution_version != "7.4" | |
- name: start docker | |
service: name=docker state=started enabled=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment