Add readme for role prerequisites
This commit is contained in:
parent
3a9edaa666
commit
4596743a56
1 changed files with 19 additions and 0 deletions
19
roles/prerequisites/README.md
Normal file
19
roles/prerequisites/README.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Ansible role prerequisites
|
||||||
|
|
||||||
|
Diese Ansible role prüft ob die Voraussetzungen für ein Freifunk Gateway erfüllt sind.
|
||||||
|
|
||||||
|
- Forward-DNS Eintrag == ausgelesener IPv4-Adresse
|
||||||
|
- Forward-DNS Eintrag == ausgelesener IPv6-Adresse
|
||||||
|
- Linux Distribution == Debian
|
||||||
|
- Debian Version == 9
|
||||||
|
|
||||||
|
## Benötigte Variablen
|
||||||
|
|
||||||
|
- Variable `dns_host_ipv4_address` (Rollen-Variable)
|
||||||
|
```
|
||||||
|
dns_host_ipv4_address: "{{ lookup('dig', inventory_hostname, 'qtype=A') }}"
|
||||||
|
```
|
||||||
|
- Variable `dns_host_ipv6_address` (Rollen-Variable)
|
||||||
|
```
|
||||||
|
dns_host_ipv6_address: "{{ lookup('dig', inventory_hostname, 'qtype=AAAA') }}"
|
||||||
|
```
|
Loading…
Reference in a new issue