mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
Merge pull request #3043 from mvo5/feature/document-facts
Feature/document facts
This commit is contained in:
@@ -213,6 +213,16 @@ the remote nodes will be terminated.
|
||||
Typically you'll be only be backgrounding long-running
|
||||
shell commands or software upgrades only. Backgrounding the copy module does not do a background file transfer. :doc:`playbooks` also support polling, and have a simplified syntax for this.
|
||||
|
||||
Gathering Facts
|
||||
```````````````
|
||||
|
||||
For each system facts are gathered. These can be used to implement conditional execution of tasks but also just to get ad-hoc information about your system. You can see all facts via::
|
||||
|
||||
$ ansible all -m setup
|
||||
|
||||
Its also possible to filter via and export the facts, see the "setup" module documentation for details how to do that.
|
||||
|
||||
|
||||
Limiting Selected Hosts
|
||||
```````````````````````
|
||||
|
||||
|
||||
@@ -204,7 +204,19 @@ further information on using Portfiles with MacPorts.
|
||||
Ubuntu and Debian
|
||||
+++++++++++++++++
|
||||
|
||||
Ubuntu builds are available `in a PPA here <https://launchpad.net/~rquillo/+archive/ansible>`_
|
||||
Ubuntu builds are available `in a PPA here <https://launchpad.net/~rquillo/+archive/ansible>`_.
|
||||
|
||||
In Ubuntu 13.04 (raring) its part of the backports repository:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install ansible/raring-backports
|
||||
|
||||
In Debian testing/unstable and Ubntu 13.10+ it is available via
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install ansible
|
||||
|
||||
Debian/Ubuntu package recipes can also be built from the source checkout, run:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user