28 lines
477 B
YAML
28 lines
477 B
YAML
---
|
|
|
|
- name: reload sshd
|
|
service:
|
|
name: sshd
|
|
state: reloaded
|
|
|
|
- name: systemctl daemon reload
|
|
command: systemctl daemon-reload
|
|
|
|
- name: restart systemd-timesyncd
|
|
service:
|
|
name: systemd-timesyncd
|
|
state: restarted
|
|
|
|
- name: run reboot_required.py
|
|
command: /usr/local/bin/reboot_required.py
|
|
|
|
- name: locale-gen
|
|
command: locale-gen
|
|
|
|
- name: reload nginx
|
|
service:
|
|
name: nginx
|
|
state: reloaded
|
|
ignore_errors: true
|
|
when: "'nginx' in group_names"
|