From 5057f4a7a299a62286a6bb166e753d008fe0d4a8 Mon Sep 17 00:00:00 2001 From: Matthieu Pignolet Date: Mon, 26 May 2025 15:51:55 +0400 Subject: feat: remove debug data --- tasks/main.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 74a17d4..ca46771 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -14,18 +14,10 @@ status_code: [200, 404] register: get_device -- name: Print rest data - debug: - msg: "Rest Data: {{ get_device.json }}" - - name: Set device state facts ansible.builtin.set_fact: device_data: "{{ get_device.json }}" device_exists: "{{ get_device.json.status == 'ok' }}" - -- name: Print device exists - debug: - msg: "Exists : {{ device_exists }}" - name: Create the device if it doesn't exist ansible.builtin.uri: -- cgit v1.2.3