Commit Graph

5674 Commits (bf56d69df701239774f4cb0ce91109a8e91b2abb)
 

Author SHA1 Message Date
Seth Vidal 36df7e8c95 cut and docs for facts.d mechanism for setup module 12 years ago
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>
12 years ago
Jan-Piet Mens af051d6f77 ini_file: add support for lists of options/values 12 years ago
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
12 years ago
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>
12 years ago
Brian Coca 9e6a584c3f Added hardlink option
Also a bit nicer now with failures
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
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 :).
12 years ago
Michael DeHaan 0bd5fe9951 Merge pull request #3221 from sergevanginderachter/filedocfix
docfix on file module, aliases for path parameter
12 years ago
Serge van Ginderachter 8b188429c7 docfix on file module, aliases for path parameter 12 years ago
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.
12 years ago
Arturas Slajus b86740e1fd datadog_event module: submit your events to DataDog service. 12 years ago
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.
12 years ago
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.
12 years ago
Veeti Paananen 1284bfd742 Add a file argument to apt_key 12 years ago
Veeti Paananen dcb06a2306 Document the data argument for apt_key 12 years ago
martin f. krafft 3b008d6fa6 Expand usage synopsis
'source' is actually a "bashism" and the POSIX-way of sourcing a file
uses the single dot (which is arguably less readable). Both yield the
same result, and since the script may now also be sourced from
within the hacking directory, this commit expands the usage synopsis
accordingly.

Signed-off-by: martin f. krafft <madduck@madduck.net>

Conflicts:
	hacking/env-setup
12 years ago
martin f. krafft 581dea70d1 Generalise determination of hacking directory path
Bash needs a special case to determine the dirname of the sourced path
(the hacking dir), but in all other cases, using $0 allows the script to
be sourced also from within the hacking directory, not only from its
parent.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Vincent Viallet f9e3480d12 Ensure an existing ssh-key returns useful information (id + name) instead of a string; this way it can be used to register a variable to use in a later task. 12 years ago
Vincent Viallet fd5bb8c7f7 Add digital-ocean cloud support. 12 years ago
Derek Carter 0840af5bda fixed msg bug in library/cloud/quantum_network 12 years ago
Chris Hoffman 8a55210fb6 Removing all the default: null from the documentation 12 years ago
trbs 653fac2f5c fix loading order of ansible.cfg in documentation 12 years ago
trbs 10dc5ae876 minor fix, path name of ansible.cfg in changelog 12 years ago
Michael DeHaan cf2ddb6f80 Merge pull request #3197 from lorin/doc-fixup
Fix broken link in django_manage doc
12 years ago
trbs 0d4eec36f4 fixed x-bits in git 12 years ago
Chris Hoffman 499c7309e3 Fixing documentation error 12 years ago
Lorin Hochstein d2ea9d85d0 Fix broken link in django_manage doc 12 years ago
Edgars M. 46ad4299a8 Fixed Issue #3193 12 years ago
Michael DeHaan 39aa5e5eac Merge pull request #3175 from jpmens/setup9
Protect None value in setup module (ansible 1.2)
12 years ago
Michael DeHaan de7487f316 Merge pull request #3179 from ralphbean/docs-typofix
Fix a typo in the docs.
12 years ago
Michael DeHaan e6f745e2a8 Merge pull request #3189 from E-M/patch-1
Fixed module rhn_register name in examples section
12 years ago
E-M 170a5f36f1 Fixed module name in examples section
Examples showed that modules name is rhnreq_ks, when it actually is rhn_register.
12 years ago
Serge van Ginderachter 2a7f9df109 add support for callback_plugins/ relative to playbook 12 years ago
Bruce Pennypacker 14eda0d125 Added replication_source to the results 12 years ago
Raul Melo f9f0f5ce2c HP-UX virtualization facts 12 years ago
Bruce Pennypacker 1ef29a3654 endpoint is available only when instance is available 12 years ago
Ralph Bean dd5707ddd9 Well, a little more readability. 12 years ago
Ralph Bean 416e72c900 Fix a typo in the docs. 12 years ago
Bruce Pennypacker c9e373dd7d Added modify action 12 years ago
Bruce Pennypacker 26c37d7c07 added 'facts' action 12 years ago
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.
12 years ago
Jan-Piet Mens f6521d88f5 setup epoch time doesn't have tics on Python 2.6.4 (Solaris). 12 years ago
Jan-Piet Mens 3f301fd439 Protect None value in setup module 12 years ago
Michael DeHaan 643b5e2c5d Fix dead link, remove redundant section. 12 years ago
gw0 [http://gw.tnode.com/] 47c8396598 Fix `mongodb_user` compatibility with MongoDB 2.2 (used in Debian 7). 12 years ago
Michael DeHaan 1fd863cf5d Update docs to reference release tarball directory on new site. 12 years ago
Bruce Pennypacker d62beb2df5 fixed bug in delete action - skip_final_snapshot must always be set 12 years ago
Michael DeHaan 18c8382fb2 Update .gitignore 12 years ago
Michael DeHaan 404b082d82 Version bump and assorted things to start new development version. 12 years ago
Michael DeHaan f67c13f8f1 Update packaging dates in preparation for release. 12 years ago