mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
fixed docs for host list examples
This commit is contained in:
parent
8ca836ad14
commit
6dc2a6ce8b
2 changed files with 12 additions and 12 deletions
|
@ -23,7 +23,7 @@ DOCUMENTATION:
|
||||||
description:
|
description:
|
||||||
- Parses a host list string as a comma separated values of hosts and supports host ranges.
|
- Parses a host list string as a comma separated values of hosts and supports host ranges.
|
||||||
- This plugin only applies to inventory sources that are not paths and contain at least one comma.
|
- This plugin only applies to inventory sources that are not paths and contain at least one comma.
|
||||||
EXAMPLES:
|
EXAMPLES: |
|
||||||
# simple range
|
# simple range
|
||||||
ansible -i 'host[1:10],' -m ping
|
ansible -i 'host[1:10],' -m ping
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
'''
|
r'''
|
||||||
DOCUMENTATION:
|
DOCUMENTATION:
|
||||||
inventory: host_list
|
inventory: host_list
|
||||||
version_added: "2.4"
|
version_added: "2.4"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue