Restore task naming consistency
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: "Authentication | Configure SSH authentication settings"
|
||||
- name: "Authentication | configure SSH authentication settings"
|
||||
notify: "Restart ssh"
|
||||
loop:
|
||||
- { regexp: '^#?\s*PubkeyAuthentication\s+', line: 'PubkeyAuthentication yes' }
|
||||
@@ -17,7 +17,7 @@
|
||||
line: "{{ item.line }}"
|
||||
validate: /usr/sbin/sshd -t -f %s
|
||||
|
||||
- name: "Check if there is an SSH config forced by cloud-init"
|
||||
- name: "Authentication | check if there is an SSH config forced by cloud-init"
|
||||
register: sshd_cloud_init
|
||||
ansible.builtin.stat:
|
||||
path: "/etc/ssh/sshd_config.d/50-cloud-init.conf"
|
||||
|
||||
Reference in New Issue
Block a user