diff --git a/tasks/create_target_vm/03_hosted_engine_final_tasks.yml b/tasks/create_target_vm/03_hosted_engine_final_tasks.yml index e0edb2a..425d20c 100644 --- a/tasks/create_target_vm/03_hosted_engine_final_tasks.yml +++ b/tasks/create_target_vm/03_hosted_engine_final_tasks.yml @@ -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"} @@ -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/}