Files
@ a3d247bb2e09
Branch filter:
Location: majic-ansible-roles/roles/common/handlers/main.yml - annotation
a3d247bb2e09
1.0 KiB
text/x-yaml
MAR-218: Update noqa directives for ansible-lint to use text tags:
- Numeric tagging is deprecated.
- Numeric tagging is deprecated.
626eadba53b7 626eadba53b7 a3d247bb2e09 a3d247bb2e09 945973223a21 945973223a21 945973223a21 605cdbaf9717 626eadba53b7 626eadba53b7 2d0a09dc0e00 2d0a09dc0e00 2d0a09dc0e00 76ed37089b33 a3d247bb2e09 a3d247bb2e09 945973223a21 945973223a21 945973223a21 605cdbaf9717 6d38fef46832 941f4f372672 2d0a09dc0e00 2d0a09dc0e00 2d0a09dc0e00 467a66f3ec65 467a66f3ec65 3a02e5b774b2 3a02e5b774b2 5bc6b7fb4cb5 5bc6b7fb4cb5 5bc6b7fb4cb5 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.
command: "/usr/sbin/pam-auth-update --package"
- name: Restart SSH
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.
command: "/usr/sbin/update-ca-certificates --fresh"
- name: Restart ferm
service:
name: ferm
state: restarted
- name: Reload systemd
systemd:
daemon_reload: true
- name: Restart NTP server
service:
name: ntpsec
state: restarted
when: ntp_pools | length > 0
|