Cloud VM #7
|
@ -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:
|
||||
|
|
|
@ -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,13 +25,12 @@
|
|||
- 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:
|
||||
|
|
Loading…
Reference in New Issue