Skip to content

Commit

Permalink
update inventory tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshP524 committed Jul 19, 2023
1 parent a17a03b commit 0221e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 2 additions & 0 deletions group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
13 changes: 2 additions & 11 deletions scaleout.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 0221e7f

Please sign in to comment.