fix cloud playbooks
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 6m3s Details

This commit is contained in:
Gleb Koval 2023-09-25 22:30:52 +01:00
parent 97995a95dd
commit 04e660c838
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 5 additions and 8 deletions

View File

@ -1,5 +1,5 @@
- name: Initialise VM
hosts: cloud
hosts: cloud
gather_facts: false
tasks:
- name: Wait for connection
@ -8,8 +8,7 @@
- name: Install system packages
ansible.builtin.apt:
update_cache: true
package: qemu-guest-agent
state: latest
pkg: qemu-guest-agent
become: true
- name: Enable qemu-guest-agent
ansible.builtin.systemd:

View File

@ -8,11 +8,10 @@
- name: Install dependencies
ansible.builtin.apt:
update_cache: true
package:
pkg:
- curl
- python3-apt
- gpg
state: latest
become: true
- name: Add docker key
ansible.builtin.apt_key:
@ -26,17 +25,16 @@
- name: Install docker
ansible.builtin.apt:
update_cache: true
pacakge:
pkg:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
state: latest
become: true
- name: Enable docker
ansible.builtin.systemd:
name: docker
state: started
enabled: true
become: true
become: true