1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--- - name: "Create sshvpns user" ansible.builtin.user: name: sshvpn shell: /sbin/nologin home: /var/reactance/sshvpn - name: "Create .ssh directory (if not exists)" ansible.builtin.file: path: /var/reactance/sshvpn/.ssh owner: sshvpn group: sshvpn mode: 0700 - name: "Run user management script" include_tasks: create_users_sshvpn.yaml