roles/devbox/tasks/main.yml

changeset 15
8331067f9c8c
parent 11
8e5dcc6e199a
child 17
d0d9fdf1f9d3
--- a/roles/devbox/tasks/main.yml
+++ b/roles/devbox/tasks/main.yml
@@ -50,7 +50,7 @@
     line: "{{item.value}}"
     create: true
     mode: 0600
-  with_dict: hostkeys
+  with_dict: "{{hostkeys}}"
   tags: user, ssh
 
 - name: ssh | Purge invalid known_hosts keys
@@ -60,7 +60,7 @@
     dest: "{{user.home}}/.ssh/known_hosts"
     state: absent
     line: "{{item.value}}"
-  with_dict: hostkeys_removed
+  with_dict: "{{hostkeys_removed}}"
   tags: user, ssh
 
 

mercurial