From 03e9d9a7423f53e79d58bc7d5e41dd9bd8454ac2 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 28 May 2013 18:12:33 +0200 Subject: [PATCH 1/4] update info on debian/ubuntu packages --- docsite/latest/rst/gettingstarted.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docsite/latest/rst/gettingstarted.rst b/docsite/latest/rst/gettingstarted.rst index 19ab7e85672..9a06563a012 100644 --- a/docsite/latest/rst/gettingstarted.rst +++ b/docsite/latest/rst/gettingstarted.rst @@ -204,7 +204,15 @@ further information on using Portfiles with MacPorts. Ubuntu and Debian +++++++++++++++++ -Ubuntu builds are available `in a PPA here `_ +Ubuntu builds are available `in a PPA here `_ and in 13.04 via +.. code-block:: bash + + $ sudo apt-get install ansible/raring-backports + +In Debian testing/unstable and Ubntu 13.10+ it is available via +.. code-block:: bach + + $ sudo apt-get install ansible Debian/Ubuntu package recipes can also be built from the source checkout, run: From e13842fad1a5eb395213fd7e107ba5d1b2fbfa8c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 28 May 2013 18:23:12 +0200 Subject: [PATCH 2/4] add gathering-facts example --- docsite/latest/rst/examples.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docsite/latest/rst/examples.rst b/docsite/latest/rst/examples.rst index 93ffe624c5b..167dc97d381 100644 --- a/docsite/latest/rst/examples.rst +++ b/docsite/latest/rst/examples.rst @@ -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 ``````````````````````` From b625f999388faa697e2ab27528c08e43ff39aecc Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 28 May 2013 18:25:44 +0200 Subject: [PATCH 3/4] fix typo --- docsite/latest/rst/gettingstarted.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/latest/rst/gettingstarted.rst b/docsite/latest/rst/gettingstarted.rst index 9a06563a012..942604a78f5 100644 --- a/docsite/latest/rst/gettingstarted.rst +++ b/docsite/latest/rst/gettingstarted.rst @@ -210,7 +210,7 @@ Ubuntu builds are available `in a PPA here Date: Tue, 28 May 2013 18:32:14 +0200 Subject: [PATCH 4/4] fix indent --- docsite/latest/rst/examples.rst | 4 ++-- docsite/latest/rst/gettingstarted.rst | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docsite/latest/rst/examples.rst b/docsite/latest/rst/examples.rst index 167dc97d381..22c8a33eff9 100644 --- a/docsite/latest/rst/examples.rst +++ b/docsite/latest/rst/examples.rst @@ -216,9 +216,9 @@ shell commands or software upgrades only. Backgrounding the copy module does no 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: +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 + $ 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. diff --git a/docsite/latest/rst/gettingstarted.rst b/docsite/latest/rst/gettingstarted.rst index 942604a78f5..99d30e5a4ee 100644 --- a/docsite/latest/rst/gettingstarted.rst +++ b/docsite/latest/rst/gettingstarted.rst @@ -204,15 +204,19 @@ further information on using Portfiles with MacPorts. Ubuntu and Debian +++++++++++++++++ -Ubuntu builds are available `in a PPA here `_ and in 13.04 via +Ubuntu builds are available `in a PPA here `_. + +In Ubuntu 13.04 (raring) its part of the backports repository: + .. code-block:: bash - $ sudo apt-get install ansible/raring-backports + $ 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 + $ sudo apt-get install ansible Debian/Ubuntu package recipes can also be built from the source checkout, run: