Skip to content

Commit

Permalink
[dnsmasq] Updated documentation and examples
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
  • Loading branch information
rebtoor committed May 22, 2024
1 parent eb4c141 commit 0a13ccc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/dictionary/en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ tmux
tobiko
toctree
todo
toggle
traceback
tripleo
ttl
Expand Down
7 changes: 6 additions & 1 deletion roles/dnsmasq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ supported in libvirt).
* `cifmw_dnsmasq_network_state`: (String) Network status. Must be either `present` or `absent`.
* `cifmw_dnsmasq_network_definition`: (Dict) Mapping representing the network definition.
* `cifmw_dnsmasq_network_definition.ranges`: (List[mapping]) List of ranges associated to the network.
* `cifmw_dnsmasq_network_listen_dns`: (List) List of IP addresses to listen to for DNS queries.
* `cifmw_dnsmasq_forwarders`: (List) List of upstream DNS servers used as forwarders. Defaults to `[]`
* `cifmw_dnsmasq_interfaces`: (List) List of interfaces on which dnsmasq should be enabled. Defaults to `[]`.
* `cifmw_dnsmasq_listen_addresses`: (List) List of IP addresses on which dnsmasq should be enabled. Defaults to `[]`.
* `cifmw_dnsmasq_enable_dns`: (Bool) Toogle to enable DNS features of dnsmasq. Defaults to `false`.
* `cifmw_dnsmasq_addresses`: (List) Specify a list of IP addresses to return for any host in the given domains. Defaults to `[]`.
* `cifmw_dnsmasq_domainname`: (String) DNS domain name used for the DHCP server. Defaults to `''`.

#### Ranges mapping

Expand Down
2 changes: 1 addition & 1 deletion roles/dnsmasq/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
vars:
cifmw_dnsmasq_network_name: startrek
cifmw_dnsmasq_network_state: present
cifmw_dnsmasq_network_listen_dns:
cifmw_dnsmasq_listen_addresses:
- "192.168.253.1"
- "2345:0426:2CA1::0567:5673:23b0"
cifmw_dnsmasq_network_definition:
Expand Down
2 changes: 1 addition & 1 deletion roles/libvirt_manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ cifmw_libvirt_manager_configuration:
vms:
type_name: # (string, such as "compute", "controller"
start: (boolean, toggle if the VM should be strated or not. Optional, defaults to true)
manage: (boolean, toogle if the VM should be added to the inventory. Managed VM's must be on the cifmw_libvirt_manager_pub_net network. Optional, defaults to true)
manage: (boolean, toggle if the VM should be added to the inventory. Managed VM's must be on the cifmw_libvirt_manager_pub_net network. Optional, defaults to true)
amount: (integer, optional. Optional, defaults to 1, allowed [0-9]+)
image_url: (string, URI to the base image. Optional if disk_file_name is set to "blank")
sha256_image_name: (string, image checksum. Optional if disk_file_name is set to "blank")
Expand Down

0 comments on commit 0a13ccc

Please sign in to comment.