From 7d5da0e8d5c1bc4211e126ed181cace9cd698a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20W=C3=BCrsten?= Date: Thu, 4 May 2023 15:03:13 +0200 Subject: [PATCH] fix: idempotency with command module --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index dbfa785..61f2672 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -35,6 +35,7 @@ - name: get hostname shell: hostname -f register: potos_basics_hostname + changed_when: false - name: create ansible inventory ansible.builtin.copy: