Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.128.226.114
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/ansible_collections/ansible/windows/plugins/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /lib/python3/dist-packages/ansible_collections/ansible/windows/plugins/modules/async_status.yml
# Copyright (c) 2022 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

DOCUMENTATION:
  module: async_status
  short_description: Obtain status of asynchronous task
  seealso: 
  - module: ansible.builtin.async_status
  description:
  - This module gets the status of an asynchronous task.
  options:
    jid:
      description:
      - Job or task identifier
      type: str
      required: true
    mode:
      description:
      - If C(status), obtain the status.
      - If C(cleanup), clean up the async job cache (by default in C(~/.ansible_async/)) for the specified job I(jid).
      type: str
      choices: [ cleanup, status ]
      default: status
  author:
  - Ansible Core Team

EXAMPLES: |
  - name: Asynchronous yum task
    ansible.windows.win_command: my.exe
    async: 1000
    poll: 0
    register: long_cmd

  - name: Wait for asynchronous job to end
    ansible.builtin.async_status:
      jid: '{{ long_cmd.ansible_job_id }}'
    register: job_result
    until: job_result.finished
    retries: 100
    delay: 10

RETURN:
  ansible_job_id:
    description: The asynchronous job id
    returned: success
    type: str
    sample: '360874038559.4169'
  finished:
    description: Whether the asynchronous job has finished (C(1)) or not (C(0))
    returned: always
    type: int
    sample: 1
  started:
    description: Whether the asynchronous job has started (C(1)) or not (C(0))
    returned: always
    type: int
    sample: 1
  stdout:
    description: Any output returned by async_wrapper
    returned: always
    type: str
  stderr:
    description: Any errors returned by async_wrapper
    returned: always
    type: str
  erased:
    description: Path to erased job file
    returned: when file is erased
    type: str

Anon7 - 2022
AnonSec Team