Moved from with_items to loop.
authorLuke Hoersten <luke@hoersten.org>
Tue, 12 May 2020 19:51:46 -0500
changeset 6 e0672e50e2c5
parent 5 5873b7e583d7
child 7 2a2d6fe367c4
Moved from with_items to loop.
bitcoind/tasks/main.yaml
lnd/tasks/main.yaml
--- a/bitcoind/tasks/main.yaml	Tue May 12 19:47:57 2020 -0500
+++ b/bitcoind/tasks/main.yaml	Tue May 12 19:51:46 2020 -0500
@@ -21,7 +21,7 @@
     owner: "root"
     group: "root"
     mode: "0755"
-  with_items:
+  loop:
     - "bitcoind"
     - "bitcoin-cli"
 
@@ -33,7 +33,7 @@
     owner: "{{bitcoind_user}}"
     group: "{{bitcoind_user}}"
     mode: "0770"
-  with_items:
+  loop:
     - "{{bitcoind_data_dir}}"
     - "{{bitcoind_log_dir}}"
     - "{{bitcoind_conf_dir}}"
--- a/lnd/tasks/main.yaml	Tue May 12 19:47:57 2020 -0500
+++ b/lnd/tasks/main.yaml	Tue May 12 19:51:46 2020 -0500
@@ -43,7 +43,7 @@
     owner: "{{lnd_user}}"
     group: "{{lnd_user}}"
     mode: "0770"
-  with_items:
+  loop:
     - "{{lnd_data_dir}}"
     - "{{lnd_log_dir}}"
     - "{{lnd_conf_dir}}"