Wed, 14 Jun 2017 21:25:06 -0400
Make sure we don't try to install vim-nox and vim-gtk every pass
--- - include: dist-debian.yml when: ansible_os_family == 'Debian' - name: "ssh : Ensure known_hosts keys" lineinfile: dest: /etc/ssh/ssh_known_hosts state: present line: "{{item.value}}" create: true mode: 0644 with_dict: "{{hostkeys}}" tags: ssh - name: "ssh : Purge invalid known_hosts keys" lineinfile: dest: /etc/ssh/ssh_known_hosts state: absent line: "{{item.value}}" with_dict: "{{hostkeys_removed}}" tags: ssh