From bde783a35c7cce2ba816441a3ab956cf3c359664 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Mon, 4 Sep 2023 22:40:07 +0100 Subject: [PATCH] fix 0001 --- infra/joplin/0001_docker_playbook.yaml | 5 +++++ inventory/proxmox.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/infra/joplin/0001_docker_playbook.yaml b/infra/joplin/0001_docker_playbook.yaml index fb888f9..a041dd3 100644 --- a/infra/joplin/0001_docker_playbook.yaml +++ b/infra/joplin/0001_docker_playbook.yaml @@ -2,8 +2,13 @@ hosts: joplin gather_facts: false tasks: + - name: Debug + ansible.builtin.debug: + msg: "{{ inventory_hostname }}" - name: Wait for connection ansible.builtin.wait_for: + host: "{{ inventory_hostname }}" + port: 22 timeout: 300 - name: Test some stuff ansible.builtin.shell: | diff --git a/inventory/proxmox.yaml b/inventory/proxmox.yaml index 5e1f182..00ca438 100644 --- a/inventory/proxmox.yaml +++ b/inventory/proxmox.yaml @@ -14,5 +14,6 @@ proxmox: vars: ansible_user: debian ansible_ssh_private_key_file: ~/.ssh/id_rsa + ansible_ssh_common_args: -o StrictHostKeyChecking=accept-new # TODO: Improve this unmanaged: hosts: