Commit c07bd1b6 authored by nanahira's avatar nanahira

comments

parent de09a75c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
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 is defined" # Only self-managed servers
notify: restart_sshd notify: restart_sshd
- name: sshd config - name: sshd config GSSAPIAuthentication
become: true become: true
lineinfile: lineinfile:
path: /etc/ssh/sshd_config path: /etc/ssh/sshd_config
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
line: 'GSSAPIAuthentication no' line: 'GSSAPIAuthentication no'
backrefs: true backrefs: true
notify: restart_sshd notify: restart_sshd
- name: sshd config - name: sshd config UseDNS
become: true become: true
lineinfile: lineinfile:
path: /etc/ssh/sshd_config path: /etc/ssh/sshd_config
......
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