Commit graph

832 commits

Author SHA1 Message Date
eludom
b1b17ce15a Update developing_modules.rst 2014-06-05 13:00:05 -04:00
Matt Martz
074263af8d Add rackconnect and managed cloud automation check examples 2014-06-04 15:12:27 -05:00
Bill Carlson
974ccc3486 Clarified, remote_user config item does override ansible current user if defined. 2014-06-04 13:26:16 -05:00
tsemerad
d0241f5640 made nested lists diff lengths - caused confusion
As a relatively-new user to Ansible, the Nested Loop example made me think it was looping through both lists together (`alice` would go with `clientdb`, `bob` with `employeedb`) and not actually nested. I realize now I was just being stupid, but I feel making the example lists different lengths would prevent such confusion in the future.
2014-06-03 17:45:03 -07:00
James Cammarata
f2d05d2e6a Merge pull request #7556 from jturner314/rm-duplicate-toc
Remove duplicate table of contents in Conditionals
2014-05-27 16:03:24 -05:00
Adam Morris
6c9cb5de87 Update test_strategies.rst
Changed unit tests to unit test for the singular playbook...
2014-05-27 10:54:14 -07:00
Adam Morris
30ac368d5c Update test_strategies.rst
Typo - State should have been stage.
2014-05-27 10:48:18 -07:00
Jim Turner
4d7fe4b7cf Remove duplicate table of contents in Conditionals 2014-05-26 23:34:50 -04:00
Michael DeHaan
e43ae3c0f7 Update test strategies guide. 2014-05-26 08:12:39 -04:00
Matt Martz
0e953c2863 Add run_once task key
This caused the task to act like  bypass host loop plugin and
execute only on a single host. Can be used with delegate_to
2014-05-19 12:33:47 -05:00
mrdeathless
856681a28d Add missing space between var and delimeter 2014-05-17 16:43:23 +03:00
Michael Warkentin
998c8e438f Retinafy favicon.ico 2014-05-12 11:29:45 -04:00
James Cammarata
fd27afdc0d Adding ansible_shell_type and basic environment construction on it
Previously we assumed the shell on the target systems were 'sh'-
compliant when formatting environment variables preceding command
strings. This patch corrects that by basing the target shell type
on the DEFAULT_EXECUTABLE setting, which can be overridden on a
per-host basis using the inventory variable 'ansible_shell_type'.

Fixes #7352
2014-05-09 16:29:56 -05:00
Michael DeHaan
f247b93212 Add the start of a graphviz doc to illustrate variable precedence graphically. 2014-05-09 17:13:01 -04:00
Christian Berendt
58ff9cd7c8 fixed typos found by RETF rules in RST files
rules are avaialble at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos
2014-05-03 17:59:50 +02:00
James Cammarata
6069ff6e9e Adding a new system_warnings config option to supress warnings 2014-04-30 14:44:10 -05:00
Michael DeHaan
9a70dd1c94 Slight tweak to regex examples. 2014-04-29 16:54:14 -04:00
Michael DeHaan
cf54098dab Merge pull request #6984 from clconway/variable-re-doc
Adds search/match examples to "Playbooks > Variables > Jinja2 Filters" d...
2014-04-29 16:50:55 -04:00
Michael DeHaan
4cf67c4722 Clarify lookup plugin execution location per request. 2014-04-29 16:49:34 -04:00
Michael DeHaan
e54320412d Add Mavericks install notes 2014-04-29 16:42:25 -04:00
Michael DeHaan
0720af11ae Merge pull request #7186 from jf/docfix-obvious-quick-simples
Obvious quick fixes:
2014-04-29 16:38:26 -04:00
Michael DeHaan
ef3c9c6026 Add an example of how to reload local facts. 2014-04-29 15:46:47 -04:00
Michael DeHaan
cff4b5d412 Clarify .ssh/config port usage. 2014-04-29 15:39:13 -04:00
Michael DeHaan
dcd471b96f Explain how to embed modules in roles. 2014-04-29 15:24:19 -04:00
Jeffrey 'jf' Lim
7104ff6fa8 playbooks_roles.rst: remove extraneous comma 2014-04-30 02:21:43 +08:00
Jeffrey 'jf' Lim
d80f4624d4 Obvious quick fixes:
- extra 'the' in intro_inventory
- capitalization in playbooks_roles
2014-04-30 02:21:43 +08:00
mjfroehlich
1770ba7380 Update playbooks_delegation.rst 2014-04-27 21:07:09 +02:00
Nick Budidharma
337682b6a0 Add note about with_fileglob to "Looping over Fileglobs"
Reference #7102
2014-04-23 17:52:32 -04:00
James Cammarata
56c7b23a69 Merge pull request #6906 from idupree/patch-1
Document the `ec2` group.
2014-04-23 10:12:43 -05:00
James Cammarata
a6068b09ac Fix collision in random filter name by merging functionality
Merges the functionality of the original jinja2 random filter with
the one we provide.

Fixes #7113
2014-04-22 14:21:00 -05:00
Adam Menges
a039146081 added homebrew to install doc 2014-04-15 13:15:43 -07:00
Chris Conway
0ec5d78e20 Modifies match/search filter examples to use non-trivial regexes. 2014-04-14 16:50:30 -07:00
Michael DeHaan
eb1b4892b2 Merge pull request #6944 from ex-nerd/patch-1
Explain how to do multiple paths in roles_path
2014-04-14 11:38:24 -04:00
Michael DeHaan
b45123b77c Merge pull request #6950 from sam-at-github/patch-1
What particular script?
2014-04-14 11:34:59 -04:00
Michael DeHaan
874aa2bb23 Merge pull request #6954 from rasputnik/patch-1
fix typo
2014-04-14 11:29:29 -04:00
Chris Conway
beba4c5a1a Adds search/match examples to "Playbooks > Variables > Jinja2 Filters" doc section. 2014-04-14 08:25:41 -07:00
Nick Zaccardi
a6c00989d1 Add reference to the join filter. 2014-04-12 21:26:08 -04:00
Dick Davies
ae0cb241a2 fix typo 2014-04-11 16:48:51 +01:00
sam-at-github
ebb33ef9d0 What particular script?
Moved a sentence. Sentence refers to script, "this particular script" before it has been introduced. Moved sentence to after intro as it confused me. I though I'd missed something..
2014-04-11 23:50:36 +10:00
Chris Petersen
ca1f6db28d Explain how to do multiple paths in roles_path
Document that roles_path can support multiple colon-separated paths
2014-04-10 22:28:27 -07:00
Brian Coca
80cd217eb7 simple random filter 2014-04-09 09:03:38 -04:00
Isaac Dupree
bef3233000 Document the ec2 group.
This group is useful when using multiple inventory sources.
2014-04-08 16:39:26 -04:00
jaseg
ba65c23ff9 modules.rst: be consistent with service module documentation 2014-04-08 16:45:55 +02:00
Matt Martz
5770428e91 Add version_compare filter 2014-04-02 20:21:30 -05:00
Michael DeHaan
5a075e3b93 Clarify docs section slightly. 2014-04-02 17:47:01 -04:00
Michael DeHaan
8d9424c5ed Merge branch 'docs' of git://github.com/angstwad/ansible into devel 2014-04-02 17:44:46 -04:00
James Cammarata
e2d86e4f43 Splitting SETUP_CACHE into two caches, one for host vars and one for setup facts 2014-04-01 16:23:33 -05:00
James Tanner
06920b2e47 Add docs examples for regex_replace 2014-03-31 14:14:57 -04:00
Eric Dahl
9309b6b0e4 Documentation: fix various small typos 2014-03-30 18:45:55 -05:00
Michael DeHaan
9870784d80 Merge pull request #6733 from jjshoe/patch-1
Add meta to the directory layout for roles
2014-03-27 16:54:12 -04:00
Tim Miller
0306096fee Fix typo in with_first_found doc. 2014-03-27 13:42:40 -07:00
jjshoe
647c92791c Add meta to the directory layout for roles 2014-03-27 15:08:20 -05:00
Chris Conway
f1ab5109ea Fixes minor typos in the GCE guide, one of which causes a code block to fail to render. 2014-03-26 07:37:34 -07:00
James Cammarata
18d82d1eb6 Documentation/examples updates for new 1.6 accelerate options
Fixes #6692
2014-03-25 19:32:48 -05:00
James Cammarata
1fa0fab6cb Documentation updates for accelerate mode improvements 2014-03-23 14:45:49 -05:00
Michael DeHaan
ba79cf34df Update the FAQ advice on recursive copy now that there are two good ways to do this. 2014-03-19 18:05:33 -04:00
Michael DeHaan
e639b5382b Change default gathering policy, add to docs. 2014-03-19 18:03:03 -04:00
Cristian Ciupitu
0749112286 Micro-optimization: replace s.find(x)!=-1 with x in s
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-16 13:10:28 -04:00
=
c67631ccd0 resolves #6494 - added note to page 2014-03-15 20:43:10 -04:00
Michael DeHaan
28dc88ac23 Merge pull request #6505 from quiver/fix-typo-faq
Fix docs for faq
2014-03-15 12:05:43 -05:00
George Yoshida
5ef3cb26d4 Fix docs for faq
- correct spelling
2014-03-15 23:36:42 +09:00
George Yoshida
76d5b96406 Fix docs for playbooks_intro
remove unnecessary period.
2014-03-15 15:30:43 +09:00
Michael DeHaan
8082f74798 Add GCE guide and retool a bit to show the add_host interactions, improvements/upgrades are welcome.
Had to shoot the recently merged nova_group module in the head temporarily as it contained a dict comprehension, which means it can't work on all the platforms
and was also breaking docs builds on CentOS.  Will engage with list about that shortly.
2014-03-14 15:02:22 -04:00
Franck Cuny
cfe0465934 Add guide for Google Cloud Engine. 2014-03-14 15:02:22 -04:00
Michael DeHaan
47bfa8b9eb Update index.rst 2014-03-13 19:30:01 -05:00
Michael DeHaan
84f918d320 Merge pull request #6381 from franckcuny/doc-module-lang
Document the module_lang option.
2014-03-10 20:35:04 -05:00
Michael DeHaan
efdefe6c64 Merge pull request #6380 from sivel/best-practice-adhoc
ad-hoc doc fixes
2014-03-10 20:34:30 -05:00
James Tanner
7b6d5e7bbf Fix merge conflicts from 1.5.1 release notes 2014-03-10 18:55:17 -04:00
Richard C Isaacson
16c05cbc88 Update files for 1.5.1 release. 2014-03-10 17:40:36 -05:00
Franck Cuny
fb14b53130 Document the module_lang option.
Closes #6169.
2014-03-10 15:19:05 -07:00
Matt Martz
6607010b2b Fix ad-hoc command examples 2014-03-10 16:49:45 -05:00
jjshoe
2ccbdd65c1 Make this statement understandable grammatically 2014-03-10 09:02:51 -05:00
David Wheaton
00ed2b811f Update playbooks_variables.rst
incorrect/confusing wording in Jinja2 note?
2014-03-08 13:53:16 -08:00
Dolph Mathews
8808e029f9 spelling correction for "separate"
s/seperate/separate/

http://en.wiktionary.org/wiki/separate
2014-03-08 04:51:34 -06:00
Michael DeHaan
8388ce626f Merge pull request #6326 from karelstriegel/patch-1
Update intro_adhoc.rst
2014-03-07 20:43:23 -06:00
George Angelopoulos
e846b4c619 english syntax fix
remove redundant 'are'
2014-03-07 14:36:46 +02:00
karelstriegel
2cf3a7f7be Update intro_adhoc.rst
Small grammar fix
2014-03-07 10:34:44 +01:00
Paul Durivage
418b9fdef6 Spelling, grammar, layout changes, plus more examples and an orchestration chapter 2014-03-05 14:36:21 -06:00
Jeremy Schneider
c4fea2d5b6 Update playbooks_vault.rst
very minor grammatical fix for readability
2014-03-05 10:01:41 -06:00
jctanner
40ee030790 Merge pull request #6265 from franckcuny/gce-fixes
Add credential parameters to the GCE modules.
2014-03-05 00:11:52 -05:00
Franck Cuny
6294264dc4 Add credential parameters to the GCE modules.
In order to simplify the workflow with the GCE modules, it's now
possible to add the parameters and project name as arguments to the
various GCE modules.

The inventory plugin also returns the IP of the host in
`ansible_ssh_host` so that you don't have to specify IPs into the
inventory file.

Some update to the documentation are also added.

Closes #5583.
2014-03-04 19:27:49 -08:00
Michael DeHaan
ca4ff261eb Merge pull request #6282 from koffu/patch-1
Update intro_installation.rst
2014-03-04 15:21:11 -05:00
koffu
b75768c206 Update intro_installation.rst
error in ubuntu install instructions
2014-03-04 22:11:58 +02:00
Markus Amalthea Magnuson
745b419cc1 Fix broken Ansible Tower link. 2014-03-04 20:57:29 +01:00
Markus Amalthea Magnuson
e13278606b Remove trailing whitespace. 2014-03-04 20:57:12 +01:00
Nathan W
601c4f17ec Fixed Links
Link to guru page was not rendering correctly on http://docs.ansible.com/faq.html.
Link to readme returned 404.
2014-03-04 12:18:34 -06:00
arianitu
fdf6ab016e Update playbooks_variables.rst
Another minor typo.
2014-03-03 16:08:40 -05:00
arianitu
93c331b222 minor typo in playbooks_variables.rst
so so, this should probably be fixed!
2014-03-03 16:03:54 -05:00
George Angelopoulos
b8d7154c30 typo fix 2014-03-02 13:21:33 +02:00
Michael DeHaan
9d01d88a57 Bump versions on the devel branch (devel branch version is 1.6) 2014-02-28 18:27:16 -05:00
Michael DeHaan
a6b4b9a751 Show more whitespace throughout playbook examples to encourage better standards in first playbooks folks write. 2014-02-28 14:18:44 -05:00
Michael DeHaan
5443ddec75 Trim references to fireball as we want folks using accelerate or pipelining options. Fireball is pretty well deprecated at this point, but will still be part of the release. 2014-02-28 13:50:39 -05:00
Michael DeHaan
2dbbf29421 Merge pull request #6076 from wshaddix/patch-1
Update intro_configuration.rst
2014-02-28 13:12:06 -05:00
Michael DeHaan
9a3891b65c Add vault documentation. 2014-02-27 18:00:02 -05:00
Michael DeHaan
1a6db5449a Document vault and make some cross-references in places where people should read about vault. 2014-02-27 17:44:21 -05:00
Michael DeHaan
5cae9807d9 Trim pipelining docs a bit. 2014-02-27 16:55:36 -05:00
Kent R. Spillner
1fcc9ff666 lookup_plugins: loop over hashes
Create a lookup plugin named dict that can be used to loop over hashes.
It converts a dict into a list of key-value pairs, with attributes named
"key" and "value."  Also adds a brief explanation and simple example to
the docs.

Signed-off-by: Kent R. Spillner <kspillner@acm.org>
2014-02-25 11:20:15 -06:00
James Cammarata
4e49b32419 Adding a version note to the expanduser filter documentation 2014-02-24 14:36:13 -06:00
jjshoe
6942e0eea1 Typo/Grammar fix. 2014-02-24 13:03:01 -06:00
Andy Hill
bd90fdae94 Fix typo in guide_rax 2014-02-23 17:25:46 -06:00