Skip to content

Commit

Permalink
update olam install tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
bgraef committed Nov 12, 2024
1 parent b51656a commit 558d25b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions olam/create_instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@
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 in groups['control']
- olam_single_host

- name: Update all rpm packages
Expand Down
6 changes: 3 additions & 3 deletions olam/olam_passwordless_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
become_user: "{{ username }}"
register: result
changed_when: result.rc == 0
when:
- "'remote' in groups"
- inventory_hostname in groups['control']
when:
- "'remote' in groups"
- inventory_hostname in groups['control']

0 comments on commit 558d25b

Please sign in to comment.