ansible-ffibk/roles/system-sysctl-gateway/tasks/main.yml

24 lines
592 B
YAML
Raw Normal View History

2017-09-30 14:36:48 +02:00
---
- name: set freifunk gateway sysctl settings
sysctl:
name: "{{ item.name }}"
value: "{{ item.value }}"
state: present
with_items: "{{ sysctl_settings_gateway }}"
- 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