From 0af685a51168c14f55cd61258418c0b6e7c93a57 Mon Sep 17 00:00:00 2001 From: Chandan Abhyankar Date: Thu, 14 Dec 2023 23:37:14 -0800 Subject: [PATCH] OCTOPUS-558: syntax error is resolved for ignition.yml Signed-off-by: Chandan Abhyankar --- ansible/support/tasks/ignition.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/support/tasks/ignition.yml b/ansible/support/tasks/ignition.yml index 2963148..d45c684 100644 --- a/ansible/support/tasks/ignition.yml +++ b/ansible/support/tasks/ignition.yml @@ -4,7 +4,7 @@ tasks: - name: Assemble the MachineConfig url shell: | - oc config view -ojson | jq -r '.clusters[].cluster.server' | sed 's|/api\.|/api-int.|' | sed 's|:6443||' | + oc config view -ojson | jq -r '.clusters[].cluster.server' | sed 's|/api\.|/api-int.|' | sed 's|:6443||' register: openshift_machine_config_hostname - name: Print the MachineConfig Hostname @@ -48,4 +48,4 @@ mode: u+rwx,g-rx,o-rx - name: Best effort SELinux repair - Apache - shell: "restorecon -vR /var/www/html/ignition || true" \ No newline at end of file + shell: "restorecon -vR /var/www/html/ignition || true"