Commit 9bb4248a authored by nanahira's avatar nanahira

missing

parent c07bd1b6
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
regexp: '^#?PasswordAuthentication (true|yes).*$' regexp: '^#?PasswordAuthentication (true|yes).*$'
line: 'PasswordAuthentication no' line: 'PasswordAuthentication no'
backrefs: true backrefs: true
when: "(ansible_user_id == 'root' or ansible_user_id == 'nanahira' or ansible_user_id == 'mycard' or ansible_user_id == 'zh99998') and not allow_password is defined" # Only self-managed servers when: "(ansible_user_id == 'root' or ansible_user_id == 'nanahira' or ansible_user_id == 'mycard' or ansible_user_id == 'zh99998') and not allow_password" # Only self-managed servers
notify: restart_sshd notify: restart_sshd
- name: sshd config GSSAPIAuthentication - name: sshd config GSSAPIAuthentication
become: true become: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment