mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
copr: 'ls' command is not changing anything
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
713172ff95
commit
b74c892623
@@ -1,8 +1,10 @@
|
||||
---
|
||||
- import_tasks: "mount_fs.yml"
|
||||
|
||||
- command: "ls -dZ /var/lib/pgsql"
|
||||
- name: register security context for pgsql directory
|
||||
command: "ls -dZ /var/lib/pgsql"
|
||||
register: pgsql_ls
|
||||
changed_when: False # `ls' command is not changing anything
|
||||
|
||||
- name: update selinux context for postgress db dir if it's wrong
|
||||
command: "restorecon -vvRF /var/lib/pgsql"
|
||||
|
||||
Reference in New Issue
Block a user