[GIT] refactor submodules: add all to own repo
This commit is contained in:
commit
be2b9bf3c0
27 changed files with 3311 additions and 0 deletions
41
handlers/main.yml
Normal file
41
handlers/main.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
# handlers file for server
|
||||
|
||||
- name: Restart sshd
|
||||
service:
|
||||
name: ssh
|
||||
state: restarted
|
||||
|
||||
|
||||
- name: Enable telegraf
|
||||
service:
|
||||
name: telegraf
|
||||
enabled: yes
|
||||
|
||||
- name: Restart telegraf
|
||||
service:
|
||||
name: telegraf
|
||||
state: restarted
|
||||
|
||||
- name: Enable and restart telegraf
|
||||
service:
|
||||
name: telegraf
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
|
||||
- name: Enable caddy
|
||||
service:
|
||||
name: caddy
|
||||
enabled: yes
|
||||
|
||||
- name: Restart caddy
|
||||
service:
|
||||
name: caddy
|
||||
state: restarted
|
||||
|
||||
- name: Enable and restart caddy
|
||||
service:
|
||||
name: caddy
|
||||
state: restarted
|
||||
enabled: yes
|
Loading…
Add table
Add a link
Reference in a new issue