Created
April 4, 2017 23:28
-
-
Save s3w47m88/88f9a18c146192b6a63e1f9459b9efde to your computer and use it in GitHub Desktop.
trellis/group_vars/all/users.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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