Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds kustomization that adds edpm_bootstrap_command to the compute nodes #2652

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions hooks/playbooks/fetch_compute_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,21 @@
path: /spec/nodeTemplate/ansible/ansibleVars/edpm_sshd_allowed_ranges
value: ["0.0.0.0/0"]

- op: add
path: /spec/nodeTemplate/ansible/ansibleVars/edpm_bootstrap_command
value: |
# echo something random
echo ******************TESTING FIX FOR CIX587 **************************
# root CA
pushd /etc/pki/ca-trust/source/anchors/
curl -LOk {{ cifmw_install_ca_url }}
update-ca-trust
popd

# install rhos-release repos
dnf --nogpgcheck install -y {{ cifmw_repo_setup_rhos_release_rpm }}
rhos-release {{ cifmw_repo_setup_rhos_release_args }}

- name: Ensure we know about the private host keys
ansible.builtin.shell:
cmd: |
Expand Down