Schlueter
1fc687b19d
Use standard if statement to check state in easy_install resource
2016-12-08 11:23:00 -05:00
Schlueter
1ddf4c2368
Correct pass by object reference issue
2016-12-08 11:23:00 -05:00
Jonathan Mainguy
b25bc20d3d
changes hostname to lowercase
2016-12-08 11:23:00 -05:00
Jonathan Mainguy
ce4c9cccf5
fixes example documenation
2016-12-08 11:23:00 -05:00
Zoltan Kozma
1a6b273a4f
- Fixed annoying bug that disablerepo was essentially broken if a package needed updating by state latest. - Replaced some unsafe practice with default parameters. However looking at the code this does not seem to matter much as the calling functions always seem to supply these parameters anyway.
2016-12-08 11:23:00 -05:00
Schlueter
e198884280
Add state to easy_install
2016-12-08 11:23:00 -05:00
Jonathan Mainguy
06cd532cc5
added nice error for systemd hosts where name > 64 chars
2016-12-08 11:23:00 -05:00
Semyon Deviatkin
732b26ab23
Fix issue #1230
...
When virtual package providing only one package, look up status of target package
2016-12-08 11:23:00 -05:00
Toshio Kuratomi
9eac68b417
Fix problem writing binary content to a temporary file in the uri module.
...
Fixes https://github.com/ansible/ansible/issues/10938
Fixes https://github.com/ansible/ansible/issues/7606
2016-12-08 11:23:00 -05:00
Monty Taylor
eeacb7486d
Add OpenStack Network module
...
Also, deprecate the old quantum network module
2016-12-08 11:23:00 -05:00
Toshio Kuratomi
84110be91d
Update the cron docs to specify that it takes a boolean value
2016-12-08 11:23:00 -05:00
Toshio Kuratomi
623f70ecd6
Fix documentation of the variable that backup file name is returned in
2016-12-08 11:23:00 -05:00
Greg Taylor
79dd0466b5
Adding directory creation example to file module.
2016-12-08 11:23:00 -05:00
Brian Coca
b4775234c9
minor docfix
2016-12-08 11:23:00 -05:00
Brian Coca
831af880f0
minor doc fix and made sure check_implicit_admin is true boolean
2016-12-08 11:23:00 -05:00
Toshio Kuratomi
5c96c5c9c2
Fix splitting of role_attrs
2016-12-08 11:23:00 -05:00
Toshio Kuratomi
7e5a4afb6b
Update module "imports" to new style
...
Fixes #1351
2016-12-08 11:23:00 -05:00
Brian Coca
b13fd5ac9a
value should be string as that is what it compares against
2016-12-08 11:22:59 -05:00
Pierre Baillet
eba0f12769
Support optional dockerfile name
2016-12-08 11:22:59 -05:00
Jonathan Mainguy
f4b07b105b
added openbsd to hostname module
2016-12-08 11:22:59 -05:00
Toshio Kuratomi
20d7f929be
Fix use of codecs.escape_decode()
2016-12-08 11:22:59 -05:00
Toshio Kuratomi
5204e94bda
Slightly more future-proof version of the lineinfile fix
2016-12-08 11:22:59 -05:00
Toshio Kuratomi
1002fafedf
Correct lineinfile documentation about double quoting... Hasn't been the case for years.
2016-12-08 11:22:59 -05:00
Semyon Deviatkin
e94140e52b
Fix unused variable systemd_enabled
...
Removed declared but unused variable systemd_enabled
2016-12-08 11:22:59 -05:00
Benno Joy
d24fbf5c3e
fixe issue #600 , where ec2 module returns instance state as runing even after instance is terminated
2016-12-08 11:22:59 -05:00
fdupoux
6f2f07ef51
Add support for xz compression (for dump and import) in mysql_db module
2016-12-08 11:22:59 -05:00
Brian Coca
18e16a16b7
fixed try/except/finally to be 2.4 compatible
2016-12-08 11:22:59 -05:00
whiter
0eb17142b5
Added postgresql-license type
2016-12-08 11:22:59 -05:00
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
2016-12-08 11:22:59 -05:00
zimbatm
933256fc63
ec2_group: prioritise current VPC group names over others
2016-12-08 11:22:59 -05:00
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.
2016-12-08 11:22:58 -05:00
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.
2016-12-08 11:22:58 -05:00
Brian Coca
831e1d8739
added updated cache time to apt, also started documenting return values
2016-12-08 11:22:58 -05:00
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.
2016-12-08 11:22:58 -05:00
Jan Brauer
af689dece3
Handle the case where a stack rollback fails.
2016-12-08 11:22:58 -05:00
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)
2016-12-08 11:22:58 -05:00
Jell
2e007167b9
Find or Create volume by name
2016-12-08 11:22:58 -05:00
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.
2016-12-08 11:22:58 -05:00
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
2016-12-08 11:22:58 -05:00
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.
2016-12-08 11:22:58 -05:00
Matt Martz
65508bb21a
Python2.4 fixes
...
* Ignore accelerate.py
* Don't use a lambda or a ternary
2016-12-08 11:22:58 -05:00
macbeth76
fce97365a4
Update user.py
...
M in date format is minutes. m is for months.
2016-12-08 11:22:58 -05:00
Chris Lundquist
7b4107a169
fix ami_search doc copy pasta
2016-12-08 11:22:58 -05:00
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
2016-12-08 11:22:58 -05:00
Dominic Hargreaves
535f0e9b11
apt_key documentation: add a note explaining the benefit of including 'id'
2016-12-08 11:22:58 -05:00
Benno Joy
fc1ad5e1f1
fixes issue 122, where the module recreates the route table in each run
2016-12-08 11:22:58 -05:00
Ratnadeep Debnath
a99d7da0c1
Fixed typo in cloud docker module.
2016-12-08 11:22:57 -05:00
Toshio Kuratomi
5844a04061
Fix documentation formatting
2016-12-08 11:22:57 -05:00
Bret Martin
b2453bf9a3
ec2_vpc module: add route table resource tagging
2016-12-08 11:22:57 -05:00
Jonathan Mainguy
f662a48de7
Adds the exclude= option to the yum module. Works the same way --exclude does when yum install or yum update
2016-12-08 11:22:57 -05:00