Install instance req for ansible docker tasks
This commit is contained in:
parent
b54d14c98e
commit
d930094638
1 changed files with 5 additions and 2 deletions
|
|
@ -34,10 +34,13 @@
|
||||||
# group: root
|
# group: root
|
||||||
# mode: 0600
|
# mode: 0600
|
||||||
|
|
||||||
- name: Install pyyaml # necessary for compose_v2
|
- name: Install python requirements
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: python3-yaml
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
loop:
|
||||||
|
- python3-yaml # for docker compose_v2
|
||||||
|
- python3-requests # for docker network
|
||||||
|
|
||||||
- name: Start the compose stack
|
- name: Start the compose stack
|
||||||
community.docker.docker_compose_v2:
|
community.docker.docker_compose_v2:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue