Commit graph

877 commits

Author SHA1 Message Date
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
Nándor István Krácser
18b41ebda5 Ansible inventory file location fixed
according to the official Vagrant guide at http://docs.vagrantup.com/v2/provisioning/ansible.html
2014-05-07 11:24:28 +02:00
Darren
54d1a80187 Update faq.rst
Change user mailing list link to ansible-project from ansible-devel
2014-05-06 12:07:12 +01: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
Carlos E. Garcia
4e0c01bcbf fix spelling 2014-04-29 10:44:30 -04:00
Carlos E. Garcia
7f5dd5e85d multiple spelling error changes 2014-04-29 10:41:05 -04: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
Lukáš Lalinský
95d102f5e4 Remove obsolete module development docs 2014-02-22 15:51:59 +01:00
bryfry
afd9dd7fed fix json typo 2014-02-20 23:02:07 -05:00
James Cammarata
ce358e70bd Added 'expanduser' filter to the docs 2014-02-20 13:51:01 -05:00
alvin-chang
1e8731f092 Match directory permission with 755 instead of 644
Directories need the execution bit being set therefore instead of 644, it needs 755.
2014-02-20 06:04:48 +00:00
Wes Shaddix
a9b480f937 Update intro_configuration.rst
Removed duplicate word "processed"
2014-02-19 17:15:17 -05:00
Afsin Toparlak
3542853f8c Update intro_installation.rst 2014-02-19 00:29:48 +01:00
Alan Williams
d1e7387934 Update guide_aws.rst 2014-02-18 07:45:19 -08:00
René Moser
a360bfdb73 Docsite: Fixed typo. 2014-02-18 14:23:23 +01:00
Maykel Moya
a281643505 Add link (with minor rewording) to jinja2 builtin filters 2014-02-17 12:15:42 +01:00
Maykel Moya
cb8f4b8062 Add link to ansible-examples repo 2014-02-17 12:05:53 +01:00
Maykel Moya
5ba0e7477e Fix path to index.html when launching browser 2014-02-17 12:00:41 +01:00
Maykel Moya
95761ea920 Uniform spacing across all filter examples 2014-02-17 11:54:33 +01:00
Maykel Moya
2164573864 Filter name is singular 2014-02-17 11:46:05 +01:00
Michael DeHaan
5d686a459c add note about pipelining 2014-02-15 14:35:26 -05:00
Michael DeHaan
f8f4e180f7 Add sudo note. 2014-02-15 14:21:08 -05:00
Michael DeHaan
56befa9468 Document ansible_managed changing the template. 2014-02-15 14:13:42 -05:00
Michael DeHaan
6f9ca7cfa5 Some minor docs corrections. 2014-02-15 14:05:42 -05:00
Michael DeHaan
47316074fe Document "|default" Jinja2 filter example. 2014-02-15 14:01:07 -05:00
Richard C Isaacson
2aeb2e8c5b Minor existing typo fix. 2014-02-14 14:39:28 -06:00
Richard C Isaacson
80ddd1ca75 Config resoution order correction and documentation. 2014-02-14 14:34:58 -06:00
James Cammarata
6f405c8970 Updated footer date and adding in misc. file generated by earlier doc update 2014-02-12 16:14:41 -06:00
James Cammarata
350d66af04 Updating documentation for release 1.4.5 2014-02-12 15:46:05 -06:00
Michael DeHaan
4cd403247d Merge pull request #5889 from lvh/patch-1
Tell user to make inventory plugin executable
2014-02-12 12:18:05 -05:00
Jakub Holy
f5ce5e4a78 mention that include works with addtional task files
Mention we can include roles/x/tasks/anothertasks.yml with `include anothertasks.yml` within the role's `main.yml` as this is not obvious from the documentation
2014-02-12 14:06:59 +01:00
Steve Wills
0d4bd3e851 Add some notes on installing on FreeBSD
Could perhaps be expanded with more prose, but this will do for a start.
2014-02-10 16:13:10 -05:00
Jeff Geerling
a19c394a02 Change reference to open 'intranet' to 'internet'
The Internet is being referred to, but the documentation uses the word 'intranet'.
2014-02-09 00:33:28 -06:00
James Tanner
f52deaff7b Updating changelog and docs for the new play_hosts variable 2014-02-06 00:01:39 -05:00
Laurens Van Houtven
62f3c10302 Tell user to make inventory plugin executable
The current version mentions nothing about chmod +x'ing the rax.py file, which means you get a really weird error message when you try to follow it:

```
raise ValueError, "No closing quotation"
```

... from deep inside shlex.py. I'm sure that makes sense if you realized that meant that it was trying to parse `rax.py` as an ini file...
2014-02-05 19:45:08 +01:00
Richard Isaacson
5f5ad19390 Merge pull request #5716 from kintamanimatt/playbook-roles-badparagraph
Fix multiple minor typos in a paragraph
2014-02-03 09:00:16 -08:00
Michael DeHaan
ca139a5855 re-add the events widget 2014-01-30 12:52:34 -05:00
Michael DeHaan
388365b90a Add reference to Guru to sidebar. 2014-01-30 12:32:45 -05:00
jctanner
34db2d17e3 Merge pull request #5759 from j2sol/register-hints
Add hints about what data goes into the variable
2014-01-29 12:22:18 -08:00
jctanner
b0c9211164 Merge pull request #5815 from saltvedt/patch-1
Added info on --skip-tags to tags documentation.
2014-01-29 11:07:03 -08:00
Czachur
801f8970ff Fixed typo
Used the twice in a row
2014-01-29 15:36:19 +00:00
Torstein Saltvedt
4cefd1b2db Added info on --skip-tags to tags documentation. 2014-01-29 14:16:03 +01:00
Stefhen Hovland
d88fea9a96 Fix broken Tower links 2014-01-28 23:41:39 -05:00
Michael DeHaan
3b8fd62ff9 More site rename things. 2014-01-28 20:29:42 -05:00
Michael DeHaan
bbf4731fe4 Fix dead link. 2014-01-28 20:29:42 -05:00
Michael DeHaan
d07a3b5e9b AnsibleWorks -> Ansible 2014-01-28 20:29:42 -05:00
Michael DeHaan
81e9a60589 Much rejoicing, ansibleworks.com is now ansible.com
Also note AWX is named "Tower" now, as we found that simpler.
2014-01-28 20:29:41 -05:00
Michael DeHaan
8a1abd9da3 Fix logo scaling on docsite. 2014-01-28 20:29:41 -05:00
Michael DeHaan
37faf6bf82 Remove unused graphics. 2014-01-28 20:29:41 -05:00
Micheil Smith
c667008161 Fixing *_plugins configuration names and values
Based on reading of Developing Plugins and the example ansible.cfg file, it seems the sections changed here were created in error by a copy and paste.
2014-01-25 21:52:53 +00:00
Michael DeHaan
ea138cc1fb Merge pull request #5717 from nanobeep/devel
Minor documentation fixes.
2014-01-24 17:29:48 -08:00
Jesse Keating
2841edbebd Add hints about what data goes into the variable
It's not immediately obvious what all can be accessed from the register
variable. Breadcrumbs to use -v would help.
2014-01-24 17:19:55 -08:00
Michael DeHaan
00b3f627eb Overwrite docs CSS in layout. 2014-01-24 11:24:19 -05:00
Michael DeHaan
6a2720259a Tweak background color. 2014-01-24 11:18:48 -05:00
Michael DeHaan
d04649fabb Add logo to docsite. 2014-01-24 11:11:57 -05:00
Michael DeHaan
3d4a3459ca Add favicon, remove graphics no longer referenced. 2014-01-23 18:37:26 -05:00
Michael DeHaan
2fab6a00b1 Ensure graphics show up in docsite. 2014-01-23 18:35:28 -05:00
Matt Jaynes
f3e416f065 Minor documentation fixes.
Fixed double-dash literals. Fixed broken :doc: links. Minor case fixes. Minor wording fixes.
2014-01-21 22:05:21 -07:00
Matthew Nicholas Bradley
b7bc427f1b Fix multiple minor typos in a paragraph
Add missing word, remove extraneous word, move misplaced quote,
switch single quotes to be double quotes for consistency in a
single paragraph.
2014-01-22 02:36:52 +00:00
Michael DeHaan
b8676203b9 Merge pull request #5586 from tbielawa/spiff_up_plugins
Spiff up the 'Developing Plugins' page
2014-01-17 12:34:06 -08:00
Taylor Brown
5fce765601 Removing colon from example failure message
The example failure message was given as - fail: msg="Bailing out: this play requires 'bar'"

The colon in the example causes a YAML compile error, so I am replacing it with a '.'
2014-01-17 14:09:52 +01:00
Michael DeHaan
c4425632e0 Add quickstart video back into docs nav. 2014-01-13 17:54:49 -05:00