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

fix some warnings

parent 99e1d851
No related branches found
No related tags found
1 merge request!36WIP: ansible for srv02
...@@ -18,7 +18,10 @@ ...@@ -18,7 +18,10 @@
# configurations and stuff # configurations and stuff
- name: set local timezone - name: set local timezone
file: state=link src=/usr/share/zoneinfo/Europe/Berlin dest=/etc/localtime file:
state: link
src: /usr/share/zoneinfo/Europe/Berlin
dest: /etc/localtime
- name: set locales - name: set locales
tags: [base] tags: [base]
...@@ -36,7 +39,10 @@ ...@@ -36,7 +39,10 @@
- name: Disable root login with password - name: Disable root login with password
tags: [base] 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 - name: reload sysctl
command: sysctl -p --system command: sysctl -p --system
...@@ -48,8 +54,10 @@ ...@@ -48,8 +54,10 @@
line: "42\tfreifunk" line: "42\tfreifunk"
- name: copy host specific configs - name: copy host specific configs
copy: src=host/{{ inventory_hostname }}/etc/ dest=/etc
tags: [bird] tags: [bird]
copy:
src: host/{{ inventory_hostname }}/etc/
dest: /etc
- name: networkd templates - name: networkd templates
tags: [systemd-networkd] tags: [systemd-networkd]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment