Skip to content

Commit

Permalink
Remove bootstrap user from galaxy admin list
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Sep 19, 2015
1 parent 8622674 commit e955062
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/bootstrap_user.yml
Expand Up @@ -16,6 +16,10 @@
command: chdir={{ galaxy_server_dir }} {{ galaxy_venv_dir }}/bin/python manage_bootstrap_user.py -c {{ galaxy_config_file }} delete
when: delete_user is defined and delete_user

- name: Remove bootstrap user as Galaxy Admin
lineinfile: dest={{ galaxy_config_file }} state=absent insertafter="app:main" regexp="admin_users =" line="admin_users = {{ galaxy_tools_admin_user }}" #"
when: delete_user is defined and delete_user

- include: restart_galaxy.yml

- name: Remove the bootstrap user management script
Expand Down

0 comments on commit e955062

Please sign in to comment.