Implementazione configurazione password policy semplice e pulizia ruolo setup.
This commit is contained in:
parent
7c79621885
commit
100a7d94e9
@ -3,5 +3,6 @@
|
||||
shell: /sbin/e-smith/signal-event nethserver-ntp-save
|
||||
sudo: yes
|
||||
|
||||
- name: group create
|
||||
shell: /sbin/e-smith/signal-event group-create
|
||||
- name: password-policy-update
|
||||
shell: /sbin/e-smith/signal-event password-policy-update
|
||||
sudo: yes
|
||||
|
@ -17,17 +17,9 @@
|
||||
sudo: yes
|
||||
tags: clamav
|
||||
|
||||
# - name: Verifico la presenza del gruppo
|
||||
# shell: /sbin/e-smith/db accounts show domusers
|
||||
# sudo: yes
|
||||
# tags: groups
|
||||
# register: check_domusers
|
||||
# ignore_errors: yes
|
||||
#
|
||||
# - name: Aggiungo gruppo "Domain users"
|
||||
# shell: /sbin/e-smith/db accounts set domusers group && /sbin/e-smith/db accounts setprop domusers Description 'Domain Users' Gid 502 Members admin Removable no
|
||||
# sudo: yes
|
||||
# tags: groups
|
||||
# notify:
|
||||
# - group create
|
||||
# when: check_domusers|failed
|
||||
- name: "Configuro policy password: no strong"
|
||||
shell: /sbin/e-smith/db configuration setprop passwordstrength PassExpires no Users none
|
||||
sudo: yes
|
||||
notify:
|
||||
- password-policy-update
|
||||
tags: policy
|
||||
|
Loading…
x
Reference in New Issue
Block a user