diff --git a/group_vars/all.yml b/group_vars/all.yml index 12e16b8..e0d5775 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -18,6 +18,8 @@ controller_count: 3 #compute_count: 1 ceph_node_count: 0 set_boot_order: true +#specify undercloud host when using scaleout.yml +#undercloud_hostname: alias: #lab specific vars lab_url: "http://quads.alias.bos.scalelab.redhat.com" diff --git a/scaleout.yml b/scaleout.yml index 4a8731e..1c27b5b 100644 --- a/scaleout.yml +++ b/scaleout.yml @@ -1,22 +1,13 @@ --- - hosts: localhost tasks: - - name: load instackenv - include_tasks: tasks/load_instackenv.yml - - - name: get intrepeter - include_tasks: tasks/get_interpreter.yml - vars: - hostname: "{{ undercloud_hostname }}" - user: "stack" - + #Make sure public key of ansible controller node is copied on to undercloud host - name: add undercloud add_host: name: "undercloud" ansible_host: "{{ undercloud_hostname }}" ansible_user: "stack" - ansible_python_interpreter: "{{ python_interpreter }}" - + ansible_connection: "ssh" - hosts: undercloud vars: