Browse Source

Output veringert

loop_control ergänzt um sprechenden Output zu erzeugen
erdo 7 năm trước cách đây
mục cha
commit
21cd7270f4
1 tập tin đã thay đổi với 2 bổ sung6 xóa
  1. 2 6
      roles/checkMK/tasks/main.yml

+ 2 - 6
roles/checkMK/tasks/main.yml

@@ -11,11 +11,6 @@
      loop_control:
         label: "{{ item }}"
 
-   - debug:
-       var: {{ item }}
-     with_items:
-        - "{{ zones }}"
-
    - blockinfile:
        path: "/opt/semaphore/hosts/{{ item.item }}"
        block: |
@@ -23,4 +18,5 @@
        create: yes
      with_items: "{{ zones_output.results }}"
      delegate_to: localhost
-
+     loop_control:
+        label: "{{ item.stdout_lines }}"