Add readme for role prerequisites

This commit is contained in:
Tobias Hachmer 2017-10-02 11:11:43 +02:00
parent 3a9edaa666
commit 4596743a56

View 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') }}"
```