|
|
@ -24,10 +24,13 @@
|
|
|
|
src: ssh_config.j2
|
|
|
|
src: ssh_config.j2
|
|
|
|
|
|
|
|
|
|
|
|
- lineinfile:
|
|
|
|
- lineinfile:
|
|
|
|
line: "net.ipv4.ip_forward=1"
|
|
|
|
line: "{{item}}"
|
|
|
|
path: /etc/sysctl.conf
|
|
|
|
path: /etc/sysctl.conf
|
|
|
|
register: sysctl_conf
|
|
|
|
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
|
|
|
|
with_items:
|
|
|
|
|
|
|
|
- net.ipv4.ip_forward=1
|
|
|
|
|
|
|
|
- kernel.perf_event_paranoid=-1
|
|
|
|
|
|
|
|
register: sysctl_conf
|
|
|
|
|
|
|
|
|
|
|
|
- shell: /sbin/sysctl -p
|
|
|
|
- shell: /sbin/sysctl -p
|
|
|
|
when: sysctl_conf.changed
|
|
|
|
when: sysctl_conf.changed
|
|
|
@ -46,6 +49,7 @@
|
|
|
|
- python-virtualenv
|
|
|
|
- python-virtualenv
|
|
|
|
- strace
|
|
|
|
- strace
|
|
|
|
- libldap2-dev
|
|
|
|
- libldap2-dev
|
|
|
|
|
|
|
|
- linux-perf
|
|
|
|
- libsasl2-dev
|
|
|
|
- libsasl2-dev
|
|
|
|
- build-essential
|
|
|
|
- build-essential
|
|
|
|
- git
|
|
|
|
- git
|
|
|
@ -66,8 +70,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
- git:
|
|
|
|
- git:
|
|
|
|
dest: ~/ansible
|
|
|
|
dest: ~/ansible
|
|
|
|
repo: https://github.com/dw/ansible.git
|
|
|
|
repo: https://github.com/ansible/ansible.git
|
|
|
|
version: dmw
|
|
|
|
#version: dmw
|
|
|
|
|
|
|
|
|
|
|
|
- pip:
|
|
|
|
- pip:
|
|
|
|
virtualenv: ~/venv
|
|
|
|
virtualenv: ~/venv
|
|
|
|