Commit Graph

23038 Commits (eba78d08f920f8ea8d83e89b566777033568817b)
 

Author SHA1 Message Date
Max Rothman 086038cb4f Fix rds "promote" command never promoting
Previously, the `promote` command in the `rds` module would always return OK and never actually promote an instance. This was because `promote_db_instance()` had its conditions backwards: if the instance had the `replication_source` attribute indicating that it **was** a replica, it would set `changed = False` and do nothing. If the instance **wasn't** a replica, it would attempt to run `boto.rds.promote_read_replica()`, which would always fail.
8 years ago
joshuaeke 88f221fd9f Update ec2.py remove state tag
'exact_count' and 'state' are mutually exclusive options they should not be in the following examples:
- # Enforce that 5 running instances named "database" with a "dbtype" of "postgres" example and
- # Enforce that 5 instances with a tag "foo" are running
8 years ago
Charles Ferguson ac1e4bf6e0 Update the documentation of the 'apt' action for the 'name'.
The package name has two aliases, 'package' and 'pkg'. Add them to the
documentation.
8 years ago
Toshio Kuratomi a90de29ceb Minor simplification of code 8 years ago
Charles Ferguson 3969bba771 Update documentation of the 'pkg' and 'state' parameters in yum.
The yum module allows the 'name' parameter to be given as 'pkg', in
a similar way to some of the other package managers. This change
documents this alias.

The module's 'state' parameter has two other aliases, in line with
the 'apt' action; the 'state' parameter can take 'installed' as an
alias for 'present', and 'removed' as an alias for 'absent'. These
aliases are documented.
8 years ago
Brian Coca 2efb97e9d5 corrected version_added, removed empty alias 8 years ago
David Shrewsbury 5c5db04ff0 Bug fix for os_image and min_disk/min_ram
The min_disk and min_ram parameters were not being passed to
the shade API. They also need to be integer values. Also
updated the description of these parameters for better
clarification.
8 years ago
Charles Paul 52d499d268 create non-existent ini file
fixing fail_json

more verbose fail msg
8 years ago
Keith Hassen f7dfcc153e Fail if any group name is not resolved to an ID. 8 years ago
Daniel Donckers 5c7f72233f Fixes #822 8 years ago
Chris Streeter 04b52efb64 Fix name of ssh_opts arg 8 years ago
Chris Church fea4308c69 Remove note about only using win_copy for small files. 8 years ago
Mike Riddle f0156dda0d Fixed error message: TypeError: fail_json() takes exactly 1 argument (2 given) 8 years ago
David Shrewsbury ebd977e780 Fix os_user_group module
This module had a couple of errors in it. Also added check mode
support.
8 years ago
Brian Coca 0425d6be39 fixed break order 8 years ago
Tom Paine 0bf5fa1c23 Update ec2_elb_lb.py 8 years ago
Maarten Claes e0b8b0d789 This fixes copy with the remote_src option
It was broken in 6e37f1dcef when the remote_src was added. Need to
pass the absolute path to copy2 instead of a tuple.
8 years ago
Brian Coca e1d0f3ff59 clarified set_fact function 8 years ago
James Cammarata 801c1cab49 Version bump for new beta 2.0.0-0.5.beta3 8 years ago
Marcin Stolarek d3029a6059 Save changes of special characters to rset, without that comparison rset.to_xml() == wanted_rset.to_xml() will fail if record contains * or @ characters. 8 years ago
Marcin Stolarek 3c7787c05c It may be string with int comparison, if ansible user specifies identifier as int 8 years ago
J Levitt 502717d387 Add rds restore example to list of examples
There was no db restore example. I've provided one that shows how to do the restore, then add a security group (you cannot add the security group during the restore step -- it has to be done in a modify step afterward). Also, I show how to get the endpoint.
8 years ago
Brian Coca 139201ad83 fixed remote_src support, now actually copies and does not move 8 years ago
Jordi De Groof 7aa57219f6 Update facts when hostname is changed
ansible_hostname contains the unqualified hostname
8 years ago
Monty Taylor a848d06a04 Use add_ips_to_server API
This module is still using an old pre-release API and needs to update
to use the current API.

Co-Authored-By: Marton Kiss <marton.kiss@gmail.com>
8 years ago
Timothy Appnel f2e83fa452 Added the checksum_algo alias to the stats module. 8 years ago
Toshio Kuratomi 6f214bccca Add zfil as an owner of the docker module 8 years ago
Toshio Kuratomi edaa4c3f32 Add a new contributor as a maintainer of the docker module 8 years ago
Toshio Kuratomi 2b8a7e88e9 Fix escaping of newline carriage return characters in the documentation 8 years ago
nitzmahone 45fff5d939 fixed ansible_totalmem fact returning 0
Win32_PhysicalMemory CIM object is busted on some virtual environments, switched
to Win32_ComputerSystem.TotalPhysicalMemory
8 years ago
Rabenstein 8eb04fe0d3 Squash of 3 commits for bugfix.
Absent unction was not working on user with login profile
also fixed the exception handling

fixed the delete user function
now works with or without loginprofile (password)

typo
8 years ago
Rabenstein 4c08545974 Absent unction was not working on user with login profile also fixed the exception handling 8 years ago
Stewart Rutledge b71740125d Added support for reconfiguring network (moving to another switch, for example) 8 years ago
Lars Larsson 542eb2e09c total_seconds not present on timedelta on python2.6 8 years ago
Brian Coca 7517e6366e use marker instead of is_truncated which does not seem to work 8 years ago
Ales Nosek 4e787f17cf Make the syntax work with Python 2.4 8 years ago
Brian Coca 90d084d82b loop to get all load balancers, boto limited to 400 at a time fixes #2115 8 years ago
Ales Nosek bd03dd67ff ini_file should only change what was specified and nothing more #5860
See also:
http://alesnosek.com/blog/2015/08/03/improving-ansibles-ini-file-module/
8 years ago
Lars Kellogg-Stedman 35240830f6 os_server_facts returns facts about multiple servers
have `os_server_facts` call `list_servers` rather than `get_server`, and
treat the `server` parameter as a wildcard pattern.  This permits one to
get facts on a single server:

    - os_server:
        server: webserver1

On mutiple servers:

    - os_server:
        server: webserver*

Or on all servers:

    - os_server:

Introduces a `detailed` parameter to request additional server details
at the cost of additional API calls.
8 years ago
Jonathan Mainguy caf6115f43 Update documentation to reflect need for mysql client 8 years ago
Kevin Falcone 35e6684163 Mark this as a string so it is rendered in the docs
When this was treated as a boolean, sphinx was leaving the Default
column on http://docs.ansible.com/ansible/ec2_module.html blank,
implying it would use AWS's default.  In reality, it passes False, which
overrides the defaults at AWS (it's possible to boot an instance which
AWS claims will always have EBS optimization without it because of this
silently passed False).
8 years ago
whiter c0d135e44c Allow iam_policy to maintain idempotentce if the role referenced has been removed 8 years ago
Adrian Bridgett 6bc4c877fc remove unneeded aliases 8 years ago
Adrian Bridgett f90bcfee1f add idle_timeout support 8 years ago
Kai Webber 4a8bd74f52 Added launch group support for ec2 module 8 years ago
Michael Fenn 89eec3e4cf Support cloning VMs into a specific VM folder
The pysphere VIVirtualMachine.clone() method supports specifying a VM
folder to place the VM in after the clone has completed.  This exposes
that functionality to playbooks.

Also documents that creating VMs could always place VMs in a specific
folder.
8 years ago
Mike 922cf9d96b update_disks(): added origins of the code. 8 years ago
Mike Christofilopoulos 0e1ff271c9 add new disks automatically when the 'vm_disk' section changes 8 years ago
Philippe Jandot 5b7d72e4ef fix regression introduced by f38186ce8b, and propose a fix for docker facts 8 years ago
Felix Engelmann abca0327b9 re-implements #226
in optional (editable) way
with backward compatibility
8 years ago