pre-install: use path and drop dest
We have a few checks that depend on the value of path and dest is an alias of path anyways so we should just always use path instead. Change-Id: I38ed2b120ece1268ccfe519c94bda038571a99b7
This commit is contained in:
parent
e72835e5ac
commit
bbbbd94101
|
@ -84,9 +84,8 @@
|
|||
|
||||
- name: Create nova dir
|
||||
file:
|
||||
path: "{{ item.path | default(omit) }}"
|
||||
path: "{{ item.path }}"
|
||||
src: "{{ item.src | default(omit) }}"
|
||||
dest: "{{ item.dest | default(omit) }}"
|
||||
state: "{{ item.state | default('directory') }}"
|
||||
owner: "{{ item.owner|default(nova_system_user_name) }}"
|
||||
group: "{{ item.group|default(nova_system_group_name) }}"
|
||||
|
@ -104,7 +103,7 @@
|
|||
# NOTE(cloudnull): The "src" path is relative. This ensures all files remain
|
||||
# within the host/container confines when connecting to
|
||||
# them using the connection plugin or the root filesystem.
|
||||
- dest: "/etc/nova"
|
||||
- path: "/etc/nova"
|
||||
src: "{{ nova_bin | dirname | regex_replace('^/', '../') }}/etc/nova"
|
||||
state: link
|
||||
force: true
|
||||
|
|
Loading…
Reference in New Issue