You've already forked ansible-role-unix-users
							
							refac: use .yaml instead of .yml extension
This commit is contained in:
		@@ -76,7 +76,7 @@
 | 
				
			|||||||
        unix_user.value.btrfs
 | 
					        unix_user.value.btrfs
 | 
				
			||||||
  block:
 | 
					  block:
 | 
				
			||||||
  - name: "Copy skel files"
 | 
					  - name: "Copy skel files"
 | 
				
			||||||
    ansible.builtin.include_tasks: copy_skel_file.yml
 | 
					    ansible.builtin.include_tasks: copy_skel_file.yaml
 | 
				
			||||||
    loop_control:
 | 
					    loop_control:
 | 
				
			||||||
      loop_var: skel_file
 | 
					      loop_var: skel_file
 | 
				
			||||||
    with_items:
 | 
					    with_items:
 | 
				
			||||||
@@ -190,7 +190,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
- name: "Create shell rc files"
 | 
					- name: "Create shell rc files"
 | 
				
			||||||
  when: unix_user.value.shell_rc_files is defined
 | 
					  when: unix_user.value.shell_rc_files is defined
 | 
				
			||||||
  ansible.builtin.include_tasks: create_shell_rc_file.yml
 | 
					  ansible.builtin.include_tasks: create_shell_rc_file.yaml
 | 
				
			||||||
  with_items:
 | 
					  with_items:
 | 
				
			||||||
  - "{{ unix_user.value.shell_rc_files }}"
 | 
					  - "{{ unix_user.value.shell_rc_files }}"
 | 
				
			||||||
  loop_control:
 | 
					  loop_control:
 | 
				
			||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Remove unix user
 | 
					- name: Remove unix user
 | 
				
			||||||
  ansible.builtin.include_tasks: remove_unix_user.yml
 | 
					  ansible.builtin.include_tasks: remove_unix_user.yaml
 | 
				
			||||||
  with_dict: "{{ unix_users }}"
 | 
					  with_dict: "{{ unix_users }}"
 | 
				
			||||||
  loop_control:
 | 
					  loop_control:
 | 
				
			||||||
    loop_var: unix_user
 | 
					    loop_var: unix_user
 | 
				
			||||||
@@ -11,7 +11,7 @@
 | 
				
			|||||||
        unix_user.value.state == 'absent'
 | 
					        unix_user.value.state == 'absent'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Remove unix groups
 | 
					- name: Remove unix groups
 | 
				
			||||||
  ansible.builtin.include_tasks: remove_unix_group.yml
 | 
					  ansible.builtin.include_tasks: remove_unix_group.yaml
 | 
				
			||||||
  with_dict: "{{ unix_groups }}"
 | 
					  with_dict: "{{ unix_groups }}"
 | 
				
			||||||
  loop_control:
 | 
					  loop_control:
 | 
				
			||||||
    loop_var: unix_group
 | 
					    loop_var: unix_group
 | 
				
			||||||
@@ -21,7 +21,7 @@
 | 
				
			|||||||
        unix_group.value.state == 'absent'
 | 
					        unix_group.value.state == 'absent'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Create unix groups
 | 
					- name: Create unix groups
 | 
				
			||||||
  ansible.builtin.include_tasks: create_unix_group.yml
 | 
					  ansible.builtin.include_tasks: create_unix_group.yaml
 | 
				
			||||||
  with_dict: "{{ unix_groups }}"
 | 
					  with_dict: "{{ unix_groups }}"
 | 
				
			||||||
  loop_control:
 | 
					  loop_control:
 | 
				
			||||||
    loop_var: unix_group
 | 
					    loop_var: unix_group
 | 
				
			||||||
@@ -33,7 +33,7 @@
 | 
				
			|||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Create unix users
 | 
					- name: Create unix users
 | 
				
			||||||
  ansible.builtin.include_tasks: create_unix_user.yml
 | 
					  ansible.builtin.include_tasks: create_unix_user.yaml
 | 
				
			||||||
  no_log: true
 | 
					  no_log: true
 | 
				
			||||||
  with_dict: "{{ unix_users }}"
 | 
					  with_dict: "{{ unix_users }}"
 | 
				
			||||||
  loop_control:
 | 
					  loop_control:
 | 
				
			||||||
		Reference in New Issue
	
	Block a user