From f4e6f16822f2d7a43ef999ac3616ad8b719e7b6a Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Thu, 11 Jul 2024 20:57:42 +0000 Subject: [PATCH] Actualiser playbook.yml --- playbook.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index 76fc76f..e3c36b8 100644 --- a/playbook.yml +++ b/playbook.yml @@ -4,8 +4,12 @@ connection: local become: false tasks: + - name: echo variable + debug: + msg: "{{ dir_list | split(' ') }}" + - name: Create test file copy: content: | - test 2 {{dir_list}} + test 2 {{ dir_list | split(' ') }} dest: /home/thomas/test.txt \ No newline at end of file