Skip to content

Commit

Permalink
add deploy olam tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
bgraef committed Nov 8, 2024
1 parent dac4bee commit a72c05b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions olam/create_instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,12 @@
ansible.builtin.include_tasks: "olam_passwordless_setup.yml"
when: passwordless_ssh

- name: Install Oracle Linux Automation Manager
ansible.builtin.include_tasks: deploy-olam-tasks.yaml
vars:
control_node_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
when: inventory_hostname == 'olam-node'

- name: Update all rpm packages
ansible.builtin.import_playbook: update_all_rpms.yml
when: update_all
Expand Down
2 changes: 1 addition & 1 deletion olam/default_vars.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
compute_instances:
1:
instance_name: "olam"
instance_name: "olam-node"
type: "control"
boot_volume_size_in_gbs: 50
os: "Oracle Linux"
Expand Down
8 changes: 4 additions & 4 deletions olam/get_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

- name: Get minimum set of available facts
ansible.builtin.setup:
gather_subset:
- 'min'
gather_subset:
- 'min'
register: min_facts

- name: Print minimum set of facts
ansible.builtin.debug:
msg: "{{ min_facts }}"
msg: "{{ min_facts }}"

- name: Print system date
ansible.builtin.debug:
var: ansible_date_time.date
var: ansible_date_time.date

0 comments on commit a72c05b

Please sign in to comment.