Skip to content
Snippets Groups Projects
Commit fc7f0a92 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix ownership of virtualenv in bootstrap-servers"

parents 204ad2a2 4283dff9
No related branches found
No related tags found
No related merge requests found
...@@ -88,16 +88,6 @@ ...@@ -88,16 +88,6 @@
virtualenv_site_packages: "{{ virtualenv is none | ternary(omit, virtualenv_site_packages) }}" virtualenv_site_packages: "{{ virtualenv is none | ternary(omit, virtualenv_site_packages) }}"
become: True become: True
- name: Ensure virtualenv has correct ownership
file:
path: "{{ virtualenv }}"
recurse: True
state: directory
owner: kolla
group: kolla
become: True
when: virtualenv is not none
- name: Remove packages - name: Remove packages
package: package:
name: "{{ item }}" name: "{{ item }}"
......
...@@ -31,6 +31,16 @@ ...@@ -31,6 +31,16 @@
become: True become: True
when: create_kolla_user | bool when: create_kolla_user | bool
- name: Ensure virtualenv has correct ownership
file:
path: "{{ virtualenv }}"
recurse: True
state: directory
owner: "{{ kolla_user }}"
group: "{{ kolla_group }}"
become: True
when: virtualenv is not none
- name: Ensure node_config_directory directory exists for user kolla - name: Ensure node_config_directory directory exists for user kolla
file: file:
path: "{{ node_config_directory }}" path: "{{ node_config_directory }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment