Merge "Check only role path for NetworkConfig"
This commit is contained in:
commit
a0582c33b3
@ -552,14 +552,10 @@ outputs:
|
||||
debug:
|
||||
msg: Use --start-at-task 'Network Configuration' to resume from this task
|
||||
- name: Check NetworkConfig script existence
|
||||
local_action:
|
||||
module: stat
|
||||
path: "{{ lookup('first_found', NetworkConfig_paths, errors='ignore') }}"
|
||||
delegate_to: localhost
|
||||
stat:
|
||||
path: "{{ tripleo_role_name ~ '/NetworkConfig' }}"
|
||||
register: NetworkConfig_stat
|
||||
vars:
|
||||
NetworkConfig_paths:
|
||||
- "{{ tripleo_role_name ~ '/' ~ inventory_hostname ~ '/NetworkConfig' }}"
|
||||
- "{{ tripleo_role_name ~ '/NetworkConfig' }}"
|
||||
- name: Run Network Config
|
||||
import_role:
|
||||
name: tripleo_network_config
|
||||
|
Loading…
x
Reference in New Issue
Block a user