Commit Graph

22141 Commits (5c96c5c9c289662be98b45d6f479a21317119b96)
 

Author SHA1 Message Date
Toshio Kuratomi 5c96c5c9c2 Fix splitting of role_attrs 8 years ago
Toshio Kuratomi 7e5a4afb6b Update module "imports" to new style
Fixes #1351
8 years ago
Brian Coca b13fd5ac9a value should be string as that is what it compares against 8 years ago
Pierre Baillet eba0f12769 Support optional dockerfile name 8 years ago
Jonathan Mainguy f4b07b105b added openbsd to hostname module 8 years ago
Toshio Kuratomi 20d7f929be Fix use of codecs.escape_decode() 8 years ago
Toshio Kuratomi 5204e94bda Slightly more future-proof version of the lineinfile fix 8 years ago
Toshio Kuratomi 1002fafedf Correct lineinfile documentation about double quoting... Hasn't been the case for years. 8 years ago
Semyon Deviatkin e94140e52b Fix unused variable systemd_enabled
Removed declared but unused variable systemd_enabled
8 years ago
Benno Joy d24fbf5c3e fixe issue #600, where ec2 module returns instance state as runing even after instance is terminated 8 years ago
fdupoux 6f2f07ef51 Add support for xz compression (for dump and import) in mysql_db module 8 years ago
Brian Coca 18e16a16b7 fixed try/except/finally to be 2.4 compatible 8 years ago
whiter 0eb17142b5 Added postgresql-license type 8 years ago
Jason Paige 329266975b update flat description
default behavior is to append the `hostname/path/to/file`, not prepend as currently stated by the flat arg docs
8 years ago
zimbatm 933256fc63 ec2_group: prioritise current VPC group names over others 8 years ago
zimbatm c3e720a393 ec2_group: select own group if the name matches
This fixes an issue where multiple VPC have the same group name and
the one from the other VPC is selected.
8 years ago
Martin Froehlich 8bff781a0a Use get_aws_connection_info to get AWS creds.
Previously used get_ec2_creds did not consider security_token,
making MFA requests fail.
8 years ago
Brian Coca 831e1d8739 added updated cache time to apt, also started documenting return values 8 years ago
Jesse Keating 17aabee6df Add service option to avoid failure on missing service
This adds a must_exist option to the service module, which gives callers the
ability to be tolerant to services that do not exist. This allows for
opportunistic manipulation of a list of services if they happen to exist on the
host. While failed_when could be used, it's difficult to track all the
different error strings that might come from various service tools regarding a
missing service.
8 years ago
Jan Brauer af689dece3 Handle the case where a stack rollback fails. 8 years ago
Matt Schurenko ef140a084a adding stickiness support to ec2_elb_lb.py
removing policy if enabled is no

adding sanity checks

removing debuging

check if policy exists before deleting

updating version_added to 2.0

adding stickiness support to ec2_elb_lb.py (squashed commit)
8 years ago
Jell 2e007167b9 Find or Create volume by name 8 years ago
Toshio Kuratomi 5336217649 Several cleanups to many modules:
* Fix docs to specify when python2.6+ is required (due to a library
  dep).  This helps us know when it is okay to use python2.6+ syntax in
  the file.
* remove BabyJson returns.  See #1211  This commit fixes all but the
  openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
  if the module is run as a program.  This allows for the potential to
  unittest the code later.
8 years ago
Brian Coca 0567404c03 generic fix for Exceptions that heppen when trying to set permissions on extracted files fixes ansible/ansible#10934 which is really a corner case 8 years ago
Nathaniel 935550d20d Update set_fact.py
Context: I recently discovered that when setting a fact, key=value pairs and complex arguments differ in how the fact is stored. For example, when attempting to use complex arguments using key=values, the result can be stored as a unicode string as opposed to an object/list/etc.

I'm hoping the above example update will better demonstrate to and instruct people to use complex arguments instead of key=value pairs in certain situations.
8 years ago
Matt Martz 65508bb21a Python2.4 fixes
* Ignore accelerate.py
* Don't use a lambda or a ternary
8 years ago
macbeth76 fce97365a4 Update user.py
M in date format is minutes. m is for months.
8 years ago
Chris Lundquist 7b4107a169 fix ami_search doc copy pasta 8 years ago
Toshio Kuratomi dd02483b26 Explain why the apt module does not do implicit regex matches on package name since this is different than the apt-get command line tool.
Fixes #1258
8 years ago
Dominic Hargreaves 535f0e9b11 apt_key documentation: add a note explaining the benefit of including 'id' 8 years ago
Benno Joy fc1ad5e1f1 fixes issue 122, where the module recreates the route table in each run 8 years ago
Ratnadeep Debnath a99d7da0c1 Fixed typo in cloud docker module. 8 years ago
Toshio Kuratomi 5844a04061 Fix documentation formatting 8 years ago
Bret Martin b2453bf9a3 ec2_vpc module: add route table resource tagging 8 years ago
Jonathan Mainguy f662a48de7 Adds the exclude= option to the yum module. Works the same way --exclude does when yum install or yum update 8 years ago
Herby Gillot 6a39dc891a Use existing ec2_eip address if already associated
If an EC2 instance is already associated with an EIP address, we use
that, rather than allocating a new EIP address and associating it with
that.

Fixes #35.
8 years ago
louis 9d20a3091e added skeleton support in user module 8 years ago
(@cewood) 17b5d851f2 Support specifying cidr_ip as a list
Update/fix to Support specifying cidr_ip as a list

Unicode isn't compatible with python2, so we needed some other
solution to this problem. The simplest approach is if the ip item
isn't already a list, simply convert it to one, and we're done.
Thanks to @mspiegle for this suggestion.
8 years ago
Jonathan Mainguy 1ba2e34ae1 Adds all_databases option which allows a user to dump or import all databases at once, identical to mysqldump --all-databases
fix line 132

Update to name=all

cleaned up all_database per abadger's suggestions
8 years ago
Sam Doiron a3ec0a1562 Fix Issue #1216 (ValueError with Amazon RDS)
Fix typo where wrong variable was used, causing ValueError.
8 years ago
Alex Feinberg 1ac9c20b6e Fix a typo in create_instances
Fix a typo in create_instances: use 'placement_group' instead of placement_group
when calling boto_siupports_param_in_spot_request().
8 years ago
Brian Coca fb527955c9 added deprecated doc entry 8 years ago
James Cammarata d7ce6b0d4b Fix bug in service where upstart services incorrectly use init scripts
Fixes #1170
8 years ago
Toshio Kuratomi c2bf2c7c54 Fix error when container has no names.
Rename loop variable from "i" to more informative "container"

Fixes #1188
8 years ago
David Shrewsbury dd6b153700 Update os_server for shade flavor API changes
Latest shade fixes the flavor API so that raw objects are not
returned.
8 years ago
Chris Meyers cec3c8c209 better timeout logic when deleting vm disks. Python 2.4 safe excepts 8 years ago
Chris Meyers cdcaa2d6a0 correctly delete disks associated with vms 8 years ago
Will Thames 9aff204f63 Usage is not a valid database or table privilege
Remove `USAGE` from the `VALID_PRIVS` dict for both database and
table because it is not a valid privilege for either (and
breaks the implementation of `has_table_privilege` and
`has_database_privilege`

See http://www.postgresql.org/docs/9.0/static/sql-grant.html
8 years ago
Will Thames 43bad27948 Update postgresql users only when necessary
For read-only databases, users should not change when no changes
are required.

Don't issue ALTER ROLE when role attribute flags, users password
or expiry time is not changing.

In certain cases (hashed passwords in the DB, but the password
argument is not hashed) passlib.hash is required to avoid
running ALTER ROLE.
8 years ago
Monty Taylor 78daf52994 Add OpenStack Server module
Also deprecated old nova_compute module
8 years ago