diff --git a/playbooks/bgp/prepare-bgp-spines-leaves.yaml b/playbooks/bgp/prepare-bgp-spines-leaves.yaml index f75595e92..c14ef9da9 100644 --- a/playbooks/bgp/prepare-bgp-spines-leaves.yaml +++ b/playbooks/bgp/prepare-bgp-spines-leaves.yaml @@ -17,7 +17,7 @@ fabric_list: "{{ leafs_list + spines_list + routers_list }}" tasks: - name: Start spine and leaf VMs - delegate_to: hypervisor + delegate_to: "{{ hostvars['controller-0'].cifmw_hypervisor_host }}" become: true community.libvirt.virt: name: "cifmw-{{ item }}" @@ -46,7 +46,7 @@ loop: "{{ routers_list }}" - name: Check SSH connectivity - delegate_to: hypervisor + delegate_to: "{{ hostvars['controller-0'].cifmw_hypervisor_host }}" ansible.builtin.wait_for: port: 22 host: "{{ item }}.utility" @@ -123,6 +123,12 @@ state: present reload: true + - name: Install internal CA + vars: + cifmw_install_ca_url_validate_certs: false + ansible.builtin.include_role: + name: install_ca + - name: Check installed packages ansible.builtin.package_facts: manager: auto