Rename role system-sysctl-gateway to system-sysctl

This commit is contained in:
Tobias Hachmer 2018-08-10 06:09:37 +02:00
parent 09d6d96bb2
commit 13fa7414f0
6 changed files with 16 additions and 16 deletions

View file

@ -7,7 +7,7 @@
- server-apt-repos - server-apt-repos
- server-basic - server-basic
- users - users
- system-sysctl-gateway - system-sysctl
- git-repos - git-repos
- service-haveged - service-haveged
- service-ntpd - service-ntpd

View file

@ -1,12 +0,0 @@
# Ansible role system-sysctl-gateway
Diese Ansible role setzt Freifunk Gateway spezifische sysctl-Parameter.
## Benötigte Variablen
- List `sysctl_settings_gateway` (Rollen-Variable)
```
sysctl_settings_gateway:
- name: # sysctl-Parameter
value: # zu setzender Wert
...
```

View file

@ -0,0 +1,12 @@
# Ansible role system-sysctl
Diese Ansible role setzt Freifunk spezifische sysctl-Parameter.
## Benötigte Variablen
- List `sysctl_settings` (Rollen-Variable)
```
sysctl_settings:
- name: # sysctl-Parameter
value: # zu setzender Wert
...
```

View file

@ -1,10 +1,10 @@
--- ---
- name: set freifunk gateway sysctl settings - name: set freifunk sysctl settings
sysctl: sysctl:
name: "{{ item.name }}" name: "{{ item.name }}"
value: "{{ item.value }}" value: "{{ item.value }}"
state: present state: present
with_items: "{{ sysctl_settings_gateway }}" with_items: "{{ sysctl_settings }}"
- name: create systemd override dir for systemd-sysctl.service - name: create systemd override dir for systemd-sysctl.service
file: file:

View file

@ -1,5 +1,5 @@
--- ---
sysctl_settings_gateway: sysctl_settings:
- name: net.ipv4.neigh.default.gc_thresh1 - name: net.ipv4.neigh.default.gc_thresh1
value: 1024 value: 1024
- name: net.ipv4.neigh.default.gc_thresh2 - name: net.ipv4.neigh.default.gc_thresh2