Skip to content

Commit

Permalink
OCTOPUS-558: syntax error is resolved for ignition.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Chandan Abhyankar <chandan.abhyankar@gmail.com>
  • Loading branch information
Chandan-Abhyankar committed Dec 15, 2023
1 parent ed5281d commit 0af685a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/support/tasks/ignition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
shell: "restorecon -vR /var/www/html/ignition || true"

0 comments on commit 0af685a

Please sign in to comment.