Set mode for copy operation
We need to set mode for copy operation otherwise ansible-2.9.12 can lead to too restrictive default permissions[1]. Setting mode for copy operations handles the warning. [1.] https://github.com/ansible/ansible/issues/67794 Change-Id: Ieae36a1d85a7da84ee2cd982a20dcabe9e65511f Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
parent
0546a91d6a
commit
3e590ab572
|
@ -158,6 +158,7 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
dest: "{{ tempest_test_whitelist_file_path }}"
|
||||
mode: "0644"
|
||||
when:
|
||||
- tempest_test_whitelist | length > 0
|
||||
|
||||
|
@ -174,5 +175,6 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
dest: "{{ tempest_test_blacklist_file_path }}"
|
||||
mode: "0644"
|
||||
when:
|
||||
- tempest_test_blacklist | length > 0
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
copy:
|
||||
content: "{{ tempest_tempestconf_profile | combine(tempest_tempestconf_profile_extras) | to_nice_yaml }}"
|
||||
dest: "{{ tempest_workspace }}/etc/profile.yaml"
|
||||
mode: "0644"
|
||||
|
||||
- name: Executing python-tempestconf
|
||||
shell: |
|
||||
|
|
Loading…
Reference in New Issue