Commit Graph

8565 Commits (4a0c483e09b63bc458753a96fcd75ff383e84685)
 

Author SHA1 Message Date
John R Barker bb9572ca86 ansible-validate-modules part 4: Enable check on ansible-modules-core (#3526)
* Call ansible-validate-modules

* Correct quotes + add newline
9 years ago
Toshio Kuratomi 4a8a292793 bytearray isn't available in python2.4 (#3583)
* Detection of handler depends on the wrong handler failing to list the contents of the tarfile.

Use explicit compression types with the python tarfile library to
achieve that.

* bytearray isn't available in python2.4
9 years ago
Toshio Kuratomi 0ec3b06208 Detection of handler depends on the wrong handler failing to list the contents of the tarfile. (#3584)
Use explicit compression types with the python tarfile library to
achieve that.
9 years ago
Rene Moser 051744f7b5 mysql_user: fix unresolved reference
L282, module is used but not passed into function. Replaced check_mode reference and used module instead since check_mode is also in module.
9 years ago
Rene Moser 9765a30179 mysql_variables: fix inconsistent params, fixes ubuntu 16.04 support
In the mysql_user module, login_host is defined as "localhost". Setting this to localhost also fixes Ubuntu 16.04 support.

To make it more consistent in the future, the params in all mysql modules should move to module utils. I'll take care.

Also fixed a few other things along.
9 years ago
Pomin Wu f78509d0cf Fixed #3577 (#3578)
Initialize `upgradable` before use.
9 years ago
Virgil Dupras 82aeaed45d unarchive: use Python's tarfile module for tar listing (#3575)
* unarchive: use Python's tarfile module for tar listing

fixes https://github.com/ansible/ansible/issues/11348

Depending on the current active locale, `tar`'s file listing can end up
spitting backslash-escaped characters. Unfortunately, when that happens,
we end up with double-escaped backslashes, giving us a wrong path,
making our action fail.

We could try un-double-escaping our paths, but that would be complicated
and, I think, error-prone. The easiest way forward seemed to simply use
the `tarfile` module.

Why use it only for listing? Because the `unarchive` option also
supports the `extra_opts` option, and that supporting this would require
us to mimick `tar`'s interface.

For listing files, however, I don't think that the loss of `extra_opts`
support causes problems (well, I hope so).

* unarchive: re-add xz decompression support

Following previous change to use Python's `tarfile` module for tar file
listing, we lost `xz` decompression support. This commits re-add it by
adding a special case in `TarXzArchive` that pre-decompresses the source
file.
9 years ago
Harlan Lieberman-Berg 2b36edd55c command: Correct suggestion of non-existant module apt-get 9 years ago
cspollar df0adafe66 Add missing periods to description items.
Current theme used by docs.ansible.com displays description items on one line. Adding periods helps readability.
9 years ago
René Moser b6ad3b6773 readme: add build state image from travis 9 years ago
Chris Houseknecht 402a872097 Merge pull request #3569 from chouseknecht/devel
Add doc string for container_limits. Fixed push fail message. Use pat…
9 years ago
chouseknecht a9ab2e1142
Add doc string for container_limits. Fixed push fail message. Use path type. 9 years ago
Brian Coca 3381e8f76e clarified docs on overwrite 9 years ago
Michael Scherer 94ec38cda8 Add a better solution for the ssh_known_hosts issue
Fix https://github.com/ansible/ansible/issues/10172 too
9 years ago
Chris Houseknecht e78ee3b128 Adding new module azure_rm_networkinterace_facts (#3460)
* Adding new Azure module.

* Updating based on PR comments
9 years ago
Chris Houseknecht f98fea488f Adding new module azure_rm_publicipaddress_facts (#3463)
* Adding new Azure module.

* Updating based on PR comments
9 years ago
Chris Houseknecht ee298f3eff Adding module azure_rm_virtualnetwork_facts (#3479) 9 years ago
Chris Houseknecht 317b4f3b02 Adding module azure_rm_storageaccount_facts (#3483) 9 years ago
Chris Houseknecht 19a7889c88 Adding module azure_rm_securitygroup_facts (#3485) 9 years ago
Chris Houseknecht 518b80200c Adding new module azure_rm_resourcegroup_facts (#3487) 9 years ago
Chris Houseknecht f580ab7f64 Adding module azure_rm_virtualmachineimage_facts (#3489) 9 years ago
Chris Houseknecht 35c589575d Adding docker_image_facts (#3493)
* Adding docker_image_facts

* Fix github credentials
9 years ago
Chris Houseknecht f6344b6dc7 Adding docker_container (#3495)
* Adding docker_container

* If state absent, stop the container before attempting to remove. Fixed status running check.

* If container absent, stop before removing. Fix container status check.
9 years ago
Toshio Kuratomi 22ce32dd93 Fix docs building 9 years ago
Dag Wieers b11f4a51d1 Replace ansible_hostname with inventory_hostname (#3559)
This way these examples can be re-used using the ansible command (and don't require facts gathering).
9 years ago
Toshio Kuratomi 72ef33e7a6 Merge pull request #3561 from privateip/junos_config
fixes docstring issue for junos_config arguments
9 years ago
Peter Sprygada f7baff4688 fixes docstring issue for junos_config arguments
The docstring was incorrectly merged with some old entries that will
cause the documentation not to build correclty.  It is now fixed.
9 years ago
Toshio Kuratomi f3fef24e49 Some beginning python3 porting for modules which have unittests 9 years ago
Brian Coca 0e4304c6e2 fixed intersection 9 years ago
Michael Scherer 1ac7382dd4 Change gem_source and executable to 'path'
Both of them are file location, so they should be
marked as 'path'.
9 years ago
Ryan Brown f14953f479 Fix capitalization of AWS in ec2_lc module documentation 9 years ago
Brian Coca 9f3660893e rearranged options to be more declarative 9 years ago
Brian Coca b963b090bb fixed missign main 9 years ago
Brian Coca 9eb2b557cd several fixes:
- removed actions feature as this should be global and not per module
- removed default fields from return docs
- moved tags docs to shared fragments
- removed unused imports
9 years ago
Bill W 0f26d71715 Add more example on how to use module ec2_tags to list tags on an ins… (#3530)
* Add more example on how to use module ec2_tags to list tags on an instance

* Add more example on how to use module ec2_tags to list tags on an instance
9 years ago
Peter Sprygada 11892d5f8a Merge pull request #3551 from jedelman8/devel
add nxos_interface module
9 years ago
deyvsh 522fb9b2cd Extend example to demonstrate usage of ephemeral disks. (#3550) 9 years ago
jedelman8 3ebb693777 add nxos_interface 9 years ago
Chris Houseknecht aa4100524d Merge pull request #3488 from chouseknecht/azure_rm_virtualmachine
Adding module azure_rm_virtualmachine
9 years ago
Chris Houseknecht b68114f838 Merge pull request #3505 from chouseknecht/docker_image
Adding refactored docker_image module.
9 years ago
chouseknecht 5529863a2d Remove differences from output. Make options declarative. 9 years ago
chouseknecht 1613b469c9 Reduced states to present and absent. Power states are now bool options. 9 years ago
chouseknecht 530b1faae5 Fix poller error handling 9 years ago
chouseknecht aab7675c22 Adding module azure_rm_virtualmachine 9 years ago
tonyqui e6fb933c3c Fixing a typo, floating-ips has been used instead of floating_ips (#3540) 9 years ago
Chris Houseknecht 78da4cf562 Merge pull request #3462 from chouseknecht/azure_rm_publicipaddress
Adding new module azure_rm_publicipaddress
9 years ago
chouseknecht 1d2be97013 Updated version_added on options to reflect options added for 2.1. 9 years ago
chouseknecht e888abbcb0
Clean up and fixes post API version 1.20 testing. 9 years ago
chouseknecht 6eba1d6fb3 Fix github credentials 9 years ago
chouseknecht 009b02e928 Fix unfriendly exeption handling. 9 years ago