diff --git a/infra/joplin/0001_docker_playbook.yaml b/infra/joplin/0001_docker_playbook.yaml new file mode 100644 index 0000000..31be8eb --- /dev/null +++ b/infra/joplin/0001_docker_playbook.yaml @@ -0,0 +1,13 @@ +- name: Setup Docker + hosts: proxmox:kovalhome:managed:joplin + tasks: + - name: Wait for connection + ansible.builtin.wait_for: + timeout: 300 + - name: Test some stuff + ansible.builtin.shell: | + touch ~/hmm + echo test > ~/test + echo test2 >> ~/test + args: + executable: /bin/bash diff --git a/inventory/proxmox.yaml b/inventory/proxmox.yaml index 67cd3de..5e1f182 100644 --- a/inventory/proxmox.yaml +++ b/inventory/proxmox.yaml @@ -7,7 +7,12 @@ proxmox: pve.mgmt.home.local.koval.net: pve2.mgmt.home.local.koval.net: managed: - hosts: - joplin.srv.home.local.koval.net: + children: + joplin: + hosts: + joplin.srv.home.local.koval.net: + vars: + ansible_user: debian + ansible_ssh_private_key_file: ~/.ssh/id_rsa unmanaged: hosts: