roles/devbox/tasks/main.yml

Thu, 14 Apr 2016 22:35:55 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 14 Apr 2016 22:35:55 -0400
changeset 46
c98aa42d7d53
parent 36
745c6a77bf68
child 58
d03c346f71c2
permissions
-rw-r--r--

Add urxvt 256

---

- 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

mercurial