??????????????
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@`sddlmZmZmZeZidd6dgd6dd6ZdZd Zd Z dd l Z dd l Z dd l Z dd l Z dd lmZdd lmZmZmZddlmZdZdZedkrend S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontstableinterfacetstatustcoret supported_bysj --- module: command short_description: Execute commands on targets version_added: historical description: - The C(command) module takes the command name followed by a list of space-delimited arguments. - The given command will be executed on all selected nodes. - The command(s) will not be processed through the shell, so variables like C($HOME) and operations like C("<"), C(">"), C("|"), C(";") and C("&") will not work. Use the M(shell) module if you need these features. - To create C(command) tasks that are easier to read than the ones using space-delimited arguments, pass parameters using the C(args) L(task keyword,../reference_appendices/playbooks_keywords.html#task) or use C(cmd) parameter. - Either a free form command or C(cmd) parameter is required, see the examples. - For Windows targets, use the M(win_command) module instead. options: free_form: description: - The command module takes a free form command to run. - There is no actual parameter named 'free form'. cmd: type: str description: - The command to run. argv: type: list description: - Passes the command as a list rather than a string. - Use C(argv) to avoid quoting values that would otherwise be interpreted incorrectly (for example "user name"). - Only the string or the list form can be provided, not both. One or the other must be provided. version_added: "2.6" creates: type: path description: - A filename or (since 2.0) glob pattern. If it already exists, this step B(won't) be run. removes: type: path description: - A filename or (since 2.0) glob pattern. If it already exists, this step B(will) be run. version_added: "0.8" chdir: type: path description: - Change into this directory before running the command. version_added: "0.6" warn: description: - Enable or disable task warnings. type: bool default: yes version_added: "1.8" stdin: description: - Set the stdin of the command directly to the specified value. version_added: "2.4" stdin_add_newline: type: bool default: yes description: - If set to C(yes), append a newline to stdin data. version_added: "2.8" strip_empty_ends: description: - Strip empty lines from the end of stdout/stderr in result. version_added: "2.8" type: bool default: yes notes: - If you want to run a command through the shell (say you are using C(<), C(>), C(|), etc), you actually want the M(shell) module instead. Parsing shell metacharacters can lead to unexpected commands being executed if quoting is not done correctly so it is more secure to use the C(command) module when possible. - " C(creates), C(removes), and C(chdir) can be specified after the command. For instance, if you only want to run a command if a certain file does not exist, use this." - Check mode is supported when passing C(creates) or C(removes). If running in check mode and either of these are specified, the module will check for the existence of the file and report the correct changed status. If these are not supplied, the task will be skipped. - The C(executable) parameter is removed since version 2.4. If you have a need for this parameter, use the M(shell) module instead. - For Windows targets, use the M(win_command) module instead. - For rebooting systems, use the M(reboot) or M(win_reboot) module. seealso: - module: raw - module: script - module: shell - module: win_command author: - Ansible Core Team - Michael DeHaan s[ - name: return motd to registered var command: cat /etc/motd register: mymotd - name: Run command if /path/to/database does not exist (without 'args' keyword). command: /usr/bin/make_database.sh db_user db_name creates=/path/to/database # 'args' is a task keyword, passed at the same level as the module - name: Run command if /path/to/database does not exist (with 'args' keyword). command: /usr/bin/make_database.sh db_user db_name args: creates: /path/to/database # 'cmd' is module parameter - name: Run command if /path/to/database does not exist (with 'cmd' parameter). command: cmd: /usr/bin/make_database.sh db_user db_name creates: /path/to/database - name: Change the working directory to somedir/ and run the command as db_owner if /path/to/database does not exist. command: /usr/bin/make_database.sh db_user db_name become: yes become_user: db_owner args: chdir: somedir/ creates: /path/to/database # 'argv' is a parameter, indented one level from the module - name: Use 'argv' to send a command as a list - leave 'command' empty command: argv: - /usr/bin/make_database.sh - Username with whitespace - dbname with whitespace - name: safely use templated variable to run command. Always use the quote filter to avoid injection issues. command: cat {{ myfile|quote }} register: myoutput s cmd: description: the cmd that was run on the remote machine returned: always type: list sample: - echo - hello delta: description: cmd end time - cmd start time returned: always type: str sample: 0:00:00.001529 end: description: cmd end time returned: always type: str sample: '2017-09-29 22:03:48.084657' start: description: cmd start time returned: always type: str sample: '2017-09-29 22:03:48.083128' N(t AnsibleModule(t to_nativetto_bytestto_text(t is_iterablec C`sidd6dd6dd6dd6d d 6d d 6d d 6dd6}i dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d!6d"d"6}d#d$d%d&d'd(d)g}t|tr|d*}n|jd*}tjj|}d+}idd,6|d-6}||krYd.|}d/|d,<|||d0<|j|j|n||krd1|}|||d,<|j|j|n||kr|jd2|fndS(3Ntownertchowntmodetchmodtgrouptchgrps state=linktlnsstate=directorytmkdirs state=absenttrmdirtrms state=touchttouchsget_url or uritcurltwgett subversiontsvntservicetmountsyum, dnf or zyppertrpmtyumtaptsapt-gett unarchivettartunzipsreplace, lineinfile or templatetsedtdnftzyppertsudotsutpbruntpfexectrunastpmrunt machinectlisIf you need to use command because {mod} is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.tmodtcmdsLConsider using the {mod} module with {subcmd} rather than running '{cmd}'. tfiletsubcmds>Consider using the {mod} module rather than running '{cmd}'. sRConsider using 'become', 'become_method', and 'become_user' rather than running %s( t isinstancetlisttsplittostpathtbasenametNonetwarntformat( tmodulet commandlinet argumentstcommandstbecometcommandtdisable_suffixt substitutionstmsg((sD/usr/lib/python2.7/site-packages/ansible/modules/commands/command.pyt check_commands4       cC`stdtdtdtdddtdtddd tdd d td tdd d tdd dtdddtdtdtdtdddtdtdddt dt}|jd}|jd }|jd }|jd}|jd}|jd }|jd }|jd}|jd} |jd} |jd} | r|r|jd|d}n| s|jdkr| r|jddddn|r|r|jddddn| r|rt j |}n|p|}t |dtrHg|D]} t | dddd^q!}n|ry"t tjj|dd}Wn-tk r} |jdd t| nXytj|Wqttfk r} |jdd!t| qXn|r+tj|r+|jd"|d#d$|d%tdd&q+n|rltj|sl|jd"|d#d'|d%tdd&qln|rt||ntjj}|js|j|d |d(|d)dd*| d+| \}}}n5|s|rd&}d,}}n|jdd-d.ttjj}||}| rI|jd/}|jd/}ntd"|d#|d0|d|d1t|d2t|d3t|d%t}|d&kr|jdd4|n|j|dS(5Nt argument_spect _raw_paramst _uses_shellttypetbooltdefaulttargvR3tchdirR6t executabletcreatestremovesR9tstdintrequiredtstdin_add_newlinetstrip_empty_endstsupports_check_modesoAs of Ansible 2.4, the parameter 'executable' is no longer supported with the 'command' module. Not using '%s'.ttrciRCsno command givens+only command or argv can be given, not bothtinclude_stringsterrorstsurrogate_or_strictt nonstringt simplereprs Unable to use supplied chdir: %ss/Unable to change directory before execution: %sR/tstdoutsskipped, since %s existstchangedis skipped, since %s does not existtuse_unsafe_shelltencodingtdatat binary_datas+Command would have run if not in check modesskipped, running in check modetskippeds tstderrtstarttendtdeltasnon-zero return code(RtdicttFalsetTruetparamsR9R8tstript fail_jsontshlexR4R R R R5R6tabspatht ValueErrorR RLtIOErrortOSErrortglobt exit_jsonRDtdatetimetnowt check_modet run_commandtrstriptstr(R;tshellRLRMtargsRKRNROR9RPRRRktargtetstartdRVtoutterrtenddRftresult((sD/usr/lib/python2.7/site-packages/ansible/modules/commands/command.pytmains                    ."!       :        t__main__(t __future__RRRRHt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStRETURNRtRrR5Rmtansible.module_utils.basicRtansible.module_utils._textR R R t'ansible.module_utils.common.collectionsR RDRt__name__(((sD/usr/lib/python2.7/site-packages/ansible/modules/commands/command.pyts$   [)     $ |