Make sure we have our folders for uwsgi

Some package installs of the uwsgi packages aparently create
the folders while others do not.

So, lets create the folders!

Note: This is not ideal duplication wise, but we should refactor
this to be cleaner later.

Change-Id: I6a9f44d31c8b1def13586b5bb5d834bb08ccb3ed
This commit is contained in:
Julia Kreger 2018-07-13 10:41:15 -07:00
parent 460a8f6be3
commit 4ce7976859

View File

@ -240,6 +240,22 @@
group: "{{ nginx_user }}" # TODO(TheJulia): Split webserver user/group. group: "{{ nginx_user }}" # TODO(TheJulia): Split webserver user/group.
mode: 0755 mode: 0755
- name: "Ensure /etc/uwsgi/apps-available exists"
file:
name: "/etc/uwsgi/apps-available"
state: directory
owner: "{{ nginx_user }}"
group: "{{ nginx_user }}" # TODO(TheJulia): Split webserver user/group.
mode: 0755
- name: "Ensure /etc/uwsgi/apps-enabled exists"
file:
name: "/etc/uwsgi/apps-enabled"
state: directory
owner: "{{ nginx_user }}"
group: "{{ nginx_user }}" # TODO(TheJulia): Split webserver user/group.
mode: 0755
- name: "Place keystone public uwsgi config" - name: "Place keystone public uwsgi config"
template: template:
src: keystone-public.ini.j2 src: keystone-public.ini.j2