Use uwsgi instead of Apache for now

This commit is contained in:
Ian Cordasco 2016-03-04 15:03:25 -06:00
parent 1d844907e2
commit 79d824a1eb
3 changed files with 6 additions and 3 deletions

View File

@ -20,6 +20,7 @@ barbican_system_user_shell: /bin/false
barbican_system_user_home: "/var/lib/{{ barbican_system_user_name }}"
barbican_log_directory: /var/log/barbican
barbican_etc_directory: /etc/barbican
barbican_vassals_directory: "{{ barbican_etc_directory }}/vassals"
barbican_api_program_name: barbican-api
barbican_keystone_listener_program_name: barbican-keystone-listener
@ -139,5 +140,6 @@ barbican_pip_packages:
- six
- SQLAlchemy
- stevedore
- uwsgi
- webob
- barbican

View File

@ -25,9 +25,9 @@
- include: post-install.yml
- include: ssl.yml
#- include: ssl.yml
- include: apache.yml
#- include: apache.yml
- include: upstart-init.yml

View File

@ -15,7 +15,8 @@
- include: upstart-common-init.yml
vars:
program_name: "{{ barbican_keystone_listener_program_name }}"
program_name: "uwsgi"
program_config_options: "--master --die-on-term --emperor {{ barbican_vassals_directory }}"
service_name: "{{ barbican_service_name }}"
system_user: "{{ barbican_system_user_name }}"
system_group: "{{ barbican_system_group_name }}"