Changed to reflect new data structure for usernames and passwords

This commit is contained in:
Alex Tavarez
2025-09-05 19:45:26 -04:00
parent 320583635c
commit ef6415d8b2

View File

@@ -5,8 +5,8 @@ files_mode: no
# create_groups:
# - group_name: "ftp"
create_users:
- username: "{{ hostvars['server'][0].username }}"
password: "{{ hostvars['server'][0].password }}"
- username: "{{ hostvars[inventory_hostname]['passwords'][0].username }}"
password: "{{ hostvars[inventory_hostname]['passwords'][0].password }}"
# ssh_authorize: yes
# web_users:
# - caddy