From 154f97555a158fe96acb13cec363a8d753520ad9 Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Wed, 8 Feb 2023 16:21:53 +0900 Subject: [PATCH] fas2discourse: Deploy operator task Signed-off-by: David Kirwan --- .../tasks/deploy-fas2discourse-operator.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/fas2discourse/tasks/deploy-fas2discourse-operator.yml b/roles/fas2discourse/tasks/deploy-fas2discourse-operator.yml index cd21505a47..59ec60b828 100644 --- a/roles/fas2discourse/tasks/deploy-fas2discourse-operator.yml +++ b/roles/fas2discourse/tasks/deploy-fas2discourse-operator.yml @@ -1,2 +1,17 @@ --- +- name: Git checkout the fas2discourse operator codebase + ansible.builtin.git: + repo: 'https://pagure.io/cpe/fas2discourse.git' + dest: "/root/ocp4/openshift-apps/fas2discourse-operator/fas2discourse-operator/" + version: "main" + +- name: Run 'make install' on the fas2discourse operator + make: + chdir: "/root/ocp4/openshift-apps/fas2discourse-operator/fas2discourse-operator/" + target: "install" + +- name: Run 'make deploy' on the fas2discourse operator + make: + chdir: "/root/ocp4/openshift-apps/fas2discourse-operator/fas2discourse-operator/" + target: "deploy"