From 73979043addeffa43cac37261477dd7064bfcdb4 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 27 Jan 2019 21:48:14 +0000 Subject: [PATCH] gcloud: small updates --- tests/ansible/gcloud/controller.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/ansible/gcloud/controller.yml b/tests/ansible/gcloud/controller.yml index 494c2164..3c7f9ea0 100644 --- a/tests/ansible/gcloud/controller.yml +++ b/tests/ansible/gcloud/controller.yml @@ -24,10 +24,13 @@ src: ssh_config.j2 - lineinfile: - line: "net.ipv4.ip_forward=1" + line: "{{item}}" path: /etc/sysctl.conf - register: sysctl_conf become: true + with_items: + - net.ipv4.ip_forward=1 + - kernel.perf_event_paranoid=-1 + register: sysctl_conf - shell: /sbin/sysctl -p when: sysctl_conf.changed @@ -46,6 +49,7 @@ - python-virtualenv - strace - libldap2-dev + - linux-perf - libsasl2-dev - build-essential - git @@ -66,8 +70,8 @@ - git: dest: ~/ansible - repo: https://github.com/dw/ansible.git - version: dmw + repo: https://github.com/ansible/ansible.git + #version: dmw - pip: virtualenv: ~/venv