Commit Graph

4939 Commits (2760fa23f765c7ad71d6cb15cfbedc60cdb8ac71)
 

Author SHA1 Message Date
James Cammarata 2c0efac503 Updating CHANGELOG for the new validate_certs feature
Also removing validate_cert option from the cloudformation module docs,
as it does not use the standard ec2 connection.
12 years ago
Richard Isaacson 72d54cc274 Merge pull request #5944 from sean-/devel
Fix broken behavior when removing all auxiliary groups from a user. See #5933 for more details.

Tests by hand correct and passes "make clean tests".
12 years ago
James Cammarata 24759f566c Adding 'validate_certs' option to EC2 modules
When disabled, the boto connection will be instantiated without validating
the SSL certificate from the target endpoint. This allows the modules to connect
to Eucalyptus instances running with self-signed certs without errors.

Fixes #3978
12 years ago
Isao Jonas 45146e2a8f add security groups to elb_lb 12 years ago
Will Thames cc35e80a54 ec2 module fails when state is not absent
tagged_instances is initialised in a scope not visible
when state is not absent.
12 years ago
Pavel Antonov cc5bc0ac47 Refactore unused code 12 years ago
Pavel Antonov a72733ebea Added modules description and examples 12 years ago
Pavel Antonov ae99e8860e Docker supports links and port binding. Added docker_image module 12 years ago
Drew 0500f5efb1 Fix proper defaulting/required of 'state' for gem module
The docs for 'gem' say state is required, but the actual code says it's not required.

If it's not included (and there's no default) then the if block falls through with no changes and no errors (it neither adds nor removes the gem).

This change synchronizes the docs with the code.  It also adds the sane default of state=present, which is consistent with all other modules with the 'state' field.
12 years ago
Michael DeHaan 375c346a6d Merge pull request #5981 from angstwad/docfix
Documentation updates to rax_files, rax_files_objects
12 years ago
James Cammarata cd4fbcda43 Modified cloudformation module to use common ec2 module functions
Fixes #3688
12 years ago
Michael DeHaan ad31e1446d Merge pull request #5039 from bpennypacker/airbrake
airbrake: Made the reporting URL an optional parameter
12 years ago
Paul Durivage 88b54b6dcc Doc updates 12 years ago
Robin Roth 8a99005098 remove check for version string
this check does not get used anywhere and is not needed as zypper/rpm can handle version information directly
12 years ago
Richard Isaacson 25e12c87c0 Merge pull request #5969 from risaacson/pull_5136
Updates for the unarchive module and action_plugin.
12 years ago
Richard C Isaacson 54c799d3fb Cleanup per notes.
Some small changes to per notes from @mpdehann.
12 years ago
Isao Jonas 12d867b66d added elasticache vpc security group ids 12 years ago
Maykel Moya 5da6fcae4d Add support for string values
The SET GLOBAL statement requires properly quoting of values. For example, the
following correct queries will fail if quotes are toggled:

mysql> SET GLOBAL innodb_lru_scan_depth = 2000;
mysql> SET GLOBAL master_info_repository = "TABLE";

`mysql_variable` module doesn't quote the value argument, therefore
string values will fail.

  # this task will pass, 2000 is passed without quotes
  - name: set a numeric value
    mysql_variable: variable=innodb_lru_scan_depth value=2000

  # this task will fail, TABLE is passed without quotes
  - name: set a string value
    mysql_variable: variable=master_info_repository value=TABLE

With this patch prepared statements are used. Proper quoting will be
done automatically based on the type of the variables thus an attempt
to convert to int, then to float is done in first place.

Booleans values, ie: ON, OFF, are not specially handled because they
can be quoted. For example, the following queries are correct and
equivalent, they all set _innodb_file_per_table_ to logical _True_:

mysql> SET GLOBAL innodb_file_per_table = "ON";
mysql> SET GLOBAL innodb_file_per_table = ON;
mysql> SET GLOBAL innodb_file_per_table = 1;

Tested in mysql 5.5 and 5.6.
12 years ago
Richard C Isaacson 9795eec24b Updates for the unarchive module and action_plugin.
There is a bit going on with the changes here. Most of the changes are cleanup of files so that they line up with the standard files.

PR #5136 was merged into the current devel and brought up to working order. A few bug fixes had to be done to get the code to test correctly. Thanks out to @pib!

Issue #5431 was not able to be confirmed as it behaved as expected with a sudo user.

Tests were added via a playbook with archive files to verify functionality.

All tests fire clean including custom playbooks across multiple linux and solaris systems.
12 years ago
Richard C Isaacson a3be027909 Merge remote-tracking branch 'pib/unarchive_remote' into pull_5136 12 years ago
Michael DeHaan 15a4ba935c Merge pull request #5962 from sivel/rax-facts-docs-update
rax_facts and rax_keypair modules: update docs
12 years ago
Matt Martz 535e82ed26 The OpenStack auth attributes apply to rax_keypair also 12 years ago
jctanner b4f03c1ee9 Merge pull request #5957 from sivel/rax-no-default-disk-config
rax module: Don't set a default for disk_config
12 years ago
Christopher H. Laco 1db8a40433 Add rax_identity module
For some tasks, I need to drop the username/api_key into configuration
files. Rather than rely on how I'm calling the rax modules. It seemed
more appropriate to authenticate against Rackspace and return the wealth
of information contained in the pyrax identity payload with other
modules/templates.
12 years ago
Matt Martz cfe1335665 Don't set a default disk_config. Defaulting to 'auto', causes issues with new images 12 years ago
Sean Chittenden c892f51002 Fix broken behavior when removing all auxiliary groups from a user
(e.g. 'groups=' in the user module).
12 years ago
Matt Martz f4a494e14d The name parameter for search_opts is a regex string, so make sure we include start and end of string characters 12 years ago
zimbatm 7acbba5108 library/digital_ocean: Adds the missing backups_enabled create option 12 years ago
Baptiste Lafontaine d2125192b2 Adding example for svn export 12 years ago
Mohan Krishnan 1fa0b3365e Allow explict setting of vpc_security_groups to allow modification of security groups of RDS instances within a VPC 12 years ago
Brian Coca 01a1482f1a hopefully last batch of fixes
- removed previous 'typification' of input as it needs it is typed by
  module as strings and needs to be output as strings, making it
  useless.
- now checks for vtype and value against None when question is specified
- simplified set_selections as vtype and value should have a string
  value going in.
- added example of querying questions for a package
- added module requirement of question,vtype and value being required
  together.
12 years ago
Brian Coca 4b0c2d839e made changes as per feedback:
- field names are more consistent with debconf
- values are now 'booleanized' or accepted as list/set objects when
  pertinent
- updated docs to reflect all of the above and debconf cli tools
  required
12 years ago
Michael DeHaan 7cf513d4ed Merge pull request #5883 from amirhhz/improve-ec2-module-docs
Improve ec2 module docs
12 years ago
Scott Anderson 26e9c1ad61 Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key. 12 years ago
Matt Saunders ca5fe48dd0 Added user_data parameter to nova_compute module - currently no file parsing just text - Re issue #4992 12 years ago
Jon Chen 7e34f4d885 fix linode typo 12 years ago
Lorin Hochstein 99ff70e15f apt module: Add support for installing .deb packages
Support installing .deb packages from the local filesystem.

    apt: deb=/tmp/mypackage.deb
12 years ago
Joey Baker c230d0b85e indent err 12 years ago
Joey Baker 603b051f71 outdated needed to see set `changed` 12 years ago
Joey Baker 2768655119 NPM install latest made more effecient
`npm install` is smart enough to only update updated modules. Checking for `outdated` and running `update` repeats the same process 2x.
12 years ago
Jesse Keating c6f4d4328b Make sure requested version tag gets downloaded
There is a subtle bug in how the git module currently works. If the
version you request is a tag name, and you've already got the repo
cloned, and the tag name is a new tag, but refers to the already checked
out working copy, the git module would exit early without change. This
is bad as it means the new tag ref was not fetched and could not be used
in later tasks.

This change will check if the version is a remote tag, and if the tag
doesn't exist locally. If that is true, it'll do a fetch.

The activity could still be seen as not a change, because the working
copy won't be updated, if the new tag refers to the already checked out
copy, but that's not different than before and can be fixed as a more
comprehensive overhaul of tracking change in the git module.
12 years ago
Richard Isaacson c8a5e0a95e Merge pull request #5905 from artursvonda/update-postgresql-docs
Added port documentation to postgresql_db and postgresql_user.
12 years ago
James Tanner 7268d06bfe Make ec2 exact_count and count mutually exclusive 12 years ago
James Tanner e45b0c7dce Return a tagged_instances list for hosts that matched the count_tag 12 years ago
Richard Isaacson acf0e408ae Merge pull request #5826 from romeotheriault/fix_follow_redirects
A fix for uri module regarding following redirects. The old behavior would follow redirects either way. This change clarifies the functionality and makes it a bit more explicit. Comparing the old behavior to the new 'yes' == 'all', 'no' == 'safe' and now 'no' will not follow any redirects. Historic behavior is still supported and documented with a push to the new values.
12 years ago
Arturs Vonda df853fa92e Added port documentation to postgresql_db and postgresql_user 12 years ago
jctanner f4cba78ee4 Merge pull request #5901 from jctanner/ec2_tag_exact_count_2
Add exact_count and count_tag to the ec2 module.
12 years ago
James Tanner 0f1d695628 Make an example that sets the instance Names 12 years ago
James Tanner f5539f8545 Update docstrings 12 years ago
Mike Grozak 3f74dd6592 Updated the force parameter description; added one example how to create the symlinks pointing to non-absolute paths 12 years ago