From f2693cd557f2d048b244df4781d12a34e315b837 Mon Sep 17 00:00:00 2001 From: Michal Skrivanek Date: Mon, 17 Apr 2023 09:15:22 +0200 Subject: [PATCH] fix authorized_key usage Signed-off-by: Michal Skrivanek --- .../hooks/after_setup/add_host_storage_domain.yml | 2 +- .../tasks/bootstrap_local_vm/05_add_host.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/hosted_engine_setup/hooks/after_setup/add_host_storage_domain.yml b/roles/hosted_engine_setup/hooks/after_setup/add_host_storage_domain.yml index ad7df40e..59e9cabf 100644 --- a/roles/hosted_engine_setup/hooks/after_setup/add_host_storage_domain.yml +++ b/roles/hosted_engine_setup/hooks/after_setup/add_host_storage_domain.yml @@ -8,7 +8,7 @@ - name: Set Engine public key as authorized key without validating the TLS/SSL certificates connection: ssh - authorized_key: + ansible.posix.authorized_key: user: root state: present key: https://{{ he_fqdn }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY diff --git a/roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml b/roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml index 921a8aea..67a3038f 100644 --- a/roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml +++ b/roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml @@ -34,7 +34,7 @@ register: vlan_id_out changed_when: true - name: Set Engine public key as authorized key without validating the TLS/SSL certificates - authorized_key: + ansible.posix.authorized_key: user: root state: present key: https://{{ he_fqdn }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY