feat(role): Initial commit
This commit is contained in:
10
handlers/main.yml
Normal file
10
handlers/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
- name: 'Reboot machine'
|
||||
ansible.builtin.reboot:
|
||||
test_command: 'qm list'
|
||||
|
||||
- name: 'Restart fancontrol.service'
|
||||
ansible.builtin.service:
|
||||
name: 'fancontrol.service'
|
||||
state: 'restarted'
|
||||
enabled: true
|
Reference in New Issue
Block a user