File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- - name : Bootstrap step
3- ansible.builtin.import_playbook : >-
4- {{
5- [
6- ansible_user_dir,
7- zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir,
8- 'playbooks',
9- '01-bootstrap.yml'
10- ] | ansible.builtin.path_join
11- }}
2+ - name : Bootstrap playbook
3+ hosts : " {{ cifmw_target_host | default('localhost') }}"
4+ gather_facts : true
5+ tasks :
6+ - name : Run bootstrap
7+ ansible.builtin.import_role :
8+ name : cifmw_setup
9+ tasks_from : bootstrap.yml
1210
1311- name : " Run ci/playbooks/content_provider/content_provider.yml"
1412 hosts : " {{ cifmw_target_host | default('localhost') }}"
Original file line number Diff line number Diff line change 11---
2- - name : Boostrap node
3- ansible.builtin.import_playbook : >-
4- {{
5- [
6- ansible_user_dir,
7- zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir,
8- 'playbooks',
9- '01-bootstrap.yml'
10- ] | ansible.builtin.path_join
11- }}
2+ - name : Bootstrap playbook
3+ hosts : " {{ cifmw_target_host | default('localhost') }}"
4+ gather_facts : true
5+ tasks :
6+ - name : Run bootstrap
7+ ansible.builtin.import_role :
8+ name : cifmw_setup
9+ tasks_from : bootstrap.yml
1210
1311- name : " Run ci/playbooks/edpm_build_images/edpm_image_builder.yml"
1412 hosts : " {{ cifmw_zuul_target_host | default('localhost') }}"
Original file line number Diff line number Diff line change 11---
2- - name : Run ci_framework bootstrap playbook
3- ansible.builtin.import_playbook : " ../../../playbooks/01-bootstrap.yml"
2+ - name : Bootstrap playbook
3+ hosts : " {{ cifmw_target_host | default('localhost') }}"
4+ gather_facts : true
5+ tasks :
6+ - name : Run bootstrap
7+ ansible.builtin.import_role :
8+ name : cifmw_setup
9+ tasks_from : bootstrap.yml
410
511- hosts : " {{ cifmw_target_host | default('localhost') }}"
612 name : Install dev tools
Original file line number Diff line number Diff line change 11---
2- - name : Bootstrap step
3- ansible.builtin.import_playbook : >-
4- {{
5- [
6- ansible_user_dir,
7- zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir,
8- 'playbooks',
9- '01-bootstrap.yml'
10- ] | ansible.builtin.path_join
11- }}
2+ - name : Bootstrap playbook
3+ hosts : " {{ cifmw_target_host | default('localhost') }}"
4+ gather_facts : true
5+ tasks :
6+ - name : Run bootstrap
7+ ansible.builtin.import_role :
8+ name : cifmw_setup
9+ tasks_from : bootstrap.yml
1210
1311- name : Install deps and prepare for KUTTL run
1412 hosts : " {{ cifmw_target_host | default('localhost') }}"
Original file line number Diff line number Diff line change 11---
2- - name : Bootstrap step
3- ansible.builtin.import_playbook : >-
4- {{
5- [
6- ansible_user_dir,
7- zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir,
8- 'playbooks',
9- '01-bootstrap.yml'
10- ] | ansible.builtin.path_join
11- }}
12-
132- name : Run ci/playbooks/meta_content_provider/meta_content_provider.yml
143 hosts : " {{ cifmw_target_host | default('localhost') }}"
154 gather_facts : true
165 tasks :
6+ - name : Run bootstrap
7+ ansible.builtin.import_role :
8+ name : cifmw_setup
9+ tasks_from : bootstrap.yml
10+
1711 - name : Install necessary dependencies
1812 ansible.builtin.include_role :
1913 name : ' install_yamls_makes'
Original file line number Diff line number Diff line change 11---
2- - name : Bootstrap step
3- ansible.builtin.import_playbook : >-
4- {{
5- [
6- ansible_user_dir,
7- zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir,
8- 'playbooks',
9- '01-bootstrap.yml'
10- ] | ansible.builtin.path_join
11- }}
2+ - name : Bootstrap playbook
3+ hosts : " {{ cifmw_target_host | default('localhost') }}"
4+ gather_facts : true
5+ tasks :
6+ - name : Run bootstrap
7+ ansible.builtin.import_role :
8+ name : cifmw_setup
9+ tasks_from : bootstrap.yml
1210
1311- name : " Run ci/playbooks/tcib/tcib.yml"
1412 hosts : " {{ cifmw_target_host | default('localhost') }}"
Original file line number Diff line number Diff line change 1818 ansible.builtin.include_tasks :
1919 file : " ci/playbooks/tasks/inherit_parent_scenario.yml"
2020
21- - name : Bootstrap step
22- ansible.builtin.import_playbook : playbooks/01-bootstrap.yml
21+ - name : Run bootstrap
22+ ansible.builtin.import_role :
23+ name : cifmw_setup
24+ tasks_from : bootstrap.yml
2325
2426- name : Import infra entrypoint playbook
2527 ansible.builtin.import_playbook : playbooks/02-infra.yml
Original file line number Diff line number Diff line change 1414 # Since the hook injects the ansible.cfg in the ansible-playbook command,
1515 # we therefore should know where to look for the install_yamls_makes role.
1616 # For the records, this role is generated in the 01-bootstrap.yml playbook
17+ # (migrated to: roles/cifmw_setup/tasks/bootstrap.yml)
1718 # by leveraging the install_yamls role and related modules, especially
1819 # the generate_make_tasks.
1920 # And we can pass down the cifmw_make_ceph_environment set in the
Original file line number Diff line number Diff line change 1+ ---
2+ # NOTE: Playbook migrated to: cifmw_setup/tasks/bootstrap.yml.
13- name : Bootstrap playbook
24 hosts : " {{ cifmw_target_host | default('localhost') }}"
35 gather_facts : true
Original file line number Diff line number Diff line change 1+ ---
2+ ansible_user_dir : " {{ lookup('env', 'HOME') }}"
You can’t perform that action at this time.
0 commit comments