Przeglądaj źródła

Fix indentation for flannel etcd vars

Samuel Munilla 8 lat temu
rodzic
commit
735be4c23d
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      roles/flannel/tasks/main.yml

+ 5 - 5
roles/flannel/tasks/main.yml

@@ -11,11 +11,11 @@
     backrefs: yes
     regexp: "{{ item.regexp }}"
     line: "{{ item.line }}"
-    with_items:
-      - { regexp: "^(FLANNEL_ETCD=)", line: '\1{{ etcd_hosts|join(",") }}' }
-      - { regexp: "^(FLANNEL_ETCD_ENDPOINTS=)", line: '\1{{ etcd_hosts|join(",") }}' }
-      - { regexp: "^(FLANNEL_ETCD_KEY=)", line: '\1{{ flannel_etcd_key }}' }
-      - { regexp: "^(FLANNEL_ETCD_KEY_PREFIX=)", line: '\1{{ flannel_etcd_key }}' }
+  with_items:
+    - { regexp: "^(FLANNEL_ETCD=)", line: '\1{{ etcd_hosts|join(",") }}' }
+    - { regexp: "^(FLANNEL_ETCD_ENDPOINTS=)", line: '\1{{ etcd_hosts|join(",") }}' }
+    - { regexp: "^(FLANNEL_ETCD_KEY=)", line: '\1{{ flannel_etcd_key }}' }
+    - { regexp: "^(FLANNEL_ETCD_KEY_PREFIX=)", line: '\1{{ flannel_etcd_key }}' }
 
 - name: Set flannel options
   become: yes