Fix documentation issues (#80)
Fixed documentation issues Reviewed-by: https://github.com/apps/ansible-zuulpull/82/head
parent
715234af8e
commit
e0551c0127
|
@ -25,5 +25,7 @@ sections:
|
|||
- Bugfixes
|
||||
- - known_issues
|
||||
- Known Issues
|
||||
- - doc_changes
|
||||
- Documentation Changes
|
||||
title: Ansible Utils Collection
|
||||
trivial_section_name: trivial
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
doc_changes:
|
||||
- Update doc for usable_range filter plugin
|
|
@ -137,7 +137,7 @@ Examples
|
|||
|
||||
#### Simple Use-case (looping through the list result)
|
||||
|
||||
- name: Expand and produce list of usable IP addresses in 192.0.2.0/28
|
||||
- name: Expand and produce list of usable IP addresses in 127.0.0.0/28
|
||||
ansible.builtin.set_fact:
|
||||
data1: "{{ '127.0.0.0/28' | ansible.utils.usable_range }}"
|
||||
|
||||
|
@ -145,7 +145,7 @@ Examples
|
|||
shell: "ping -c 1 {{ item }}"
|
||||
loop: "{{ data1.usable_ips[1:] }}"
|
||||
|
||||
# TASK [Expand and produce list of usable IP addresses in 192.0.2.0/28] ******************************
|
||||
# TASK [Expand and produce list of usable IP addresses in 127.0.0.0/28] ******************************
|
||||
# ok: [localhost]
|
||||
|
||||
# TASK [Ping all but first IP addresses from the generated list] *************************************
|
||||
|
|
|
@ -112,7 +112,7 @@ EXAMPLES = r"""
|
|||
|
||||
#### Simple Use-case (looping through the list result)
|
||||
|
||||
- name: Expand and produce list of usable IP addresses in 192.0.2.0/28
|
||||
- name: Expand and produce list of usable IP addresses in 127.0.0.0/28
|
||||
ansible.builtin.set_fact:
|
||||
data1: "{{ '127.0.0.0/28' | ansible.utils.usable_range }}"
|
||||
|
||||
|
@ -120,7 +120,7 @@ EXAMPLES = r"""
|
|||
shell: "ping -c 1 {{ item }}"
|
||||
loop: "{{ data1.usable_ips[1:] }}"
|
||||
|
||||
# TASK [Expand and produce list of usable IP addresses in 192.0.2.0/28] ******************************
|
||||
# TASK [Expand and produce list of usable IP addresses in 127.0.0.0/28] ******************************
|
||||
# ok: [localhost]
|
||||
|
||||
# TASK [Ping all but first IP addresses from the generated list] *************************************
|
||||
|
|
Loading…
Reference in New Issue