Skip to content

Commit

Permalink
fix issue with extra var
Browse files Browse the repository at this point in the history
  • Loading branch information
ramperher committed Aug 4, 2023
1 parent c2e1f3e commit 1270864
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions roles/monitor_agent_based_installer/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
generated_dir: "{{ repo_root_path }}/generated"
manifests_dir: "{{ generated_dir}}/{{ cluster_name }}"

agent_based_installer_bootstrap_node: "{{ groups['masters'][0] }}"
host_ip_keyword: ansible_host
1 change: 0 additions & 1 deletion roles/monitor_agent_based_installer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# Trying several times in case there are SSH connectivity issues
- name: Gather logs from installation
vars:
agent_based_installer_bootstrap_node: "{{ groups['masters'][0] }}"
rendezvous_ip_address: "{{ hostvars[agent_based_installer_bootstrap_node][host_ip_keyword] }}"
ansible.builtin.shell:
cmd: "{{ agent_based_installer_path }} --log-level=debug gather bootstrap --bootstrap {{ rendezvous_ip_address }}"
Expand Down

0 comments on commit 1270864

Please sign in to comment.