Specify hostname for standalone
The standalone must have a fully qualified hostname configured as it can have issues when deploying with pacemaker managed services. Change-Id: If7ae3f575238e69bfc8858dd968cf3c69af512ca Related-Bug: #1814564
This commit is contained in:
parent
eff3808538
commit
fc07a26317
|
@ -17,6 +17,7 @@ Role Variables
|
|||
- standalone_network_prefix: <'24'> -- The subnet size for the standalone deployment network
|
||||
- standalone_ip: <'192.168.24.1'> -- The IP address of the standalone deployment
|
||||
- standalone_interface: <'br-ex'> -- The interface for the standalone deployment
|
||||
- standalone_hostname: <'standalone.localdomain'> -- FQDN to use for the system being deployed. Must be a fully qualified hostname with the domain.
|
||||
|
||||
- standalone_container_prep_options: <''> -- additional parameters for the container prep command
|
||||
- standalone_container_prep_script: <'standalone-container-prep.sh.j2'> -- The script name use to perform container prep actions
|
||||
|
|
|
@ -4,6 +4,7 @@ standalone_network: 192.168.24
|
|||
standalone_network_prefix: 24
|
||||
standalone_ip: 192.168.24.1
|
||||
standalone_interface: br-ex
|
||||
standalone_hostname: standalone.localdomain
|
||||
|
||||
# container prep script
|
||||
standalone_container_prep_options: ''
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
|
||||
# tasks file for all_in_one
|
||||
|
||||
- name: Set hostname
|
||||
hostname:
|
||||
name: "{{ standalone_hostname }}"
|
||||
become: true
|
||||
|
||||
# standalone params
|
||||
- name: Create the standalone params
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue