Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb44f89b22
|
||
|
|
f483c7066b
|
||
|
|
d3fa0d0178
|
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
# volker-raschek.unix-users
|
# volker-raschek.unix-users
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The ansible role `volker-raschek.unix-users` create and manage users on Linux based distributions. For example for Arch
|
The ansible role `volker-raschek.unix-users` create and manage users on Linux based distributions. For example for Arch
|
||||||
Linux, Fedora and Ubuntu. Furthermore, the role can also be used to create groups, `~/.forward`, `~/.netrc` and to
|
Linux, Fedora and Ubuntu. Furthermore, the role can also be used to create groups, `~/.forward`, `~/.netrc` and to
|
||||||
|
|||||||
@@ -180,6 +180,7 @@
|
|||||||
- "{{ unix_user.value.shell_rc_files }}"
|
- "{{ unix_user.value.shell_rc_files }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: shell_rc_file
|
loop_var: shell_rc_file
|
||||||
|
no_log: true
|
||||||
|
|
||||||
- name: "Create .netrc file"
|
- name: "Create .netrc file"
|
||||||
when: unix_user.value.netrc is defined and unix_user.value.netrc | length > 0
|
when: unix_user.value.netrc is defined and unix_user.value.netrc | length > 0
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
- name: Remove unix user
|
- name: Remove unix user
|
||||||
ansible.builtin.include_tasks: remove_unix_user.yml
|
ansible.builtin.include_tasks: remove_unix_user.yml
|
||||||
|
no_log: true
|
||||||
with_dict: "{{ unix_users }}"
|
with_dict: "{{ unix_users }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: unix_user
|
loop_var: unix_user
|
||||||
@@ -22,6 +23,7 @@
|
|||||||
|
|
||||||
- name: Create unix groups
|
- name: Create unix groups
|
||||||
ansible.builtin.include_tasks: create_unix_group.yml
|
ansible.builtin.include_tasks: create_unix_group.yml
|
||||||
|
no_log: true
|
||||||
with_dict: "{{ unix_groups }}"
|
with_dict: "{{ unix_groups }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: unix_group
|
loop_var: unix_group
|
||||||
|
|||||||
Reference in new issue
Block a user