From ae94504da637fdd61d96d37e1f6afa7028f93da2 Mon Sep 17 00:00:00 2001 From: William Graef Date: Thu, 21 Nov 2024 17:19:47 -0500 Subject: [PATCH 1/3] add steps to install olae on control node --- olam/create_instance.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/olam/create_instance.yml b/olam/create_instance.yml index ee922b0..9ccf6c2 100644 --- a/olam/create_instance.yml +++ b/olam/create_instance.yml @@ -310,6 +310,13 @@ ansible.builtin.include_tasks: "olam_passwordless_setup.yml" when: passwordless_ssh + - name: Install Oracle Linux Automation Engine + ansible.builtin.dnf: + name: + - ansible-core + state: present + when: inventory_hostname in groups['control'] + - name: Install Oracle Linux Automation Manager ansible.builtin.include_tasks: deploy-olam-tasks.yml vars: From 9d622f3e4dad109a7ba220ce669f202009801353 Mon Sep 17 00:00:00 2001 From: William Graef Date: Thu, 21 Nov 2024 17:45:02 -0500 Subject: [PATCH 2/3] add flag for olae install --- olam/create_instance.yml | 4 +++- olam/default_vars.yml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/olam/create_instance.yml b/olam/create_instance.yml index 9ccf6c2..49a06e4 100644 --- a/olam/create_instance.yml +++ b/olam/create_instance.yml @@ -315,7 +315,9 @@ name: - ansible-core state: present - when: inventory_hostname in groups['control'] + when: + - inventory_hostname in groups['control'] + - use_olae_only - name: Install Oracle Linux Automation Manager ansible.builtin.include_tasks: deploy-olam-tasks.yml diff --git a/olam/default_vars.yml b/olam/default_vars.yml index 8793fcc..83a2e6e 100644 --- a/olam/default_vars.yml +++ b/olam/default_vars.yml @@ -20,4 +20,5 @@ block_count: 1 update_all: false passwordless_ssh: true -olam_single_host: false \ No newline at end of file +olam_single_host: false +use_olae_only: false \ No newline at end of file From 91274a909774bda6d9881b6c49e712b126038827 Mon Sep 17 00:00:00 2001 From: William Graef Date: Thu, 21 Nov 2024 17:45:51 -0500 Subject: [PATCH 3/3] lint fix --- olam/create_instance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olam/create_instance.yml b/olam/create_instance.yml index 49a06e4..bce660a 100644 --- a/olam/create_instance.yml +++ b/olam/create_instance.yml @@ -315,7 +315,7 @@ name: - ansible-core state: present - when: + when: - inventory_hostname in groups['control'] - use_olae_only