WIP test indent with vault pass

This commit is contained in:
Jorge Enrique Gómez Gómez 2020-12-16 19:12:04 -05:00
parent 530003c917
commit d4036e0b60
2 changed files with 2 additions and 10 deletions

View File

@ -1,13 +1,5 @@
--- ---
- name: Create or verify Odoo LXD profile - name: Create or verify Odoo LXD profile
vars:
test_privkey: |
H4sIAAAAAAAAA52QTY+CMBiE7/wK7sTsitSPg4cWCytgEQqivVkRZIGurojor9ea7GEPe9nnMHmT
mUzeTK/3BGF7TlR/iQmlH+oynK9ghFUXb6TZU/gAVVyQ+9bsf7N12aSfGEqQDVpex/LEvJ5cWAB/
QFIWV6nNfafnDUuU4EaiuPNlyIQHOsyxOTbENm/Is69DMY1rVoB0ZERZ5sTH0WWPvmjm58+8U7DE
jES9yksF/Gr9b6kin4aWZrxpwtL6rXdmFiiPekn3rgvcAne7IrmKka+B0OvOG2p5Jxh49yI9me/6
IphhK3QoU2qvGrQHMhlXVFyAYR+c8fA1yNpp+SCEXA9bfusfuWDtNiEVDOYzBKdT5TUtJrO/Z38A
PccV5JsBAAA=
lxd_profile: lxd_profile:
name: odoo14 name: odoo14
description: LXD profile for Odoo v14 description: LXD profile for Odoo v14
@ -26,7 +18,7 @@
path: /root/test path: /root/test
permissions: '0644' permissions: '0644'
content: !!binary | content: !!binary |
{{ test_privkey | indent(6, false) }} {{ privkey | indent(6, false) }}
runcmd: runcmd:
- pip3 install ansible - pip3 install ansible
- [ ansible-pull, - [ ansible-pull,

View File

@ -8,7 +8,7 @@ vaultpass: '{{ vault_vaultpass }}'
apikey: '{{ vault_apikey }}' apikey: '{{ vault_apikey }}'
# SSH deploy keys, gzipped and base64-encoded # SSH deploy keys, gzipped and base64-encoded
privkey: '{{ vault_privkey }}' privkey: {{ vault_privkey }}
pubkey: '{{ vault_pubkey }}' pubkey: '{{ vault_pubkey }}'
# SSH host hashes for Gitea, gzipped and base64-encoded # SSH host hashes for Gitea, gzipped and base64-encoded