Commit graph

5570 commits

Author SHA1 Message Date
Michael DeHaan
17cf833e0e Merge branch 'user_password_update_optional' of git://github.com/bcoca/ansible into devel
Conflicts:
	library/system/user
2013-06-16 22:49:06 -04:00
Michael DeHaan
2eb3a9a3c9 Resolve docs conflict. 2013-06-16 22:48:11 -04:00
Michael DeHaan
572f49b11f Fix merge conflict. 2013-06-16 22:47:29 -04:00
Michael DeHaan
c3544de1df Merge pull request #3228 from skvidal/facts.d
first cut and docs for facts.d mechanism for setup module
2013-06-16 19:46:02 -07:00
Michael DeHaan
58e8a97e91 Merge pull request #3225 from eest/openbsd_pkg-check_mode
openbsd_pkg: Add check_mode support.
2013-06-16 19:40:46 -07:00
Michael DeHaan
613df1d649 Merge pull request #3213 from veeti/apt_key_data
Document the data argument for apt_key
2013-06-16 19:39:55 -07:00
Michael DeHaan
d9f91be34a Merge pull request #3227 from bcoca/modules_wantlist
implementing with_items list globbing made easier for modules
2013-06-16 19:29:02 -07:00
Michael DeHaan
f87299842c Merge pull request #3199 from chrishoffman/doc_error
Fixing documentation error
2013-06-16 19:28:12 -07:00
Michael DeHaan
294230d529 Merge pull request #3177 from stintel/mysql56-compat
Fix MySQL 5.6 compatibility
2013-06-16 19:27:17 -07:00
Michael DeHaan
936e61fc28 Merge pull request #3181 from melodous/devel
HP-UX virtualization facts
2013-06-16 19:26:07 -07:00
trbs
a4223e119d fixed x-bits in git 2013-06-16 22:22:16 -04:00
Michael DeHaan
4849539399 Merge pull request #3194 from E-M/patch-2
Fixed Issue #3193 - make rhn_register module compatible with EL 5
2013-06-16 19:17:05 -07:00
Michael DeHaan
78fdedd490 Merge remote branch 'origin' into devel
Conflicts:
	library/web_infrastructure/django_manage
2013-06-16 22:15:30 -04:00
Michael DeHaan
512d7ba531 Spelling fixes 2013-06-16 22:09:35 -04:00
Michael DeHaan
a1d1ce8360 Merge branch 'docs_examples' of git://github.com/jpmens/ansible into standardize_docs 2013-06-16 22:07:20 -04:00
Michael DeHaan
f0d66f0cda Merge pull request #3176 from jpmens/sol-epoch
setup epoch time doesn't have tics on Python 2.6.4 (Solaris).
2013-06-16 19:06:19 -07:00
Seth Vidal
36df7e8c95 cut and docs for facts.d mechanism for setup module 2013-06-15 18:31:31 -04:00
Brian Coca
4942a06bc2 now modules can implement with_items list globbing w/o updating
hardcoded lists in ansible code, just add WITH_ITEMS_USES_LIST in a
comment anywhere, and of course, support recieving params as list.

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-15 16:28:43 -04:00
Jan-Piet Mens
5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Brian Coca
2470c3f26d now you have the option to NOT set the password if the user already exists,
this works well for 'initial password setting' on user creation and avoids
having extra tasks and conditionals.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-15 12:16:25 -04:00
Brian Coca
9e6a584c3f Added hardlink option
Also a bit nicer now with failures
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-15 11:14:34 -04:00
Patrik Lundin
9dfc420927 openbsd_pkg: Add check_mode support.
The biggest change has been to package_latest since it was previously
just comparing version numbers before and after an upgrade had run.
We now parse the output from a dry run instead.

Thanks to Johan Belin for triggering the discussion :).
2013-06-15 16:27:45 +02:00
Michael DeHaan
0bd5fe9951 Merge pull request #3221 from sergevanginderachter/filedocfix
docfix on file module, aliases for path parameter
2013-06-14 15:24:21 -07:00
Serge van Ginderachter
8b188429c7 docfix on file module, aliases for path parameter 2013-06-14 20:45:58 +02:00
Dale Sedivec
7681b1ce68 Improve Markdown (and other) module doc output
- The html_ify filter now escapes HTML found in module documentation.
  THIS COULD AFFECT MORE THAN JUST MARKDOWN but I didn't see any modules
  expecting to use e.g. HTML entities or HTML tags in their
  documentation.

- The markdown_ify filter (used as jpfunc in markdown.j2) escapes at
  least a few Markdown in-line formatting characters.

- Improvements to markdown.j2:

    - Call jpfunc on the module name heading so that it gets escaped for
      Markdown (e.g. my_module_name becomes my\_module\_name).

    - Added paragraph breaks between paragraphs in the description.

    - Added examples heading, which is consistent with the notes heading
      below it.
2013-06-14 13:27:59 -05:00
Arturas Slajus
b86740e1fd datadog_event module: submit your events to DataDog service. 2013-06-14 18:36:14 +03:00
Lorin Hochstein
d7ba2e06eb Document: with_file(glob) relative path and roles
Document that with_file and with_fileglob path is relative to
the files directory inside of a role.
2013-06-14 11:15:45 -04:00
David Golden
d65f45f0b2 Expand sudo_user after variable merging
Previous commit c3659741 expanded sudo_user during task construction,
but this is too early as it does not pick up variables set during
the play.

This commit moves sudo_user expansion to the runner after variables
have been merged.
2013-06-14 09:59:31 -04:00
Veeti Paananen
1284bfd742 Add a file argument to apt_key 2013-06-14 14:34:04 +03:00
Veeti Paananen
dcb06a2306 Document the data argument for apt_key 2013-06-14 14:32:56 +03:00
Derek Carter
0840af5bda fixed msg bug in library/cloud/quantum_network 2013-06-13 23:02:04 -04:00
Chris Hoffman
8a55210fb6 Removing all the default: null from the documentation 2013-06-13 20:43:14 -04:00
trbs
653fac2f5c fix loading order of ansible.cfg in documentation 2013-06-13 23:13:54 +02:00
trbs
10dc5ae876 minor fix, path name of ansible.cfg in changelog 2013-06-13 23:09:22 +02:00
Michael DeHaan
cf2ddb6f80 Merge pull request #3197 from lorin/doc-fixup
Fix broken link in django_manage doc
2013-06-13 14:05:58 -07:00
trbs
0d4eec36f4 fixed x-bits in git 2013-06-13 23:05:08 +02:00
Chris Hoffman
499c7309e3 Fixing documentation error 2013-06-13 15:19:35 -04:00
Lorin Hochstein
d2ea9d85d0 Fix broken link in django_manage doc 2013-06-13 14:01:32 -04:00
Edgars M.
46ad4299a8 Fixed Issue #3193 2013-06-13 15:17:35 +03:00
Michael DeHaan
39aa5e5eac Merge pull request #3175 from jpmens/setup9
Protect None value in setup module (ansible 1.2)
2013-06-13 04:22:15 -07:00
Michael DeHaan
de7487f316 Merge pull request #3179 from ralphbean/docs-typofix
Fix a typo in the docs.
2013-06-13 04:21:36 -07:00
Michael DeHaan
e6f745e2a8 Merge pull request #3189 from E-M/patch-1
Fixed module rhn_register name in examples section
2013-06-13 04:20:52 -07:00
E-M
170a5f36f1 Fixed module name in examples section
Examples showed that modules name is rhnreq_ks, when it actually is rhn_register.
2013-06-13 11:13:53 +03:00
Raul Melo
f9f0f5ce2c HP-UX virtualization facts 2013-06-12 18:59:20 +02:00
Ralph Bean
dd5707ddd9 Well, a little more readability. 2013-06-11 14:58:28 -04:00
Ralph Bean
416e72c900 Fix a typo in the docs. 2013-06-11 14:54:42 -04:00
Stijn Tintel
767c208e6c Fix MySQL 5.6 compatibility
In MySQL 5.6, the root account created by default during MySQL
installation has the PROXY ... WITH GRANT OPTION privilege for ''@'',
that is, for all users.

The mysql_user module tries to revoke this privilege, but this fails:
_mysql_exceptions.ProgrammingError: (1064, "You have an error in your
SQL syntax; check the manual that corresponds to your MySQL server
version for the right syntax to use near '''@'' FROM 'root'@'localhost''
at line 1")

Quick fix: don't revoke privilege if user is root and the privilege to
revoke contains PROXY.
2013-06-11 15:00:14 +02:00
Jan-Piet Mens
f6521d88f5 setup epoch time doesn't have tics on Python 2.6.4 (Solaris). 2013-06-11 09:13:32 +02:00
Jan-Piet Mens
3f301fd439 Protect None value in setup module 2013-06-11 07:08:55 +02:00
Michael DeHaan
643b5e2c5d Fix dead link, remove redundant section. 2013-06-10 18:37:56 -04:00