Commit graph

902 commits

Author SHA1 Message Date
Michael DeHaan
dfd4f18095 Docsite things. 2014-06-19 14:25:28 -05:00
Michael DeHaan
f423a8dffe Slight examples tweak 2014-06-19 14:25:23 -05:00
Craig Ackerman
aba2cbfbc6 Additional Windows Setup info 2014-06-19 14:24:15 -05:00
Craig Ackerman
fab0374572 Added Windows intro content 2014-06-19 14:24:15 -05:00
Michael DeHaan
e3cc1eaefc Update windows docs in progress. 2014-06-19 14:24:14 -05:00
Michael DeHaan
ac6ccb77cc Intro windows docs. 2014-06-19 14:24:12 -05:00
Michael DeHaan
ab10d91881 Add start of introductory windows documentation. 2014-06-19 14:24:12 -05:00
Bill Nottingham
78ef6c79b9 mention EPEL 7 alongside 6 2014-06-19 14:11:35 -04:00
Victor Castell
8fe3678b60 Numbers is not a string module 2014-06-17 12:58:07 +02:00
Victor Castell
4f949f3bc7 ascii should be ascii_letters 2014-06-17 12:57:29 +02:00
Bill Nottingham
e74991de98 Update tower.rst
Point to current URLs, fix a Ansible/Tower reference.
2014-06-16 15:51:25 -04:00
Cees-Jan Kiewiet
43d19218c3 Made it a bit more obvious that 45 are 45 seconds 2014-06-12 09:12:52 +02:00
Gerry Skerbitz
b616f4b98f Update intro_installation.rst
This is different wording for using the PPA to install.  I also added the installation of apt-add-repository package which isn't always installed.

(I'm a newbie but while running these I wished whatever style was being used on the docs pages would have let me  cut and paste the commands without having to edit out the $ characters manually....)
2014-06-08 16:16:13 -05:00
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
Hagai
a552c07230 Added note on which version did dirs in group_vars start working 2014-05-22 17:54:21 +03:00
Hagai
e2cc510e37 Update docs to include directories inside group_vars 2014-05-22 15:31:20 +03:00
Adam Miller
76814089ae add async fire-forget/check functionality 2014-05-20 20:28:55 -05: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
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