Like this?

 - name: Detect VLAN ID
    shell: ip -d link show {{ he_bridge_if }} | grep 'vlan ' | grep -Po 'id 
\K[\d]+' | cat
    environment: "{{ he_cmd_lang }}"
    register: vlan_id_out
    changed_when: true
  - debug: var=vlan_id_out
  - name: Set Engine public key as authorized key without validating the 
TLS/SSL certificates
    authorized_key:
      user: root
      state: present
      key: https://{{ he_fqdn 
}}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY
      validate_certs: false
      register: output
      failed_when: never
  - include_tasks: auth_sso.yml
  - name: DEBUG
      debug:    
      var: 'output'
  - name: Ensure that the target datacenter is present
    ovirt_datacenter:
      state: present
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4PAZVHEYLSOGGZNIYBXOZP5EBXTLNEU4/

Reply via email to