Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
trellis/group_vars/all/users.yml
# Documentation: https://roots.io/trellis/docs/ssh-keys/
admin_user: admin
# Also define 'vault_users' (`group_vars/staging/vault.yml`, `group_vars/production/vault.yml`)
users:
- name: "{{ web_user }}"
groups:
- "{{ web_group }}"
keys:
- "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
# - https://github.com/username.keys
- name: "{{ admin_user }}"
groups:
- sudo
keys:
- "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
# - https://github.com/username.keys
- http://gitlab.iteratemarketing.com/OMITTED.keys
web_user: web
web_group: www-data
web_sudoers:
- "/usr/sbin/service php7.1-fpm *"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.