Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gateway-config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Luebeck
gateway-config
Commits
a1f4a302
Commit
a1f4a302
authored
3 years ago
by
Paul
Browse files
Options
Downloads
Patches
Plain Diff
fix some warnings
parent
99e1d851
No related branches found
No related tags found
1 merge request
!36
WIP: ansible for srv02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/base/tasks/main.yml
+11
-3
11 additions, 3 deletions
roles/base/tasks/main.yml
with
11 additions
and
3 deletions
roles/base/tasks/main.yml
+
11
−
3
View file @
a1f4a302
...
@@ -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
\t
freifunk"
line
:
"
42
\t
freifunk"
-
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
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment