Merge "Specify hostname for standalone"

This commit is contained in:
Zuul 2019-02-06 11:46:08 +00:00 committed by Gerrit Code Review
commit 5473d9441f
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: