update..
This commit is contained in:
		| @@ -66,18 +66,20 @@ | ||||
|   when: | ||||
|     - ansible_facts['distribution'] == "Debian" | ||||
|     - ansible_distribution_major_version|int >= 11 | ||||
|     - ansible_distribution_major_version|int <= 12 | ||||
|     - file_etc_pam_d_common_password.stat.exists == True | ||||
|  | ||||
|     #- ansible_distribution_major_version|int <= 12 | ||||
|  | ||||
| - name: (nis-install-server.yml) Change default password hash for local system accounts from SHA-512 to yescrypt | ||||
|   shell: perl -i -n -p -e "s/^(password.+)yescrypt/\1sha512/" /etc/pam.d/common-password | ||||
|   when: | ||||
|     - ansible_facts['distribution'] == "Debian" | ||||
|     - ansible_facts['distribution_major_version']|int >= 11 | ||||
|     - ansible_facts['distribution_major_version']|int <= 12 | ||||
|     - file_etc_pam_d_common_password.stat.exists == True | ||||
|     - presence_of_passwprd_hashing_yescrypt is changed | ||||
|  | ||||
|     #- ansible_facts['distribution_major_version']|int <= 12 | ||||
|  | ||||
|  | ||||
| # --- | ||||
| # /etc/default/nis | ||||
|   | ||||
		Reference in New Issue
	
	Block a user