mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
postgres modules: fix CI timeouts (#628)
This commit is contained in:
parent
c5f0c34190
commit
17f905eb35
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
||||||
service:
|
service:
|
||||||
name: "{{ postgresql_service }}"
|
name: "{{ postgresql_service }}"
|
||||||
state: stopped
|
state: stopped
|
||||||
|
when: (ansible_facts.distribution_major_version != '8' and ansible_facts.distribution == 'CentOS') or ansible_facts.distribution != 'CentOS'
|
||||||
|
|
||||||
- name: postgresql_slot - pause between stop and start PostgreSQL
|
- name: postgresql_slot - pause between stop and start PostgreSQL
|
||||||
pause:
|
pause:
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
service:
|
service:
|
||||||
name: "{{ postgresql_service }}"
|
name: "{{ postgresql_service }}"
|
||||||
state: stopped
|
state: stopped
|
||||||
|
when: (ansible_facts.distribution_major_version != '8' and ansible_facts.distribution == 'CentOS') or ansible_facts.distribution != 'CentOS'
|
||||||
|
|
||||||
- name: Pause between stop and start PosgreSQL
|
- name: Pause between stop and start PosgreSQL
|
||||||
pause:
|
pause:
|
||||||
|
|
Loading…
Reference in a new issue