Yann Hamon
1faf8dd5c2
Docker module: restarted should update the container when necessary
2016-12-08 11:23:54 -05:00
Andy Nelson
444895f889
Update to ec2_vpc.py to: 1 allow interface ids and vpc peering connections as route targets 2 set state to "terminated" when VPC is removed 3 fix some comment typos
...
updates per PR comments
2016-12-08 11:23:54 -05:00
HAMSIK Adam
2af105bcbc
Convert enabled value to boolean to actually work, make sure we can set expiration period to 0(None) to disable it
2016-12-08 11:23:53 -05:00
Pedro Romano
bcae9a2b5e
GCE libcloud 0.15 support and code cleanup * Code formatting (indentation and white space) fixes for improved PEP8 conformity. * Remove redundant backslashes inside parentheses. * Test for object identity should be 'is not None'. * Test for membership should be 'not in'. * Fit docstring to the PEP8 79 character limit. * Use forward compatible Python 2.6+ 'except .. as' syntax for exception handling. * Support libcloud > 0.15 'metadata' argument format.
2016-12-08 11:23:53 -05:00
Toshio Kuratomi
65b9243056
mariadb isn't always the last elemen of the version string
2016-12-08 11:23:53 -05:00
Toshio Kuratomi
0a64899eba
Fix mysqldump usage of config_file
2016-12-08 11:23:53 -05:00
Brian Coca
f8a36c4047
service goes back to failing when absent
...
if no tools and no init script, this should always fail
2016-12-08 11:23:53 -05:00
Alberto Gireud
58c39f47c1
Update root_volume variable
2016-12-08 11:23:53 -05:00
Toshio Kuratomi
dafb39da2e
Account for mariadb versioning
2016-12-08 11:23:53 -05:00
luto
d48dffc298
vsphere_guest: support putting a guest into a nested folder
2016-12-08 11:23:53 -05:00
Jonathan Mainguy
0cdb2719e5
Unify all 3 mysql modules.
...
Use same connection method, use config_file, and add ssl support
2016-12-08 11:23:53 -05:00
Toshio Kuratomi
8d293651df
Fix os_server docs build
2016-12-08 11:23:53 -05:00
Lee H
7feb64d31c
- add version_added as requested to host_all
2016-12-08 11:23:53 -05:00
Lee H
5606197c28
- remove user_anonymous as the same thing can be accomplished by user='', but leave in the examples for removing anonymous users
2016-12-08 11:23:53 -05:00
Donovan Jones
8b9cd7f410
fix typo in os_server security_groups description
2016-12-08 11:23:53 -05:00
Brian Coca
9259b51c97
updated module docs, added choices to state
2016-12-08 11:23:53 -05:00
Tobias Smolka
cf5403afa3
Making cluster parameter optional
2016-12-08 11:23:53 -05:00
Brian Coca
63fd67f156
added mime option to stat module
...
it uses file magic to now return mime_type and charset of a file as
per output of `file -i /path`
2016-12-08 11:23:53 -05:00
Lee H
95895177d0
- add example showing removal of anonymous user accounts
2016-12-08 11:23:52 -05:00
Monty Taylor
a715c91d0b
Add support for network, boot_from_volume and volumes
...
nics is a great flexible parameter, but it's wordy. Shade now supports
a simple parameter too, which is just "network" and takes a name or id.
Add passthrough support.
In addition to supporting booting from a pre-existing volume, nova and
shade both support the concept of booting from volume based on an image.
Pass the parameters through.
Shade supports boot-time attachment of additional volumes for OpenStack
instances. Pass through the parameter so that ansible users can also
take advantage of this.
2016-12-08 11:23:52 -05:00
Toshio Kuratomi
687257bd62
Use rpm instead of repoquery for is_installed()
...
* This keeps us from hitting bugs in repoquery/yum plugins in certain
instances (#2559 ).
* The previous is also a small performance boost
* Also in is_installed(), when using the yum API, return if we detect
a package name has been installed. We don't need to also check
virtual provides in that case. This is another small performance
boost.
* Sort the list of packages returned by the list parameter.
2016-12-08 11:23:52 -05:00
Brian Coca
3b934016c0
note that create globs only work on 2.0
...
fixes #2666
2016-12-08 11:23:52 -05:00
Brian Coca
b4f87ac7fe
made note that Z/z are only 2.1 options
2016-12-08 11:23:52 -05:00
Jonathan Mainguy
b86224a7ec
Add Jmainguy as author, fix hash check
2016-12-08 11:23:52 -05:00
Adam Fields
9c131ea619
added a reference to the template module for clarity
2016-12-08 11:23:52 -05:00
Timothy R. Chavez
37ac954123
Get new server object after adding floating IP
...
We need a new server object once we add the floating ip, otherwise we
will be operating with the older server object pre-floating-ip
assignment.
2016-12-08 11:23:52 -05:00
Michel Alexandre Salim
325a979876
Set the argument type for ec2_vol's encrypted parameter
...
If this is not set, Ansible parses the parameter as a string.
This is fine if the parameter is not provided by the caller, but
if it is set to False or True explicitly, ec2_vol receives this as
the string 'False' or the string 'True', both of which are truthy.
Thus, without this fix, setting the parameter results in encryption
always enabled.
2016-12-08 11:23:52 -05:00
Veaceslav Mindru
fa98f55c44
fix typo s/defaults/default
2016-12-08 11:23:52 -05:00
Steve Spencer
d4aca8eacc
Sync up with allowable docker volume mounting modes
2016-12-08 11:23:52 -05:00
Steve Spencer
769d7db1d0
Add support for mounting host volumes with Z and z options
2016-12-08 11:23:52 -05:00
Lee Hardy
f2f0f83ee6
- fix user_exists statement with host_all to use only username parameter
2016-12-08 11:23:52 -05:00
Leonty
22648e88cd
Corrected misspelling in the 'labels' docker parameter documentation.
2016-12-08 11:23:52 -05:00
Lee Hardy
1113975741
- mysql: add user_anonymous parameter, which interacts with anonymous users - mysql; add host_all parameter, which forces iteration over all 'user'@... matches
2016-12-08 11:23:51 -05:00
Brian Coca
f435f887fa
better handling of checkmode for solaris fixes #2296
2016-12-08 11:23:51 -05:00
Aaron Boushley
876bdb62e1
Fix issue with comparing versions improperly.
...
This allows old versions of docker api to function.
2016-12-08 11:23:51 -05:00
Leonty
8638d9d26c
Support 'labels' parameter for docker.
2016-12-08 11:23:51 -05:00
Jumpei Ogawa
ebb0d6301d
Add explanation in case that ipv4_range is required
2016-12-08 11:23:51 -05:00
Jumpei Ogawa
256c840942
Add better error message when specified network doesn't exist and ipv4_range is not specified
2016-12-08 11:23:51 -05:00
tobbe
65f12bccb6
add text to the description, more user friendly
2016-12-08 11:23:51 -05:00
tobbe
455da45e62
Add suport for selinux user when adding a new user on selinux enabled systems
2016-12-08 11:23:51 -05:00
Daniele Varrazzo
a057431a78
Detect unchanged pip runs when using a vcs url in name
...
Should fix bug #1645
2016-12-08 11:23:51 -05:00
Daniele Varrazzo
53e1310a7f
Use 'pip freeze' output to detect changes with requirement specified
...
If the requirements contains a repos url it will always report 'Successfully
installed'; there is no difference in the output to tell apart if
anything new was pulled. Use freeze to detect if the environment changed
in any way.
Should fix ansible/ansible#1705
2016-12-08 11:23:51 -05:00
Derek Smith
b9baed507b
updated examples
...
added mysql 5.7 user password modification support with backwards compatibility
resolved mysql server version check and differences in user authentication management
explicitly state support for mysql_native_password type and no others. fixed some failing logic and updated samples
updated comment to actually match logic.
simplified conditionals and a little refactor
2016-12-08 11:23:51 -05:00
trevoro
b5a3dd4818
adding password_hash support to mysql_user module
...
fixing user_add arguments error
fixing user_mod arguments error
2016-12-08 11:23:51 -05:00
Michael Scherer
55f2345829
Remove a unneeded use of use_unsafe_shell
...
Since use_unsafe_shell is suspicious from a security point
of view (or it wouldn't be unsafe), the less we have, the less
code we have to toroughly inspect for a security audit.
2016-12-08 11:23:51 -05:00
Daniel Kimsey
a8f7fda210
Fix yum module failing to initalize yum plugins
2016-12-08 11:23:51 -05:00
nitzmahone
0d0b78dd1e
fixed disappearing groups on OSX user module
...
Ensure that we don't try to modify the groups collection if groups are not specified
2016-12-08 11:23:51 -05:00
Dominique Barton
5c05016d1e
bugfix for issue #2537
2016-12-08 11:23:51 -05:00
quoing
3ad67d93ea
Fix: Default ACL parameters are not correctly handled
2016-12-08 11:23:51 -05:00
Brian Coca
f0a3914f7b
simplified lowercasing
2016-12-08 11:23:50 -05:00