Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wiki
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
wiki
Commits
a714ef53
Commit
a714ef53
authored
4 years ago
by
Paul
Browse files
Options
Downloads
Patches
Plain Diff
Update 'content/docs/Infrastruktur/Gateways.md'
parent
20e5c25c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/docs/Infrastruktur/Gateways.md
+18
-0
18 additions, 0 deletions
content/docs/Infrastruktur/Gateways.md
with
18 additions
and
0 deletions
content/docs/Infrastruktur/Gateways.md
+
18
−
0
View file @
a714ef53
...
...
@@ -2,6 +2,24 @@
## Übersicht
Eine kurze Ubersicht, welche Ordner/Dateien was machen
*
‘group vars/all.yml’: Hier sind Variable definiert, die für all Hosts gültig sind
*
`host_vars/<gateway>.yml`
: spezifische Variablen für einen Host. Z.B. DHCP-Bereich. Außerdem sind hier Variablen,
die für eine
*Role*
benutzt werden, defniniert.
*
‘hosts.yml: eine Liste von Hosts. Hosts sind außerdem in einer Gruppe. Die Gruppe heißt i.d.R. ‘gateways
`.
Theoretisch können hier auch direkt Variablen für einen Host definiert werden. Das machen wir aber nicht. Wir
definieren hier Variable für Gruppen.
* ‘roles/*`
: Hier liegen die Konfigurationen für die Roles. Die Role ‘base’ setzt für uns ein Gateway auf.
*
‘playbook. yml
*
: die eigentliche Konfigurationsdatei. Hier steht, welche Hosts/Gruppen welche Rollen bekommen.
Ein paar nützliche Befehle:
*
`ansible-playbook playbook.yml --list-hosts`
*
`ansible-playbook playbook.yml --list-tags`
*
`ansible-playbook playbook.yml --list-tasks`
*
`ansible-playbook playbook.yml --list-tasks --tag powerdns`
: zeigt alle tasks, die mit dem Tag powerdns versehen sind
## Setup
Die Gateways werden mit einem
[
ansible-playbook
](
https://git.luebeck.freifunk.net/FreifunkLuebeck/gateway-config
)
aufgesetzt.
...
...
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