??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
àUdac @` s¦ d d l m Z m Z m Z e Z d Z d Z d d l Z d d l m
Z
m Z d d l m
Z
m Z m Z d d l m Z d d l m Z d e f d
„ ƒ YZ d S( i ( t absolute_importt divisiont print_functions
inventory: host_list
version_added: "2.4"
short_description: Parses a 'host list' string
description:
- Parses a host list string as a comma separated values of hosts
- This plugin only applies to inventory strings that are not paths and contain a comma.
s
# define 2 hosts in command line
# ansible -i '10.10.2.6, 10.10.2.4' -m ping all
# DNS resolvable names
# ansible -i 'host1.example.com, host2' -m user -a 'name=me state=absent' all
# just use localhost
# ansible-playbook -i 'localhost,' play.yml -c local
N( t AnsibleErrort AnsibleParserError( t to_bytest to_nativet to_text( t
parse_address( t BaseInventoryPlugint InventoryModulec B` s# e Z d Z d „ Z e d „ Z RS( t host_listc C` sD t } t | d d ƒ} t j j | ƒ r@ d | k r@ t } n | S( Nt errorst surrogate_or_strictt ,( t FalseR t ost patht existst True( t selfR t validt b_path( ( sG /usr/lib/python2.7/site-packages/ansible/plugins/inventory/host_list.pyt verify_file' s
c C` s t t | ƒ j | | | ƒ y¼ xµ | j d ƒ D]¤ } | j ƒ } | r/ y t | d t ƒ\ } } Wn9 t k
rž } | j j d t
| ƒ ƒ | } d } n X| | j j
k rÓ | j j | d d d | ƒqÓ q/ q/ WWn) t k
r} t d t | ƒ ƒ ‚ n Xd S( s parses the inventory file R t allow_rangess<