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:
parent
ae3f47e123
commit
fc593d531b
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Setting sysctl values
|
- name: Setting sysctl values
|
||||||
|
become: true
|
||||||
sysctl: name={{ item.name }} value={{ item.value }} sysctl_set=yes
|
sysctl: name={{ item.name }} value={{ item.value }} sysctl_set=yes
|
||||||
with_items:
|
with_items:
|
||||||
- { name: "vm.max_map_count", value: 262144}
|
- { name: "vm.max_map_count", value: 262144}
|
||||||
|
@ -344,6 +344,7 @@
|
|||||||
- "Restart {{ item.key }} container"
|
- "Restart {{ item.key }} container"
|
||||||
|
|
||||||
- name: Copy neutron-l3-agent-wrapper script
|
- name: Copy neutron-l3-agent-wrapper script
|
||||||
|
become: true
|
||||||
vars:
|
vars:
|
||||||
service_name: "neutron-l3-agent"
|
service_name: "neutron-l3-agent"
|
||||||
service: "{{ neutron_services[service_name] }}"
|
service: "{{ neutron_services[service_name] }}"
|
||||||
@ -358,6 +359,7 @@
|
|||||||
- "Restart {{ service_name }} container"
|
- "Restart {{ service_name }} container"
|
||||||
|
|
||||||
- name: Copy neutron-vpnaas-agent-wrapper script
|
- name: Copy neutron-vpnaas-agent-wrapper script
|
||||||
|
become: true
|
||||||
vars:
|
vars:
|
||||||
service_name: "neutron-vpnaas-agent"
|
service_name: "neutron-vpnaas-agent"
|
||||||
service: "{{ neutron_services[service_name] }}"
|
service: "{{ neutron_services[service_name] }}"
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
- "Restart {{ item.key }} container"
|
- "Restart {{ item.key }} container"
|
||||||
|
|
||||||
- name: Copying over start-ovs file for openvswitch-vswitchd
|
- name: Copying over start-ovs file for openvswitch-vswitchd
|
||||||
|
become: true
|
||||||
vars:
|
vars:
|
||||||
service: "{{ openvswitch_services['openvswitch-vswitchd'] }}"
|
service: "{{ openvswitch_services['openvswitch-vswitchd'] }}"
|
||||||
template:
|
template:
|
||||||
@ -40,6 +41,7 @@
|
|||||||
- "Restart openvswitch-vswitchd container"
|
- "Restart openvswitch-vswitchd container"
|
||||||
|
|
||||||
- name: Copying over start-ovsdb-server files for openvswitch-db-server
|
- name: Copying over start-ovsdb-server files for openvswitch-db-server
|
||||||
|
become: true
|
||||||
vars:
|
vars:
|
||||||
service: "{{ openvswitch_services['openvswitch-db-server'] }}"
|
service: "{{ openvswitch_services['openvswitch-db-server'] }}"
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user