---
- name: apt_update
  apt: update_cache=yes

- name: restart_sshd
  service:
    name: "{{ openssh_service }}"
    state: restarted

- name: restart_fail2ban
  service:
    name: "fail2ban"
    state: restarted

- name: update_tmux_plugin_perms
  file:
    path: /home/rene/.tmux/plugins
    owner: rene
    group: rene
    recurse: true

- name: update_vim_bundle_perms
  file:
    path: /home/rene/.vim/bundle
    owner: rene
    group: rene
    recurse: true