Change access permission of files in /etc/os-net-config
Some of these files are used for validations on the undercloud,
that are run as non-root user without sudo.
Change-Id: I15f9cc771c754c257b795263b8d6c3e0d19fd46c
Closes-Bug: #1970437
(cherry picked from commit f06bc84cc0
)
This commit is contained in:
parent
1fbbf40615
commit
41aeb2371b
@ -80,6 +80,7 @@
|
||||
copy:
|
||||
content: "{{ os_net_config_mappings_result.mapping | to_nice_yaml }}"
|
||||
dest: /etc/os-net-config/mapping.yaml
|
||||
mode: 0644
|
||||
when: os_net_config_mappings_result.changed|bool
|
||||
|
||||
- name: Manage NetworkConfig with tripleo_os_net_config module
|
||||
|
@ -30,7 +30,7 @@
|
||||
copy:
|
||||
content: "{{tripleo_network_config_override | to_yaml}}"
|
||||
dest: "{{ nic_config_file }}"
|
||||
mode: 0600
|
||||
mode: 0644
|
||||
backup: true
|
||||
when:
|
||||
- tripleo_network_config_override.keys()|length > 0
|
||||
@ -39,7 +39,7 @@
|
||||
template:
|
||||
src: "{{ tripleo_network_config_script_path }}"
|
||||
dest: "{{ nic_config_file }}"
|
||||
mode: 0600
|
||||
mode: 0644
|
||||
backup: true
|
||||
when:
|
||||
- not tripleo_network_config_with_ansible|bool
|
||||
@ -49,7 +49,7 @@
|
||||
template:
|
||||
src: "{{ tripleo_network_config_template }}"
|
||||
dest: "{{ nic_config_file }}"
|
||||
mode: 0600
|
||||
mode: 0644
|
||||
backup: true
|
||||
when:
|
||||
- tripleo_network_config_with_ansible|bool
|
||||
|
Loading…
Reference in New Issue
Block a user