Skip to content

Commit d4ba719

Browse files
authored
Merge pull request #40 from bgraef/main
merge olam install
2 parents dac4bee + 2627d59 commit d4ba719

File tree

6 files changed

+38
-402
lines changed

6 files changed

+38
-402
lines changed

olam/create_instance.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263

264264
- name: Configure new instances
265265
hosts: all
266+
become: true
266267
gather_facts: false
267268
vars_files:
268269
- default_vars.yml
@@ -309,6 +310,12 @@
309310
ansible.builtin.include_tasks: "olam_passwordless_setup.yml"
310311
when: passwordless_ssh
311312

313+
- name: Install Oracle Linux Automation Manager
314+
ansible.builtin.include_tasks: deploy-olam-tasks.yml
315+
vars:
316+
control_node_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
317+
when: inventory_hostname == 'olam-node'
318+
312319
- name: Update all rpm packages
313320
ansible.builtin.import_playbook: update_all_rpms.yml
314321
when: update_all

0 commit comments

Comments
 (0)