Skip to content

Commit 1b9055b

Browse files
committed
Merge pull request docker-library#15 from drybjed/radvd
Add debops.radvd documentation
2 parents d160963 + 2dc7378 commit 1b9055b

File tree

1 file changed

+126
-0
lines changed

1 file changed

+126
-0
lines changed

docs/ansible/roles/debops.radvd.rst

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
debops.radvd
2+
############
3+
4+
|Travis CI| |test-suite| |Ansible Galaxy|
5+
6+
.. |Travis CI| image:: http://img.shields.io/travis/debops/ansible-radvd.svg?style=flat
7+
:target: http://travis-ci.org/debops/ansible-radvd
8+
9+
.. |test-suite| image:: http://img.shields.io/badge/test--suite-ansible--radvd-blue.svg?style=flat
10+
:target: https://github.com/debops/test-suite/tree/master/ansible-radvd/
11+
12+
.. |Ansible Galaxy| image:: http://img.shields.io/badge/galaxy-debops.radvd-660198.svg?style=flat
13+
:target: https://galaxy.ansible.com/list#/roles/2096
14+
15+
16+
17+
`debops.radvd` role manages [Router Advertisement Daemon](https://en.wikipedia.org/wiki/Radvd),
18+
which is used to advertise configured IPv6 prefixes on local network. Using
19+
`radvd` advertisements other devices on the network can obtain an IPv6
20+
address and Internet connectivity.
21+
22+
.. contents:: Table of Contents
23+
:local:
24+
:depth: 2
25+
:backlinks: top
26+
27+
Installation
28+
~~~~~~~~~~~~
29+
30+
This role requires at least Ansible ``v1.7.0``. To install it, run::
31+
32+
ansible-galaxy install debops.radvd
33+
34+
35+
36+
37+
Role variables
38+
~~~~~~~~~~~~~~
39+
40+
List of default variables available in the inventory::
41+
42+
---
43+
44+
# ---- Default options ----
45+
46+
# Network interface to configure
47+
# By default, configure on interface created by 'debops.subnetwork' role
48+
radvd_default_interface: 'br2'
49+
50+
# Options for default interface, specified as YAML text block
51+
radvd_default_interface_options: |
52+
AdvSendAdvert on;
53+
MaxRtrAdvInterval {{ radvd_max_advert_interval }};
54+
{% if radvd_default_dhcpv6 is defined and radvd_default_dhcpv6 %}
55+
AdvManagedFlag on;
56+
AdvOtherConfigFlag on;
57+
{% endif %}
58+
59+
# Options defined for default prefixes as YAML text block
60+
radvd_default_prefix_options: ''
61+
62+
# Enable or disable support for DHCPv6 server in default configuration
63+
radvd_default_dhcpv6: True
64+
65+
66+
# ---- DNS and search domains ----
67+
68+
# Local subdomain leaf to advertise in DNSSL
69+
radvd_default_subdomain: 'lan'
70+
71+
# List of search domains to advertise in DNSSL
72+
radvd_default_domains: [ '{{ radvd_default_subdomain }}.{{ ansible_fqdn }}', '{{ ansible_domain }}' ]
73+
74+
75+
# ---- radvd configuration ----
76+
77+
# Maximum time between router advertisements, in seconds
78+
radvd_max_advert_interval: '60'
79+
80+
# See radvd.conf(5) for documentation of available options. Each section is
81+
# specified with lowercase name, section options are specified as YAML text
82+
# blocks (semicolons at the end of each line are required).
83+
radvd_interfaces:
84+
85+
# Default interface created by 'debops.subnetwork' role
86+
- interface: '{{ radvd_default_interface }}'
87+
comment: 'Default configuration for local network'
88+
89+
# Interface options as YAML text block
90+
options: '{{ radvd_default_interface_options }}'
91+
92+
# List of prefixes advertised on this interface
93+
prefixes:
94+
- prefix: '::/64'
95+
options: '{{ radvd_default_prefix_options }}'
96+
97+
# List of configured routes for this interface
98+
routes: []
99+
#- route: ''
100+
# options: |
101+
102+
# List of nameservers advertised on this interface
103+
nameservers: []
104+
#- rdnss: []
105+
# options: |
106+
107+
# List of search domains advertised on this interface
108+
domains:
109+
- dnssl: '{{ radvd_default_domains }}'
110+
111+
# List of clients to advertise to, if not defined, advertise to all hosts
112+
# on this interface
113+
clients: []
114+
115+
116+
117+
118+
Authors and license
119+
~~~~~~~~~~~~~~~~~~~
120+
121+
``debops.radvd`` role was written by:
122+
123+
- Maciej Delmanowski | `e-mail <mailto:[email protected]>`__ | `Twitter <https://twitter.com/drybjed>`__ | `GitHub <https://github.com/drybjed>`__
124+
125+
License: `GPLv3 <https://tldrlegal.com/license/gnu-general-public-license-v3-%28gpl-3%29>`_
126+

0 commit comments

Comments
 (0)