fix cloud playbooks
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 6m3s
Details
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 6m3s
Details
This commit is contained in:
parent
97995a95dd
commit
04e660c838
|
@ -1,5 +1,5 @@
|
||||||
- name: Initialise VM
|
- name: Initialise VM
|
||||||
hosts: cloud
|
hosts: cloud
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Wait for connection
|
- name: Wait for connection
|
||||||
|
@ -8,8 +8,7 @@
|
||||||
- name: Install system packages
|
- name: Install system packages
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
package: qemu-guest-agent
|
pkg: qemu-guest-agent
|
||||||
state: latest
|
|
||||||
become: true
|
become: true
|
||||||
- name: Enable qemu-guest-agent
|
- name: Enable qemu-guest-agent
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
|
|
@ -8,11 +8,10 @@
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
package:
|
pkg:
|
||||||
- curl
|
- curl
|
||||||
- python3-apt
|
- python3-apt
|
||||||
- gpg
|
- gpg
|
||||||
state: latest
|
|
||||||
become: true
|
become: true
|
||||||
- name: Add docker key
|
- name: Add docker key
|
||||||
ansible.builtin.apt_key:
|
ansible.builtin.apt_key:
|
||||||
|
@ -26,17 +25,16 @@
|
||||||
- name: Install docker
|
- name: Install docker
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
pacakge:
|
pkg:
|
||||||
- docker-ce
|
- docker-ce
|
||||||
- docker-ce-cli
|
- docker-ce-cli
|
||||||
- containerd.io
|
- containerd.io
|
||||||
- docker-buildx-plugin
|
- docker-buildx-plugin
|
||||||
- docker-compose-plugin
|
- docker-compose-plugin
|
||||||
state: latest
|
|
||||||
become: true
|
become: true
|
||||||
- name: Enable docker
|
- name: Enable docker
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: docker
|
name: docker
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in New Issue