Skip to content

Commit

Permalink
Add back BM nodeset update packages in bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
rlandy authored and openshift-merge-bot[bot] committed Jan 4, 2024
1 parent acbb40b commit afaa083
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions roles/edpm_deploy_baremetal/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,20 @@
"path": "/spec/nodeTemplate/ansible/ansibleVars/edpm_container_registry_insecure_registries",
"value": [{{ content_provider_registry_ip }}:5001]}]'
- name: Patch OpenStackDataPlaneNodeSet resource to update bootstrap packages
when: not cifmw_edpm_deploy_baremetal_dry_run
environment:
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
PATH: "{{ cifmw_path }}"
ansible.builtin.command:
cmd: >-
oc patch openstackdataplanenodeset openstack-edpm-ipam
-n {{ cifmw_install_yamls_defaults['NAMESPACE'] }}
--type json
-p '[{"op": "add",
"path": "/spec/nodeTemplate/ansible/ansibleVars/edpm_bootstrap_command",
"value": "sudo dnf -y update"}]'
- name: Wait for OpenStackDataPlaneNodeSet to be Ready
when: not cifmw_edpm_deploy_baremetal_dry_run
environment:
Expand Down

0 comments on commit afaa083

Please sign in to comment.