Merge pull request #3043 from mvo5/feature/document-facts
Feature/document facts
This commit is contained in:
commit
c9b2df619b
2 changed files with 23 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue