mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
make this work with --check
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
- name: update selinux context for postgress db dir if it's wrong
|
||||
command: "restorecon -vvRF /var/lib/pgsql"
|
||||
when: "'postgresql_db_t' not in pgsql_ls.stdout "
|
||||
when: pgsql_ls.stdout is defined and 'postgresql_db_t' not in pgsql_ls.stdout
|
||||
|
||||
- name: install pkgs for copr-frontend
|
||||
action: yum state=present pkg={{ item }}
|
||||
|
||||
Reference in New Issue
Block a user