Commit Graph

23551 Commits (e10b7e1773e3c36980bbe2672ce7225acf4c9cf5)
 

Author SHA1 Message Date
Toshio Kuratomi e10b7e1773 Port ping to dual python3/2 compat. 8 years ago
Chris Houseknecht 8ba5cc4392 Fixed parameters passing in container_create method. (#3618) 8 years ago
Johannes Meixner af634ff5c7 network/*/*_config.py: Correct typo.
- Replace syntanx with syntax in all things network.
8 years ago
Scott Butler e606a1237b Fixed typos 8 years ago
René Moser 326f7166c0 apt: fix always changed when using deb file on Debian 8 (#3541)
Extends d74e82a3f1e3293ffb70c172e5bb2b6e1ff6dbcc with also support
downgrade.
8 years ago
James Tanner bc39f8c42e Revert "remove checking of stderr for insserv (#1846)"
This reverts commit 2ee6e4cf66.
8 years ago
Veaceslav Mindru 8c6af73218 add vlidate_certs option for unarchive module (#2635) 8 years ago
TheSameCH ca8bf6ab4c remove checking of stderr for insserv (#1846)
stderr of insserv can also contain warnings which can be ignored. checking rc only is more accurate.
fixes #1502
8 years ago
Brian Coca 985abd2020 switched to return facts 8 years ago
Brian Coca c03e1bd2d5 fixed documentation and arg issues 8 years ago
Rene Moser 9f1cfe07bb 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.
8 years ago
Rene Moser 6a7682c7ea 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.
8 years ago
hyperized 82cefd7ce1 Added restart functionality to ec2.py 8 years ago
n0trax 2c3caa33f7 Add checkmode and reduce code duplication (#2417)
- httpd removed from control_binaries
- check for enabled module after running a2enmod/a2dismod
- fail, if user has no permissions to run control_binary
- reduce code duplication
8 years ago
Toshio Kuratomi ed932a53cd Fix documentation 8 years ago
John R Barker d13046a905 ansible-validate-modules part 4: Enable check on ansible-modules-core (#3526)
* Call ansible-validate-modules

* Correct quotes + add newline
8 years ago
Toshio Kuratomi fa00c69ff2 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
8 years ago
Toshio Kuratomi cd26cc8a0d 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.
8 years ago
Pomin Wu d997c79487 Fixed #3577 (#3578)
Initialize `upgradable` before use.
8 years ago
Virgil Dupras 930ea5dd55 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.
8 years ago
Harlan Lieberman-Berg a0fe26b98b command: Correct suggestion of non-existant module apt-get 8 years ago
cspollar 7dc0dcc59e Add missing periods to description items.
Current theme used by docs.ansible.com displays description items on one line. Adding periods helps readability.
8 years ago
René Moser e006fac22d readme: add build state image from travis 8 years ago
chouseknecht 1d6517489b Add doc string for container_limits. Fixed push fail message. Use path type. 8 years ago
Brian Coca fdcc1fe763 clarified docs on overwrite 8 years ago
Michael Scherer 54c71b9331 Add a better solution for the ssh_known_hosts issue
Fix https://github.com/ansible/ansible/issues/10172 too
8 years ago
Chris Houseknecht a09569c150 Adding new module azure_rm_networkinterace_facts (#3460)
* Adding new Azure module.

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

* Updating based on PR comments
8 years ago
Chris Houseknecht 9db01b03fd Adding module azure_rm_virtualnetwork_facts (#3479) 8 years ago
Chris Houseknecht 8a3539e69e Adding module azure_rm_storageaccount_facts (#3483) 8 years ago
Chris Houseknecht 08c89626bc Adding module azure_rm_securitygroup_facts (#3485) 8 years ago
Chris Houseknecht 306cbd833d Adding new module azure_rm_resourcegroup_facts (#3487) 8 years ago
Chris Houseknecht 4807aa9c0e Adding module azure_rm_virtualmachineimage_facts (#3489) 8 years ago
Chris Houseknecht b4caa29b00 Adding docker_image_facts (#3493)
* Adding docker_image_facts

* Fix github credentials
8 years ago
Chris Houseknecht bc3391f1f9 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.
8 years ago
Toshio Kuratomi 371d7ec73d Fix docs building 8 years ago
Dag Wieers 356d9a272a 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).
8 years ago
Peter Sprygada bf200458d3 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.
8 years ago
Toshio Kuratomi 5f0dc2b90f Some beginning python3 porting for modules which have unittests 8 years ago
Brian Coca 8397c8169c fixed intersection 8 years ago
Michael Scherer ce0be575e2 Change gem_source and executable to 'path'
Both of them are file location, so they should be
marked as 'path'.
8 years ago
Ryan Brown 52edeeca4c Fix capitalization of AWS in ec2_lc module documentation 8 years ago
Brian Coca 0ae72e2712 rearranged options to be more declarative 8 years ago
Brian Coca 3ebfe3f00a fixed missign main 8 years ago
Brian Coca cf1b391201 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
8 years ago
Bill W 0fcc2d8973 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
8 years ago
deyvsh 3775d8e684 Extend example to demonstrate usage of ephemeral disks. (#3550) 8 years ago
jedelman8 28db5b7dd1 add nxos_interface 8 years ago
chouseknecht f09b7b02d6 Remove differences from output. Make options declarative. 8 years ago
chouseknecht ae30540ca2 Reduced states to present and absent. Power states are now bool options. 8 years ago