Remove hardcode /etc/kolla path
Leaved vagrant and documentation harcoded /etc/kolla paths due the nature of the files. Change-Id: Id316980d3d4e8f3de98672d7ed258e0652ed7213 Closes-Bug: #1659771
This commit is contained in:
parent
37f29452b7
commit
e50d5cbf4f
@ -116,9 +116,9 @@
|
||||
become: True
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Ensure /etc/kolla directory exists
|
||||
- name: Ensure node_config_directory directory exists
|
||||
file:
|
||||
path: /etc/kolla
|
||||
path: "{{ node_config_directory }}"
|
||||
state: directory
|
||||
recurse: yes
|
||||
owner: kolla
|
||||
@ -127,9 +127,9 @@
|
||||
become: True
|
||||
when: create_kolla_user | bool
|
||||
|
||||
- name: Ensure /etc/kolla directory exists
|
||||
- name: Ensure node_config_directory directory exists
|
||||
file:
|
||||
path: /etc/kolla
|
||||
path: "{{ node_config_directory }}"
|
||||
state: directory
|
||||
recurse: yes
|
||||
mode: 0666
|
||||
|
@ -182,7 +182,7 @@
|
||||
service_name: "{{ item }}"
|
||||
sources:
|
||||
- "{{ role_path }}/templates/vpnaas_agent.ini.j2"
|
||||
- "/etc/kolla/config/neutron/vpnaas_agent.ini"
|
||||
- "{{ node_custom_config }}/neutron/vpnaas_agent.ini"
|
||||
dest: "{{ node_config_directory }}/{{ item }}/vpnaas_agent.ini"
|
||||
with_items:
|
||||
- "neutron-vpnaas-agent"
|
||||
|
Loading…
Reference in New Issue
Block a user