Adds back the files to be written by cloud-init
This commit is contained in:
parent
bb207422fe
commit
86301a407a
@ -15,10 +15,27 @@
|
|||||||
write_files:
|
write_files:
|
||||||
- encoding: gzip
|
- encoding: gzip
|
||||||
owner: root:root
|
owner: root:root
|
||||||
path: /root/test
|
path: /root/.ssh/id_ed25519
|
||||||
permissions: '0644'
|
permissions: '0600'
|
||||||
content: !!binary |
|
content: !!binary |
|
||||||
{{ privkey | indent(6, false) }}
|
{{ privkey | indent(6, false) }}
|
||||||
|
- encoding: gzip
|
||||||
|
owner: root:root
|
||||||
|
path: /root/.ssh/id_ed25519.pub
|
||||||
|
permissions: '0644'
|
||||||
|
content: !!binary |
|
||||||
|
{{ pubkey | indent(6, false) }}
|
||||||
|
- encoding: gzip
|
||||||
|
owner: root:root
|
||||||
|
path: /root/.ssh/known_hosts
|
||||||
|
permissions: '0644'
|
||||||
|
content: !!binary |
|
||||||
|
{{ knownhosts | indent(6, false) }}
|
||||||
|
- owner: root:root
|
||||||
|
path: /root/.vault_pass.txt
|
||||||
|
permissions: '0600'
|
||||||
|
content: !!binary |
|
||||||
|
{{ vaultpass | indent(6, false) }}
|
||||||
runcmd:
|
runcmd:
|
||||||
- pip3 install ansible
|
- pip3 install ansible
|
||||||
- [ ansible-pull,
|
- [ ansible-pull,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user