--- # Security #1 - name: Create matrix-appservice-irc system group group: name: matrix-appservice-irc system: true state: present # Security #2 - name: Create matrix-appservice-irc user user: name: matrix-appservice-irc group: matrix-appservice-irc home: /var/local/matrix-appservice-irc comment: Matrix Appservice IRC system: true state: present # Security #3 - name: Secure matrix-appservice-irc home directory file: path: /var/local/matrix-appservice-irc state: directory owner: matrix-appservice-irc group: matrix-appservice-irc mode: 0750