fix packages deps

This commit is contained in:
ace 2023-06-05 13:01:23 +03:00
parent 6080e2bffe
commit f5c8cacb0a
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 5 additions and 1 deletions

View File

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

View File

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