Skip to content

Commit

Permalink
add var to enable single host install
Browse files Browse the repository at this point in the history
  • Loading branch information
bgraef committed Nov 12, 2024
1 parent d4ba719 commit b51656a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion olam/create_instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,9 @@
ansible.builtin.include_tasks: deploy-olam-tasks.yml
vars:
control_node_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
when: inventory_hostname == 'olam-node'
when:
- inventory_hostname == 'olam-node'
- olam_single_host

- name: Update all rpm packages
ansible.builtin.import_playbook: update_all_rpms.yml
Expand Down
3 changes: 2 additions & 1 deletion olam/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ block_volume_size_in_gbs: 50
block_count: 1

update_all: false
passwordless_ssh: true
passwordless_ssh: true
olam_single_host: false

0 comments on commit b51656a

Please sign in to comment.