Moved from with_items to loop.
--- 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}}"