Skip to content

Commit

Permalink
Merge pull request #647 from steveb/edpm_cleanup
Browse files Browse the repository at this point in the history
Split edpm_baremetal into 2 tasks
  • Loading branch information
openshift-ci[bot] authored Oct 10, 2023
2 parents 909cfb2 + 5f50788 commit d071087
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions ci_framework/roles/edpm_deploy_baremetal/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,23 @@
ansible.builtin.include_role:
name: set_openstack_containers

- name: Install Dataplane with baremetal
- name: Create virtual baremetal
vars:
make_edpm_baremetal_env: "{{ cifmw_edpm_deploy_baremetal_common_env |
make_edpm_baremetal_compute_env: "{{ cifmw_edpm_deploy_baremetal_common_env |
combine(cifmw_edpm_deploy_baremetal_make_openstack_env | from_yaml)}}"
make_edpm_baremetal_dryrun: "{{ cifmw_edpm_deploy_baremetal_dry_run }}"
make_edpm_baremetal_compute_dryrun: "{{ cifmw_edpm_deploy_baremetal_dry_run }}"
ansible.builtin.include_role:
name: 'install_yamls_makes'
tasks_from: 'make_edpm_baremetal'
tasks_from: 'make_edpm_baremetal_compute'

- name: Deploy EDPM with baremetal
vars:
make_edpm_deploy_baremetal_env: "{{ cifmw_edpm_deploy_baremetal_common_env |
combine(cifmw_edpm_deploy_baremetal_make_openstack_env | from_yaml)}}"
make_edpm_deploy_baremetal_dryrun: "{{ cifmw_edpm_deploy_baremetal_dry_run }}"
ansible.builtin.include_role:
name: 'install_yamls_makes'
tasks_from: 'make_edpm_deploy_baremetal'

- name: Wait for Ironic to be ready
when: not cifmw_edpm_deploy_baremetal_dry_run
Expand Down

0 comments on commit d071087

Please sign in to comment.