Actually find the script file
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
f710f4102a
commit
7bbc061b41
1 changed files with 3 additions and 1 deletions
|
@ -17,9 +17,10 @@
|
|||
|
||||
- name: Copy the script to the host
|
||||
copy:
|
||||
src: scripts/fix-home-fedora-ownerships.sh
|
||||
src: "{{ files }}/scripts/fix-home-fedora-ownerships.sh"
|
||||
dest: /usr/local/sbin/fix-home-fedora-ownerships.sh
|
||||
mode: 0755
|
||||
changed_when: false
|
||||
when: home_fedora_res.stat.isdir
|
||||
|
||||
- name: Fix ownership of home directories in /home/fedora
|
||||
|
@ -35,4 +36,5 @@
|
|||
file:
|
||||
path: /usr/local/sbin/fix-home-fedora-ownerships.sh
|
||||
state: absent
|
||||
changed_when: false
|
||||
when: home_fedora_res.stat.isdir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue