??????????????
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ÏddlmZmZmZeZidd6dgd6dd6ZdZd Zd Z dd l Z dd l m Z dd l mZddlmZmZmZmZmZmZd„ZedkrËeƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatustcoret supported_bys% module: sysvinit author: - "Ansible Core Team" version_added: "2.6" short_description: Manage SysV services. description: - Controls services on target hosts that use the SysV init system. options: name: required: true description: - Name of the service. aliases: ['service'] state: choices: [ 'started', 'stopped', 'restarted', 'reloaded' ] description: - C(started)/C(stopped) are idempotent actions that will not run commands unless necessary. Not all init scripts support C(restarted) nor C(reloaded) natively, so these will both trigger a stop and start as needed. enabled: type: bool description: - Whether the service should start on boot. B(At least one of state and enabled are required.) sleep: default: 1 description: - If the service is being C(restarted) or C(reloaded) then sleep this many seconds between the stop and start command. This helps to workaround badly behaving services. pattern: description: - A substring to look for as would be found in the output of the I(ps) command as a stand-in for a status result. - If the string is found, the service will be assumed to be running. - "This option is mainly for use with init scripts that don't support the 'status' option." runlevels: description: - The runlevels this script should be enabled/disabled from. - Use this to override the defaults set by the package or init script itself. arguments: description: - Additional arguments provided on the command line that some init scripts accept. aliases: [ 'args' ] daemonize: type: bool description: - Have the module daemonize as the service itself might not do so properly. - This is useful with badly written init scripts or daemons, which commonly manifests as the task hanging as it is still holding the tty or the service dying when the task is over as the connection closes the session. default: no notes: - One option other than name is required. requirements: - That the service managed has a corresponding init script. s - name: make sure apache2 is started sysvinit: name: apache2 state: started enabled: yes - name: make sure apache2 is started on runlevels 3 and 5 sysvinit: name: apache2 state: started enabled: yes runlevels: - 3 - 5 sz results: description: results from actions taken returned: always type: complex sample: { "attempts": 1, "changed": true, "name": "apache2", "status": { "enabled": { "changed": true, "rc": 0, "stderr": "", "stdout": "" }, "stopped": { "changed": true, "rc": 0, "stderr": "", "stdout": "Stopping web server: apache2.\n" } } } N(tsleep(t AnsibleModule(tsysv_is_enabledtget_sysv_scriptt sysv_existstfail_if_missingtget_pst daemonizec`sS tdtdtdtddddgƒdtd d d d d gddƒdtddƒdtddddƒdtddƒdtddddgƒdtddƒdtdddtƒƒdtdddggƒ‰ˆjd‰ˆjd‰ˆjd}ˆjd}ˆjd}ˆjd}d}d}}iˆd6td6id6}tˆtˆƒˆƒtˆƒ‰d d!d"d#g}d$d%d&dg} i} i} x'| D]} ˆj| d'|ƒ| | ƒqn|sˆjd?ƒn|dj diƒt|ddds  9 . ç