Commit graph

1974 commits

Author SHA1 Message Date
Brian Coca
98c290f9e1 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
9adf436270 ini_file: add support for lists of options/values 2013-06-15 22:21:34 +02:00
Jan-Piet Mens
3404a0fc16 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
e85ec7a9db 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
45a7f23b73 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
e5abd86d43 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
Serge van Ginderachter
f8f9e7167d docfix on file module, aliases for path parameter 2013-06-14 20:45:58 +02:00
Arturas Slajus
1508a49a66 datadog_event module: submit your events to DataDog service. 2013-06-14 18:36:14 +03:00
Veeti Paananen
e4c4f8ba7d Add a file argument to apt_key 2013-06-14 14:34:04 +03:00
Veeti Paananen
6a572f3607 Document the data argument for apt_key 2013-06-14 14:32:56 +03:00
Vincent Viallet
6c88a80bd7 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. 2013-06-14 14:59:52 +08:00
Vincent Viallet
e36fd462c3 Add digital-ocean cloud support. 2013-06-14 11:56:01 +08:00
Derek Carter
7a73559802 fixed msg bug in library/cloud/quantum_network 2013-06-13 23:02:04 -04:00
Chris Hoffman
1e80df4e9b Removing all the default: null from the documentation 2013-06-13 20:43:14 -04:00
trbs
593d37f93a fixed x-bits in git 2013-06-13 23:05:08 +02:00
Chris Hoffman
b437ac7dda Fixing documentation error 2013-06-13 15:19:35 -04:00
Lorin Hochstein
bc6416d202 Fix broken link in django_manage doc 2013-06-13 14:01:32 -04:00
Edgars M
e537232c63 Fixed Issue #3193 2013-06-13 15:17:35 +03:00
Michael DeHaan
3c6d5f95f8 Merge pull request #3175 from jpmens/setup9
Protect None value in setup module (ansible 1.2)
2013-06-13 04:22:15 -07:00
E-M
7460c42c28 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
Bruce Pennypacker
078a0ef7c7 Added replication_source to the results 2013-06-12 16:22:35 -04:00
Raul Melo
866903ebbc HP-UX virtualization facts 2013-06-12 18:59:20 +02:00
Bruce Pennypacker
47bc6e7ff3 endpoint is available only when instance is available 2013-06-12 11:44:33 -04:00
Bruce Pennypacker
90c3e7685d Added modify action 2013-06-11 13:11:11 -04:00
Bruce Pennypacker
849cbfdf1c added 'facts' action 2013-06-11 10:45:50 -04:00
Stijn Tintel
66ffef5967 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
8bce89a616 setup epoch time doesn't have tics on Python 2.6.4 (Solaris). 2013-06-11 09:13:32 +02:00
Jan-Piet Mens
846b48655b Protect None value in setup module 2013-06-11 07:08:55 +02:00
gw0 [http://gw.tnode.com/]
f86baf554c Fix mongodb_user compatibility with MongoDB 2.2 (used in Debian 7). 2013-06-10 22:43:50 +02:00
Bruce Pennypacker
eba6c4195e fixed bug in delete action - skip_final_snapshot must always be set 2013-06-10 15:49:38 -04:00
Bruce Pennypacker
2771625be4 Amazon RDS module 2013-06-10 12:17:31 -04:00
Michael DeHaan
30cab814e8 Use get_bin_path for blkid and add some aliases to the filesystem module. 2013-06-10 10:39:19 -04:00
Andrew Straw
7d9eb14b2a allow apt-key module to work with binary key 2013-06-09 20:03:28 +00:00
Michael DeHaan
12cd6e2a50 Merge pull request #3156 from jlund/authorized_key
Updates to the authorized_key documentation
2013-06-08 11:24:15 -07:00
Michael DeHaan
c6e56bd207 Rename module 2013-06-08 14:18:31 -04:00
Michael DeHaan
e87265fa93 Update "added in" version in zypper, update doc name of rhn_register module. 2013-06-08 14:09:37 -04:00
Michael DeHaan
35cbb1a09e Rename module 2013-06-08 14:08:52 -04:00
Michael DeHaan
0cb9d42721 Rename rhnreg_ks to rhn_register 2013-06-08 14:08:23 -04:00
Michael DeHaan
4d3106a56b Merge pull request #3148 from jlaska/rhnreg_ks
Add rhnreg_ks module
2013-06-08 11:06:24 -07:00
Patrick Callahan
ec60e59df3 BUG FIX: Add package name to the cmd. 2013-06-07 23:31:21 -04:00
Joshua Lund
dcad99ca6b Updates to the authorized_key documentation
* Clarified the meaning of 'user'
* Changed 'sshdir' to 'path' in the example
  * 'sshdir' is used internally in the module, but the argument is 'path'
* Made the capitalization consistent in the descriptions
2013-06-07 15:43:42 -06:00
James Laska
8593409767 Minor adjustments to subscription_manager and rhnreg_ks 2013-06-07 14:18:23 -04:00
James Laska
3e05292fa3 Reorganize subscription_manager module.
Also ...
 * When unregistering, first unsubscribe from all content
2013-06-07 14:07:00 -04:00
James Laska
7ccede32fa The rhnreg_ks module acts as a wrapper to the command 'rhnreg_ks'. The
rhnreg_ks command allows users to manage registration to a Red Hat
Network (RHN) (e.g. rhn.redhat.com) server.  The moduel will also
interact with the specified RHN system via XMLRPC as needed.

Before proceeding with registration, the rhnreg_ks module will enable
the system to receive updates from RHN.  This involves enabling the
appropriate RHN yum plugin, as well as disabling an active
subscription-manager yum plugin.

Once enabled, the module will support the following operations:
 * configure
 * register
 * subscribe to custom child channels (see `rhn-channel` command)
 * unregister
2013-06-07 13:45:25 -04:00
Joshua Lund
6316a78776 Setting version_added for this feature to 1.3 2013-06-07 11:37:41 -06:00
Toshaan Bharvani
bf6bd10797 changed get_mount_facts to ignore mount types 'none' 2013-06-07 16:55:33 +02:00
Patrick Callahan
8c32154d1e Simple zypper module to install, remove, or upgrades packages. 2013-06-06 21:57:32 -04:00
Michael DeHaan
abfb76b415 Fixup doc YAML 2013-06-06 19:21:18 -04:00
James Laska
04b11668cb Updated examples and documentation 2013-06-06 16:30:06 -04:00
James Laska
7c14adf891 Add RHN subscription_manager module
The subscription_manager module acts as a wrapper to the command
'subscription-manager'.  The subscription-manager utility allows users
to manage RHN registration, subscription and yum repositories from the
Red Hat Entitlement platform.

Currently, this module supports the following sub-commands:
 * config
 * [un]register
 * subscribe
2013-06-06 15:00:38 -04:00