We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1401c14 + 22c8365 commit 2f317a6Copy full SHA for 2f317a6
1 file changed
tests/roles/dataplane_adoption/tasks/main.yaml
@@ -647,6 +647,22 @@
647
done
648
when: edpm_neutron_dhcp_agent_enabled|bool
649
650
+- name: enable neutron-dhcp in the OpenStackDataPlaneNodeSet CR Networker
651
+ no_log: "{{ use_no_log }}"
652
+ ansible.builtin.shell: |
653
+ {{ shell_header }}
654
+ {{ oc_header }}
655
+
656
+ oc patch openstackdataplanenodeset openstack-networker --type='json' --patch='[
657
+ {
658
+ "op": "add",
659
+ "path": "/spec/services/-",
660
+ "value": "neutron-dhcp"
661
+ }]'
662
+ when:
663
+ - edpm_networker_neutron_dhcp_agent_enabled | default(false) | bool
664
+ - edpm_nodes_networker is defined
665
666
- name: Run the pre-adoption validation
667
when: run_pre_adoption_validation|bool
668
block:
0 commit comments