Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Set file permissions
Browse files Browse the repository at this point in the history
Ansible changed the default file permissions to 600.
Adding `mode` to set the correct file permissions.

Bug-Url: https://bugzilla.redhat.com/1868571
Signed-off-by: Asaf Rachmani <[email protected]>
  • Loading branch information
arachmani committed Aug 24, 2020
1 parent afef60e commit 3473f48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/create_target_vm/03_hosted_engine_final_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0644
with_items:
- {src: templates/vm.conf.j2, dest: "{{ he_local_vm_dir }}/vm.conf"}
- {src: templates/broker.conf.j2, dest: "{{ he_local_vm_dir }}/broker.conf"}
Expand All @@ -148,6 +149,7 @@
remote_src: true
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0644
with_items:
- {src: "{{ he_local_vm_dir }}/vm.conf", dest: /var/run/ovirt-hosted-engine-ha}
- {src: "{{ he_local_vm_dir }}/hosted-engine.conf", dest: /etc/ovirt-hosted-engine/}
Expand Down

0 comments on commit 3473f48

Please sign in to comment.