diff --git a/ansible/roles/elasticsearch/tasks/config.yml b/ansible/roles/elasticsearch/tasks/config.yml index 79293ad106..958f71d3f2 100644 --- a/ansible/roles/elasticsearch/tasks/config.yml +++ b/ansible/roles/elasticsearch/tasks/config.yml @@ -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} diff --git a/ansible/roles/neutron/tasks/config.yml b/ansible/roles/neutron/tasks/config.yml index dbb2eb7495..04c9f9e8dd 100644 --- a/ansible/roles/neutron/tasks/config.yml +++ b/ansible/roles/neutron/tasks/config.yml @@ -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] }}" diff --git a/ansible/roles/openvswitch/tasks/config.yml b/ansible/roles/openvswitch/tasks/config.yml index 762eedfc46..4c1c1cce3d 100644 --- a/ansible/roles/openvswitch/tasks/config.yml +++ b/ansible/roles/openvswitch/tasks/config.yml @@ -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: