Skip to content

Commit

Permalink
better handle pull_secret
Browse files Browse the repository at this point in the history
  • Loading branch information
hgeaydem committed Oct 21, 2021
1 parent b5166f4 commit 537aab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/deploy_cluster_sno_iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
path: /root/lab/install-config.yaml
regexp: '^pullSecret: '
insertafter: '^#pullSecret: '
line: "pullSecret: '{{ pull_secret }}'"
line: "pullSecret: {{pull_secret | to_json | to_json if pull_secret is mapping else pull_secret | to_json }}"

- name: Copy lab install-config to SNO install directory
ansible.builtin.copy:
Expand Down

0 comments on commit 537aab1

Please sign in to comment.