mirror of
https://gitea.0xace.cc/ansible-galaxy/docker.git
synced 2024-11-25 00:06:42 +00:00
fix packages deps
This commit is contained in:
parent
6080e2bffe
commit
f5c8cacb0a
@ -25,16 +25,19 @@
|
|||||||
|
|
||||||
- name: Ensure {{ docker_package }} installed
|
- name: Ensure {{ docker_package }} installed
|
||||||
apt:
|
apt:
|
||||||
name: "{{ docker_package }}"
|
name: "{{ docker_packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
- name: Ensure docker service enabled and started
|
- name: Ensure docker service enabled and started
|
||||||
systemd:
|
systemd:
|
||||||
name: "{{ docker_unit_name }}"
|
name: "{{ docker_unit_name }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
masked: no
|
||||||
|
|
||||||
- name: Ensure python3-docker installed
|
- name: Ensure python3-docker installed
|
||||||
apt:
|
apt:
|
||||||
name: python3-docker
|
name: python3-docker
|
||||||
state: present
|
state: present
|
||||||
|
update_cache: yes
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
name: "{{ docker_unit_name }}"
|
name: "{{ docker_unit_name }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
masked: no
|
||||||
|
|
||||||
- name: Ensure python-docker-py installed
|
- name: Ensure python-docker-py installed
|
||||||
yum:
|
yum:
|
||||||
|
Loading…
Reference in New Issue
Block a user