2017-09-30 14:36:48 +02:00
|
|
|
---
|
2018-08-10 06:09:37 +02:00
|
|
|
- name: set freifunk sysctl settings
|
2017-09-30 14:36:48 +02:00
|
|
|
sysctl:
|
|
|
|
name: "{{ item.name }}"
|
|
|
|
value: "{{ item.value }}"
|
|
|
|
state: present
|
2018-08-10 06:09:37 +02:00
|
|
|
with_items: "{{ sysctl_settings }}"
|
2018-02-23 19:34:30 +01:00
|
|
|
|
|
|
|
- name: create systemd override dir for systemd-sysctl.service
|
|
|
|
file:
|
|
|
|
path: /etc/systemd/system/systemd-sysctl.service.d
|
|
|
|
state: directory
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: configure systemd unit overrides
|
|
|
|
template:
|
|
|
|
src: systemd_sysctl_service_overrides.j2
|
|
|
|
dest: /etc/systemd/system/systemd-sysctl.service.d/override.conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|