From 228052548c80df364ac94d68b65dad8d2dd91830 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Mon, 4 Sep 2023 22:14:10 +0100 Subject: [PATCH] test some stuff --- infra/joplin/0001_docker_playbook.yaml | 13 +++++++++++++ inventory/proxmox.yaml | 9 +++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 infra/joplin/0001_docker_playbook.yaml 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: