summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Pignolet <matthieu@puffer.fish>2025-05-26 15:51:55 +0400
committerMatthieu Pignolet <matthieu@puffer.fish>2025-05-26 15:51:55 +0400
commit5057f4a7a299a62286a6bb166e753d008fe0d4a8 (patch)
treea3035dfb1f34e921f34e778955acd5f9baeb7b49
parent3b9b3217b31a32dd5aaef482c48f50cda068f92a (diff)
feat: remove debug dataHEADmain
-rw-r--r--tasks/main.yml8
1 files changed, 0 insertions, 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: