|
@@ -41,6 +41,9 @@
|
|
iso_file_path | length < 1 or
|
|
iso_file_path | length < 1 or
|
|
dhcp_start_ip_range | length < 1 or
|
|
dhcp_start_ip_range | length < 1 or
|
|
dhcp_end_ip_range | length < 1 or
|
|
dhcp_end_ip_range | length < 1 or
|
|
|
|
+ dhcp_gateway | length < 1 or
|
|
|
|
+ dhcp_dns1 | length < 1 or
|
|
|
|
+ dhcp_dns2 | length < 1 or
|
|
timezone | length < 1
|
|
timezone | length < 1
|
|
|
|
|
|
- name: Save input variables from file
|
|
- name: Save input variables from file
|
|
@@ -50,6 +53,9 @@
|
|
nic: "{{ hpc_nic }}"
|
|
nic: "{{ hpc_nic }}"
|
|
internet_nic: "{{ public_nic }}"
|
|
internet_nic: "{{ public_nic }}"
|
|
path_for_iso_file: "{{ iso_file_path }}"
|
|
path_for_iso_file: "{{ iso_file_path }}"
|
|
|
|
+ dhcp_gateway: "{{ dhcp_gateway | ipv4 }}"
|
|
|
|
+ dhcp_dns1: "{{ dhcp_dns1 | ipv4 }}"
|
|
|
|
+ dhcp_dns2: "{{ dhcp_dns2 | ipv4 }}"
|
|
dhcp_start_ip: "{{ dhcp_start_ip_range | ipv4 }}"
|
|
dhcp_start_ip: "{{ dhcp_start_ip_range | ipv4 }}"
|
|
dhcp_end_ip: "{{ dhcp_end_ip_range | ipv4 }}"
|
|
dhcp_end_ip: "{{ dhcp_end_ip_range | ipv4 }}"
|
|
mapping_file: false
|
|
mapping_file: false
|
|
@@ -348,4 +354,4 @@
|
|
command: >-
|
|
command: >-
|
|
ansible-vault encrypt {{ role_path }}/../../../{{ config_filename }}
|
|
ansible-vault encrypt {{ role_path }}/../../../{{ config_filename }}
|
|
--vault-password-file {{ role_path }}/../../../{{ config_vaultname }}
|
|
--vault-password-file {{ role_path }}/../../../{{ config_vaultname }}
|
|
- changed_when: false
|
|
|
|
|
|
+ changed_when: false
|