proxmox ansible bootstrapping
This commit is contained in:
parent
2d1a363a50
commit
bdf3bc6b02
20 changed files with 481 additions and 4 deletions
12
roles/cloudinit/tasks/main.yml
Normal file
12
roles/cloudinit/tasks/main.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
- name: Install cloud-init
|
||||
ansible.builtin.package:
|
||||
name: cloud-init
|
||||
state: present
|
||||
|
||||
- name: Ensure default Cloud-Init configuration is in place
|
||||
ansible.builtin.copy:
|
||||
src: cloud.cfg
|
||||
dest: /etc/cloud/cloud.cfg
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
Loading…
Add table
Add a link
Reference in a new issue