Files
@ fcfbb70d1b74
Branch filter:
Location: majic-ansible-roles/roles/common/handlers/main.yml - annotation
fcfbb70d1b74
1.1 KiB
text/x-yaml
MAR-218: Force colour output for the verifier (testinfra).
626eadba53b7 626eadba53b7 a3d247bb2e09 a3d247bb2e09 945973223a21 945973223a21 945973223a21 c10934519e18 626eadba53b7 626eadba53b7 c10934519e18 2d0a09dc0e00 2d0a09dc0e00 76ed37089b33 a3d247bb2e09 a3d247bb2e09 945973223a21 945973223a21 945973223a21 c10934519e18 6d38fef46832 941f4f372672 c10934519e18 2d0a09dc0e00 2d0a09dc0e00 467a66f3ec65 467a66f3ec65 c10934519e18 3a02e5b774b2 5bc6b7fb4cb5 5bc6b7fb4cb5 c10934519e18 72af31a420be 5bc6b7fb4cb5 49af212543b0 | ---
- name: Update PAM configuration # noqa no-changed-when
# [no-changed-when] Commands should not change things if nothing needs doing
# This task is invoked only if user is very specific about requiring to
# run the handlers manually as a way to bring the system to consistency
# after interrupted runs.
ansible.builtin.command: "/usr/sbin/pam-auth-update --package"
- name: Restart SSH
ansible.builtin.service:
name: ssh
state: restarted
- name: Update CA certificate cache # noqa no-changed-when
# [no-changed-when] Commands should not change things if nothing needs doing
# This task is invoked only if user is very specific about requiring to
# run the handlers manually as a way to bring the system to consistency
# after interrupted runs.
ansible.builtin.command: "/usr/sbin/update-ca-certificates --fresh"
- name: Restart ferm
ansible.builtin.service:
name: ferm
state: restarted
- name: Reload systemd
ansible.builtin.systemd:
daemon_reload: true
- name: Restart NTP server
ansible.builtin.service:
name: ntpsec
state: restarted
when: ntp_pools | length > 0
|