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:
Alex Schultz 2019-02-04 17:14:35 -07:00
parent eff3808538
commit fc07a26317
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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: ''

View File

@ -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: