1
0
Fork 0

corrected ansible errors

This commit is contained in:
therojam 2021-05-01 20:26:50 +02:00
parent 15f5439273
commit 4b9a7e0f2b
2 changed files with 3 additions and 3 deletions

View file

@ -38,12 +38,12 @@ yunohost:
pass: p@ssw0rd
firstname: Jane
lastname: Doe
domain: {{ domain }}
domain: '{{ domain }}'
- name: user2 # user which uses the first extra_domain for its account
pass: p@ssw0rd
firstname: John
lastname: Doe
domain: {{ extra_domain.[1] }}
domain: '{{ extra_domain.[1] }}'
admin_users:
- name: admin # user generated by yunohost as its admin user
key: ssh-rsa ... # key for admin user

View file

@ -1,5 +1,5 @@
---
- name: add sshkey for admin user:
- name: add sshkey for admin user
ansible.posix.authorized_key:
user: "{{ item.name }}"
state: present