|
@ -19,7 +19,7 @@ |
|
|
state: present |
|
|
state: present |
|
|
update_cache: yes |
|
|
update_cache: yes |
|
|
cache_valid_time: "{{ aptcachetime }}" |
|
|
cache_valid_time: "{{ aptcachetime }}" |
|
|
loop: ['apt-transport-https', 'ca-certificates', 'curl', 'gnupg-agent', 'software-properties-common'] |
|
|
|
|
|
|
|
|
loop: [ 'apt-transport-https', 'ca-certificates', 'curl', 'gnupg-agent', 'software-properties-common' ] |
|
|
when: docker_compose_bin_exist.stat.exists == False |
|
|
when: docker_compose_bin_exist.stat.exists == False |
|
|
|
|
|
|
|
|
- name: Add Docker GPG key |
|
|
- name: Add Docker GPG key |
|
@ -47,7 +47,7 @@ |
|
|
state: present |
|
|
state: present |
|
|
update_cache: yes |
|
|
update_cache: yes |
|
|
cache_valid_time: "{{ aptcachetime }}" |
|
|
cache_valid_time: "{{ aptcachetime }}" |
|
|
loop: ['docker-ce', 'docker-ce-cli', 'containerd.io'] |
|
|
|
|
|
|
|
|
loop: [ 'docker-ce', 'docker-ce-cli', 'containerd.io' ] |
|
|
when: docker_compose_bin_exist.stat.exists == False |
|
|
when: docker_compose_bin_exist.stat.exists == False |
|
|
|
|
|
|
|
|
- name: Create Docker group |
|
|
- name: Create Docker group |
|
|