chore!: separated galaxy deps and own collections; modified ansible script generation to use two paths for collections
REQUIRES REGENERATING ansible.cfg!
This commit is contained in:
parent
4af69c31ce
commit
888590ed9f
188 changed files with 30 additions and 30 deletions
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
- name: restart firewall service
|
||||
become: true
|
||||
ansible.builtin.systemd_service:
|
||||
name: nftables.service
|
||||
enabled: true
|
||||
state: restarted
|
||||
|
||||
- name: reload nginx service
|
||||
become: true
|
||||
ansible.builtin.systemd_service:
|
||||
name: nginx.service
|
||||
enabled: true
|
||||
state: reloaded
|
||||
|
||||
- name: check configuration is valid
|
||||
become: true
|
||||
ansible.builtin.command: /usr/sbin/nginx -t -q
|
||||
changed_when: false
|
||||
listen: 'nginx : restart nginx service'
|
||||
|
||||
- name: restart service
|
||||
become: true
|
||||
ansible.builtin.systemd_service:
|
||||
name: nginx.service
|
||||
enabled: true
|
||||
state: restarted
|
||||
listen: 'nginx : restart nginx service'
|
Loading…
Add table
Add a link
Reference in a new issue