From 4d2623a34b739b1c15f36ea189acebef364f1376 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Tue, 18 Jun 2024 11:58:21 +0200 Subject: [PATCH] Fix remote_workdir. --- deploy_ovh_instance.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deploy_ovh_instance.yml b/deploy_ovh_instance.yml index f3a8c6f..2c7ed11 100644 --- a/deploy_ovh_instance.yml +++ b/deploy_ovh_instance.yml @@ -114,7 +114,15 @@ - name: set remote workdir path ansible.builtin.set_fact: - remote_workdir: /home/{{ ansible_user_id }}/.tmp_deploy_ovh + remote_workdir: /home/{{ ansible_user }}/.tmp_deploy_ovh + tags: + - common + - always + + - name: create remote workdir + ansible.builtin.file: + path: "{{ remote_workdir }}" + state: directory tags: - common - always