Skip to content

Commit fa6fffc

Browse files
committed
Change to import playbook.
1 parent 8dc1d58 commit fa6fffc

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

multinode-app.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,12 @@
3030
- name: Install ansible requirements
3131
command: ansible-galaxy install -r ansible/requirements.yml
3232

33-
- name: Deploy ansible playbook manually
34-
command: ansible-playbook -i ansible/inventory.yml ansible/configure-hosts.yml
35-
vars:
36-
terraform_binary_directory: "{{ playbook_dir }}/../bin"
37-
terraform_binary_path: "{{ terraform_binary_directory }}/../terraform"
38-
terraform_project_path: "{{ playbook_dir }}"
39-
40-
# Import the playbook to start configuring the multi-node hosts.
41-
#- name: Configure hosts and deploy ansible
42-
# import_playbook: ansible/configure-hosts.yml
33+
# - name: Deploy ansible playbook manually
34+
# command: ansible-playbook -i ansible/inventory.yml ansible/configure-hosts.yml
35+
# vars:
36+
# terraform_binary_directory: "{{ playbook_dir }}/../bin"
37+
# terraform_binary_path: "{{ terraform_binary_directory }}/../terraform"
38+
# terraform_project_path: "{{ playbook_dir }}"
4339

4440
# - debug: var=outputs
4541
# vars:
@@ -51,6 +47,11 @@
5147
msg: "{{ groups | to_yaml }}"
5248
# when: cluster_state != "absent"
5349

50+
# Import the playbook to start configuring the multi-node hosts.
51+
- name: Configure hosts and deploy ansible
52+
import_playbook: ansible/configure-hosts.yml
53+
54+
5455
# - hosts: multinode_ansible_control
5556
# tasks:
5657
# - name: Test hostname

0 commit comments

Comments
 (0)