Commit Graph

3770 Commits (ca0f0a0e489d9a2021402f74320021d93a9c3ae2)
 

Author SHA1 Message Date
Peter Gehres a9bf607013 Adding better failure output for chkconfig failures rather than
just saying that the service name is unknown
11 years ago
Peter Gehres 85d40f0837 Adding the region to the output of the ec2 module's creation of a new instance. 11 years ago
Michael DeHaan 58c445b8a6 Add the start of an integration test structure using Ansible playbooks, also added an assert action plugin to make writing those easier. 11 years ago
James Cammarata 69f1e78b5a Merge pull request #5998 from jimi-c/issue_3978_boto_ssl_cert_validation
Adding 'validate_certs' option to EC2 modules
11 years ago
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.
11 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".
11 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
11 years ago
Isao Jonas 45146e2a8f add security groups to elb_lb 11 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.
11 years ago
Pavel Antonov cc5bc0ac47 Refactore unused code 11 years ago
Pavel Antonov a72733ebea Added modules description and examples 11 years ago
Pavel Antonov ae99e8860e Docker supports links and port binding. Added docker_image module 11 years ago
Michael DeHaan 375c346a6d Merge pull request #5981 from angstwad/docfix
Documentation updates to rax_files, rax_files_objects
11 years ago
James Cammarata cd4fbcda43 Modified cloudformation module to use common ec2 module functions
Fixes #3688
11 years ago
Michael DeHaan ad31e1446d Merge pull request #5039 from bpennypacker/airbrake
airbrake: Made the reporting URL an optional parameter
11 years ago
Paul Durivage 88b54b6dcc Doc updates 11 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
11 years ago
Richard Isaacson 25e12c87c0 Merge pull request #5969 from risaacson/pull_5136
Updates for the unarchive module and action_plugin.
11 years ago
Richard C Isaacson 54c799d3fb Cleanup per notes.
Some small changes to per notes from @mpdehann.
11 years ago
Isao Jonas 12d867b66d added elasticache vpc security group ids 11 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.
11 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.
11 years ago
Richard C Isaacson a3be027909 Merge remote-tracking branch 'pib/unarchive_remote' into pull_5136 11 years ago
Michael DeHaan 15a4ba935c Merge pull request #5962 from sivel/rax-facts-docs-update
rax_facts and rax_keypair modules: update docs
11 years ago
Matt Martz 535e82ed26 The OpenStack auth attributes apply to rax_keypair also 11 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
11 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.
11 years ago
Matt Martz cfe1335665 Don't set a default disk_config. Defaulting to 'auto', causes issues with new images 11 years ago
Sean Chittenden c892f51002 Fix broken behavior when removing all auxiliary groups from a user
(e.g. 'groups=' in the user module).
11 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 11 years ago
zimbatm 7acbba5108 library/digital_ocean: Adds the missing backups_enabled create option 11 years ago
Mohan Krishnan 1fa0b3365e Allow explict setting of vpc_security_groups to allow modification of security groups of RDS instances within a VPC 11 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.
11 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
11 years ago
Michael DeHaan 7cf513d4ed Merge pull request #5883 from amirhhz/improve-ec2-module-docs
Improve ec2 module docs
11 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. 11 years ago
Matt Saunders ca5fe48dd0 Added user_data parameter to nova_compute module - currently no file parsing just text - Re issue #4992 11 years ago
Jon Chen 7e34f4d885 fix linode typo 11 years ago
Joey Baker c230d0b85e indent err 11 years ago
Joey Baker 603b051f71 outdated needed to see set `changed` 11 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.
11 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.
11 years ago
Richard Isaacson c8a5e0a95e Merge pull request #5905 from artursvonda/update-postgresql-docs
Added port documentation to postgresql_db and postgresql_user.
11 years ago
James Tanner 7268d06bfe Make ec2 exact_count and count mutually exclusive 11 years ago
James Tanner e45b0c7dce Return a tagged_instances list for hosts that matched the count_tag 11 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.
11 years ago
Arturs Vonda df853fa92e Added port documentation to postgresql_db and postgresql_user 11 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.
11 years ago
James Tanner 0f1d695628 Make an example that sets the instance Names 11 years ago
James Tanner f5539f8545 Update docstrings 11 years ago