fix(lint): convert sshd restart to handler, add pipefail to btrfs subvol set
This commit is contained in:
@@ -77,13 +77,10 @@
|
||||
MaxStartups 50:30:100
|
||||
ClientAliveInterval 30
|
||||
ClientAliveCountMax 10
|
||||
register: _sshd_config_result
|
||||
notify: Restart sshd
|
||||
|
||||
- name: Restart sshd immediately if config was changed
|
||||
when: _sshd_config_result is changed
|
||||
ansible.builtin.service:
|
||||
name: sshd
|
||||
state: restarted
|
||||
- name: Apply pending sshd restart before continuing
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: Abort if the host is not booted from the Arch install media
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user