Changed to reflect new data structure for usernames and passwords
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user