---

- name: install rkhunter
  yum: name=rkhunter state=present
  when: ansible_distribution == 'Fedora'
  tags: packages

- name: install rkhunter
  apt: pkg=rkhunter state=present
  when: ansible_distribution == 'Ubuntu'
  tags: packages

---

- name: install rkhunter
  sudo: yes
  yum: name=rkhunter state=present
  when: ansible_distribution == 'Fedora'
  tags: packages

- name: install rkhunter
  sudo: yes
  apt: pkg=rkhunter state=present
  when: ansible_distribution == 'Ubuntu'
  tags: packages

Fix rk to install via su.
Fix rk to install via su.
