---
- hosts: nas
  become: true
  gather_facts: true
  vars:
    host_pkgs:
      - ansible

    host_bash_aliases:
      - user: root
        alias: snapraid-watch-log
        command: tail -f /tmp/snapRAID.log

      - user: root
        alias: restartvpn
        command: "cd ~/git/infra ; ansible-playbook plays/restart-vpn.yml ; cd - > /dev/null"

  roles:
    - common