Skip to content
Snippets Groups Projects
Unverified Commit 11dad636 authored by Paul's avatar Paul :turtle:
Browse files

update base role

- add some tags
- radvd: decraese route lifetime
parent 0d75bc17
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,11 @@ ...@@ -21,8 +21,11 @@
- name: Disable root login with password - name: Disable root login with password
tags: [base]
lineinfile: dest=/etc/ssh/sshd_config regexp="^#?PermitRootLogin" line="PermitRootLogin without-password" lineinfile: dest=/etc/ssh/sshd_config regexp="^#?PermitRootLogin" line="PermitRootLogin without-password"
- name: reload sysctl
command: sysctl -p --system
- name: add freifunk routing table - name: add freifunk routing table
...@@ -91,9 +94,11 @@ ...@@ -91,9 +94,11 @@
- include: radvd.yml - include: radvd.yml
tags: [network, radvd]
- include: dhcpd.yml - include: dhcpd.yml
tags: [network, dhcp]
- include: powerdns.yml - include: powerdns.yml
tags: [powerdns] tags: [powerdns, network]
- include: bird.yml - include: bird.yml
......
--- ---
- name: radvd templates - name: radvd templates
template: src=radvd/radvd.conf.j2 dest=/etc/radvd.conf template: src=radvd/radvd.conf.j2 dest=/etc/radvd.conf
- name: restart radvd
systemd:
state: restarted
enabled: yes
name: "radvd"
...@@ -3,6 +3,7 @@ interface ffhl ...@@ -3,6 +3,7 @@ interface ffhl
AdvSendAdvert on; AdvSendAdvert on;
IgnoreIfMissing on; IgnoreIfMissing on;
MaxRtrAdvInterval 200; MaxRtrAdvInterval 200;
AdvDefaultLifetime 900;
{% for prefix in radvd_prefixes %} {% for prefix in radvd_prefixes %}
prefix {{ prefix }} { prefix {{ prefix }} {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment