mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Support skip_role_on_error in 23+2 more roles (Stages 6-9)
This commit is contained in:
parent
83ea6ce852
commit
8749e66a0b
33 changed files with 914 additions and 743 deletions
14
roles/postgresql/tasks/enable-or-disable.yml
Normal file
14
roles/postgresql/tasks/enable-or-disable.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
- name: Enable & Start 'postgresql-iiab' systemd service, if postgresql_enabled
|
||||
systemd:
|
||||
name: postgresql-iiab
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
state: started
|
||||
when: postgresql_enabled
|
||||
|
||||
- name: Disable & Stop 'postgresql-iiab' systemd service, if not postgresql_enabled
|
||||
systemd:
|
||||
name: postgresql-iiab
|
||||
enabled: no
|
||||
state: stopped
|
||||
when: not postgresql_enabled
|
||||
Loading…
Add table
Add a link
Reference in a new issue