mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 02:50:15 +08:00
Actually find the script file
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user