missing permissions when running as non root

some tasks miss permissions to be run as a normal user

Change-Id: Ic53308adb7fa3a10a7b1f1caa27ca7dd67037cdd
This commit is contained in:
Mathieu Rohon 2017-12-12 16:51:36 +01:00
parent ae3f47e123
commit fc593d531b
3 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
---
- name: Setting sysctl values
become: true
sysctl: name={{ item.name }} value={{ item.value }} sysctl_set=yes
with_items:
- { name: "vm.max_map_count", value: 262144}

View File

@ -344,6 +344,7 @@
- "Restart {{ item.key }} container"
- name: Copy neutron-l3-agent-wrapper script
become: true
vars:
service_name: "neutron-l3-agent"
service: "{{ neutron_services[service_name] }}"
@ -358,6 +359,7 @@
- "Restart {{ service_name }} container"
- name: Copy neutron-vpnaas-agent-wrapper script
become: true
vars:
service_name: "neutron-vpnaas-agent"
service: "{{ neutron_services[service_name] }}"

View File

@ -27,6 +27,7 @@
- "Restart {{ item.key }} container"
- name: Copying over start-ovs file for openvswitch-vswitchd
become: true
vars:
service: "{{ openvswitch_services['openvswitch-vswitchd'] }}"
template:
@ -40,6 +41,7 @@
- "Restart openvswitch-vswitchd container"
- name: Copying over start-ovsdb-server files for openvswitch-db-server
become: true
vars:
service: "{{ openvswitch_services['openvswitch-db-server'] }}"
template: