github.com/openshift/installer@v1.4.17/upi/ovirt/common-auth.yml (about) 1 --- 2 - name: include metadata.json vars 3 include_vars: 4 file: "{{ ocp.assets_dir }}/metadata.json" 5 name: metadata 6 7 - name: Include ocp ovirt conf variables 8 include_vars: 9 file: "{{ ocp.ovirt_config_path }}" 10 name: ocp_ovirt 11 12 # check the CA stuff from the installer 13 - name: Set ovirt CA file path 14 set_fact: 15 ovirt_ca_file: "/tmp/ca_file" 16 when: (ocp_ovirt.ovirt_ca_bundle is defined) 17 18 - name: Write cafile 19 copy: 20 content: "{{ ocp_ovirt.ovirt_ca_bundle }}" 21 dest: "{{ ovirt_ca_file }}" 22 force: no 23 when: ovirt_ca_file is defined 24 25 - name: Login to oVirt engine 26 ovirt_auth: 27 url: "{{ ocp_ovirt.ovirt_url}}" 28 username: "{{ ocp_ovirt.ovirt_username }}" 29 password: "{{ ocp_ovirt.ovirt_password }}" 30 ca_file: "{{ ovirt_ca_file | default(omit) }}" 31 insecure: "{{ ocp_ovirt.insecure | default(False) }}" 32 register: ovirt_loggedin