mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
[PR #5996/24efe9ee backport][stable-6] Normalize bools in tests (#5997)
Normalize bools in tests (#5996)
* Normalize bools in tests.
* Fix typo.
(cherry picked from commit 24efe9ee9a)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
|
||||
- name: Kill all postgres processes
|
||||
shell: 'pkill -u {{ pg_user }}'
|
||||
become: yes
|
||||
become: true
|
||||
when: ansible_facts.distribution == 'CentOS' and ansible_facts.distribution_major_version == '8'
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: stop postgresql service
|
||||
service: name={{ postgresql_service }} state=stopped
|
||||
@@ -202,9 +202,9 @@
|
||||
|
||||
- name: Kill all postgres processes
|
||||
shell: 'pkill -u {{ pg_user }}'
|
||||
become: yes
|
||||
become: true
|
||||
when: ansible_facts.distribution == 'CentOS' and ansible_facts.distribution_major_version == '8'
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: terminate
|
||||
|
||||
- name: Stop postgresql service
|
||||
|
||||
Reference in New Issue
Block a user