From 4ce7976859392f634e4768afae847c10f4fb5376 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Fri, 13 Jul 2018 10:41:15 -0700 Subject: [PATCH] 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 --- .../bifrost-keystone-install/tasks/bootstrap.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/playbooks/roles/bifrost-keystone-install/tasks/bootstrap.yml b/playbooks/roles/bifrost-keystone-install/tasks/bootstrap.yml index e37d716a7..50228dee0 100644 --- a/playbooks/roles/bifrost-keystone-install/tasks/bootstrap.yml +++ b/playbooks/roles/bifrost-keystone-install/tasks/bootstrap.yml @@ -240,6 +240,22 @@ group: "{{ nginx_user }}" # TODO(TheJulia): Split webserver user/group. 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" template: src: keystone-public.ini.j2