Skip to content

Commit b0f2932

Browse files
committed
Debug Groups variable.
1 parent c8ac249 commit b0f2932

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

multinode-app.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@
2525

2626
- hosts: localhost
2727
tasks:
28-
- block:
28+
# - block:
2929
# Install the ansible requirements
30-
- name: Install ansible requirements
31-
command: ansible-galaxy install -r ansible/requirements.yml
30+
# - name: Install ansible requirements
31+
# command: ansible-galaxy install -r ansible/requirements.yml
3232

33-
# Import the playbook to start configuring the multi-node hosts.
34-
# - name: Configure hosts and deploy ansible
35-
# import_playbook: ansible/configure-hosts.yml
33+
# Import the playbook to start configuring the multi-node hosts.
34+
#- name: Configure hosts and deploy ansible
35+
# import_playbook: ansible/configure-hosts.yml
3636

37-
- debug: var=outputs
38-
vars:
39-
outputs:
40-
cluster_access_ip: "{{ hostvars[groups['openstack'][0]].cluster_gateway_ip }}"
37+
# - debug: var=outputs
38+
# vars:
39+
# outputs:
40+
# cluster_access_ip: "{{ hostvars[groups['openstack'][0]].cluster_gateway_ip }}"
4141

42-
- name: Show Playbook Directory
42+
- name: Debug groups
4343
debug:
44-
msg: "{{ playbook_dir }}"
45-
when: cluster_state != "absent"
44+
msg: "{{ groups | to_yaml }}"
45+
# when: cluster_state != "absent"

0 commit comments

Comments
 (0)