ansible-ffibk/roles/prerequisites
2017-10-02 11:15:58 +02:00
..
tasks Set 'become' default to True (#7) 2017-09-17 10:11:45 +02:00
vars Modify prerequisites role and integrate prerequisites role into all playbooks (#4) 2017-09-11 23:23:34 +02:00
README.md Add readme for role prerequisites 2017-10-02 11:15:58 +02:00

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