Server IP : 85.214.239.14 / Your IP : 3.145.202.60 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 : |
# 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: setup short_description: Gathers facts about remote hosts seealso: - module: ansible.builtin.setup options: gather_subset: description: - If supplied, restrict the additional facts collected to the given subset. - Can specify a list of values to specify a larger subset. - Values can also be used with an initial C(!) to specify that that specific subset should not be collected. - To avoid collecting even the min subset, specify C(!all,!min). - To collect only specific facts, use C(!all,!min), and specify the particular fact subsets. type: list elements: str default: all gather_timeout: description: - Set the default timeout in seconds for individual fact gathering. type: int default: 10 fact_path: description: - Path used for local ansible facts (C(*.ps1) or C(*.json)) - files in this dir will be run (if a ps1) or read (if a json) and their results be added to the return facts. - The returned fact will be named after the local file (without the extension suffix), e.g. C(ansible_my_fact). type: path _measure_subset: description: - For internal use type: bool default: False description: - This module is automatically called by playbooks to gather useful variables about remote hosts that can be used in playbooks. It can also be executed directly by C(/usr/bin/ansible) to check what variables are available to a host. Ansible provides many I(facts) about the system, automatically. notes: - More ansible facts will be added with successive releases. If I(facter) is installed, variables from these programs will also be snapshotted into the JSON file for usage in templating. These variables are prefixed with C(facter_) so it's easy to tell their source. All variables are bubbled up to the caller. - Some facts may be unavailable if running under a limited account. - For more information about delegated facts, please check U(https://docs.ansible.com/ansible/latest/user_guide/playbooks_delegation.html#delegating-facts). author: - Ansible Core Team EXAMPLES: | - name: run the setup facts ansible.builtin.setup: