James Cammarata
3e72a0657d
Re-reverting windows modules PR #384
8 years ago
Vladislav Lewin
36ce019beb
add SLE12 support to hostname.py
8 years ago
marko
de813195c5
Added support for foreign security groups ( Fixes : #373 )
8 years ago
Jesse Keating
96b03ce138
Add an openstack servers actions module
...
This module supports a few of the server actions that are easy to
initially impiment. Other actions require input and provide return
values in the API calls that will be more difficult to impliment, and
thus are not part of this initial commit.
8 years ago
Vasyl Kaigorodov
70235a930b
Fix "_is_package_installed() takes exactly 4 arguments, 3 provided" error
8 years ago
Schlueter
b3be960d24
Add 'version_added' to state documentation for easy_install resource
8 years ago
Schlueter
9e8ce34031
Correct reference to gem in easy_install resource
8 years ago
Schlueter
58863d3b48
Add Documentation
8 years ago
Schlueter
1fc687b19d
Use standard if statement to check state in easy_install resource
8 years ago
Schlueter
1ddf4c2368
Correct pass by object reference issue
8 years ago
Jonathan Mainguy
b25bc20d3d
changes hostname to lowercase
8 years ago
Jonathan Mainguy
ce4c9cccf5
fixes example documenation
8 years ago
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.
8 years ago
Schlueter
e198884280
Add state to easy_install
8 years ago
Jonathan Mainguy
06cd532cc5
added nice error for systemd hosts where name > 64 chars
8 years ago
Semyon Deviatkin
732b26ab23
Fix issue #1230
...
When virtual package providing only one package, look up status of target package
8 years ago
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
8 years ago
Monty Taylor
eeacb7486d
Add OpenStack Network module
...
Also, deprecate the old quantum network module
8 years ago
Toshio Kuratomi
84110be91d
Update the cron docs to specify that it takes a boolean value
8 years ago
Toshio Kuratomi
623f70ecd6
Fix documentation of the variable that backup file name is returned in
8 years ago
Greg Taylor
79dd0466b5
Adding directory creation example to file module.
8 years ago
Brian Coca
b4775234c9
minor docfix
8 years ago
Brian Coca
831af880f0
minor doc fix and made sure check_implicit_admin is true boolean
8 years ago
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