1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-09 22:40:36 +00:00

add additional pub keys; now manage root keys

This commit is contained in:
Mark Heiges 2018-05-10 13:53:08 -04:00
parent 48aa89dc20
commit 8e8950ea89
2 changed files with 11 additions and 3 deletions

View File

@ -20,6 +20,11 @@
key='{{ item }}' key='{{ item }}'
with_items: "{{ redmine_owner_ssh_pub_keys }}" with_items: "{{ redmine_owner_ssh_pub_keys }}"
- name: Set up authorized_keys for the root account
authorized_key: user='root'
key='{{ item }}'
with_items: "{{ root_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 }}'
src=templates/sudoers.j2 src=templates/sudoers.j2

View File

@ -3,14 +3,17 @@ redmine_mail_alias: redmine@localhost
redmine_owner: vagrant redmine_owner: vagrant
redmine_uid: '' redmine_uid: ''
redmine_owner_ssh_pub_keys: redmine_owner_ssh_pub_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvijH8y7CL9TxWCucjgXRa2q3l0Nc9JW7/SAFHVgt/FYClenS0DMN0nGm1I4z2mtftt8gHz5f6PNqyvfc3F0JcOqiuH9qP79FQ6c8rDmqQEqOuBrufPX11y/9IESIJ0aQ5feQP+WooR6bo/O7BFJS005S3foA/iLphf+smLrW44k= mheiges@sapote.local - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHpZ5BcVJmF76N4jIlH7N4pdP7Wa/d354zTrGp+/VIXFJhNwOM/xdZLXAGogZpzu5jnMzikcj6jUVoidCUl41C2QTTpebdxCUagsoLi6BA/gNyvSi9iSZuPhFuJc3OvQLUoiQ6uXRjEdMh/KmF73I7aMo4zsC2VViCPFecDJSAIIDB9CrLLGkJF9yddNRVLPOlFFaKGUTz/Z8E30NhTgSGsTizw4wsdwqASmtXBAKFGaQ2qjRe8nq05dKzHsCXPh1tgPeg+z7H/L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ga.edu
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtw+JxATbOr6wp7MLZWyk1F9AOBghX0ZH14MMvERQ545Ye5MgJ6m14gSxrqk5nOcpRXja6B3foWfNfBxShx8FELSXgw8EAiQo9ARrYu4XG5TdOYgY4gty3QRqaWbmLvwrFnN1NMNd6FqmVxgD+nMj66NLJLsOGDaVyuz7ArE3EQAhchcPIUJwfmobiBOdXhKsD5IPwqvZqkR8JnkkVa9g3wW4qbUqzMmmRASRGEiiKt0SNDY6BXjZblMUh1fPtZd5w/VQn4/klVAn2OhyJPlmdZI5CjP480IxHCcRtb7W1YXEbg988PgUo2lW4hpUNYtM61mRjZjQqw4cbFkfJJwoH drewp
root_ssh_pub_keys: {{ redmine_owner_ssh_pub_keys }}
do_database_management: yes do_database_management: yes
do_redmine_db_import: yes # no import unless do_database_management is also yes do_redmine_db_import: yes # no import unless do_database_management is also yes
do_redmine_installer: yes do_redmine_installer: yes
remote_scratch_path: /vagrant/scratch remote_scratch_path: /vagrant/scratch
nginx_pem: redmine.vm-rsa.pem nginx_pem: redmine.vm-rsa.pem
installer_package_name: easyredmine-upenn-20180109.zip installer_package_name: easyredmine-upen-20180412.zip #easyredmine_2016_stable_u2072_v2018_1_1__platform_2018_02_04.zip
installer_package_path: '{{ remote_scratch_path }}/{{ installer_package_name }}' installer_package_path: '{{ remote_scratch_path }}/{{ installer_package_name }}'
installer_package_url: 'http://software.apidb.org/source/{{ installer_package_name }}' installer_package_url: 'http://software.apidb.org/source/{{ installer_package_name }}'
redmine_db_dump_file: '{{ remote_scratch_path }}/redmine_dump.sql.gz' redmine_db_dump_file: '{{ remote_scratch_path }}/redmine_dump.sql.gz'