1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-10 06:50:35 +00:00

allow mulitple authorized keys

This commit is contained in:
Mark Heiges 2015-12-23 16:08:04 -05:00
parent 88191c647a
commit 01f88676bd
2 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,8 @@
- name: Set up authorized_keys for the redmine account - name: Set up authorized_keys for the redmine account
authorized_key: user='{{ redmine_owner }}' authorized_key: user='{{ redmine_owner }}'
key="{{ redmine_owner_ssh_pub_key }}" key='{{ item }}'
with_items: "{{ redmine_owner_ssh_pub_keys }}"
- name: Set up sudoers for the redmnine account - name: Set up sudoers for the redmnine account
template: dest='/etc/sudoers.d/10_{{ redmine_owner }}' template: dest='/etc/sudoers.d/10_{{ redmine_owner }}'

View File

@ -1,7 +1,9 @@
redmine_mail_alias: redmine@localhost redmine_mail_alias: redmine@localhost
redmine_owner: vagrant redmine_owner: vagrant
redmine_owner_ssh_pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvijH8y7CL9TxWCucjgXRa2q3l0Nc9JW7/SAFHVgt/FYClenS0DMN0nGm1I4z2mtftt8gHz5f6PNqyvfc3F0JcOqiuH9qP79FQ6c8rDmqQEqOuBrufPX11y/9IESIJ0aQ5feQP+WooR6bo/O7BFJS005S3foA/iLphf+smLrW44k= mheiges@sapote.local redmine_owner_ssh_pub_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvijH8y7CL9TxWCucjgXRa2q3l0Nc9JW7/SAFHVgt/FYClenS0DMN0nGm1I4z2mtftt8gHz5f6PNqyvfc3F0JcOqiuH9qP79FQ6c8rDmqQEqOuBrufPX11y/9IESIJ0aQ5feQP+WooR6bo/O7BFJS005S3foA/iLphf+smLrW44k= mheiges@sapote.local
- ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIBKXyFF/K1AT52FGrq5Z27guGgHDELy8W8NInAgrDQZQP+U5ORs9wB8SsuD8vyhYy3G2Tz8xAKCxWcFHvuNDv4VIg8D6ge7VMdWHGtbS8UC153dK3mMQ+CMTgJsezqgk0j4/ot7LaQ6yurb8t27TOHeqEdHyB5O/eL6pYntsKqEWQ== mguidry@uga.edu
do_database_management: True # no import unless management == true do_database_management: True # no import unless management == true
do_redmine_db_import: True do_redmine_db_import: True
do_redmine_installer: True do_redmine_installer: True