chouseknecht
f69b352341
Removed fail method. Combined recreate and force_recreate params.
2016-05-11 13:50:55 -04:00
chouseknecht
d9b026dcef
Adding docker_service
2016-05-11 13:50:55 -04:00
Toshio Kuratomi
9dfed7c849
Port to dual python2/python3 compat
2016-05-10 21:58:49 -07:00
Toshio Kuratomi
a355b6a1c9
Port ping to dual python3/2 compat.
2016-05-10 21:58:49 -07:00
Chris Houseknecht
f08e5608c7
Fixed parameters passing in container_create method. ( #3618 )
2016-05-10 17:56:57 -04:00
Johannes Meixner
24549ee80a
network/*/*_config.py: Correct typo.
...
- Replace syntanx with syntax in all things network.
2016-05-10 10:30:28 +03:00
Mike Bryant
46957b167e
junos_template: Simplify arguments. Fixes #3621
...
Simplify the arguments to junos_template, such that
merge/overwrite/replace can be selected easily.
2016-05-09 23:31:11 +01:00
Scott Butler
7d09339d31
Fixed typos
2016-05-06 14:34:31 -07:00
René Moser
1f5cf669dd
apt: fix always changed when using deb file on Debian 8 ( #3541 )
...
Extends d74e82a3f1e3293ffb70c172e5bb2b6e1ff6dbcc with also support
downgrade.
2016-05-06 09:17:04 +02:00
James Tanner
9be870bb2a
Revert "remove checking of stderr for insserv ( #1846 )"
...
This reverts commit 2ee6e4cf66
.
2016-05-05 10:41:06 -04:00
Veaceslav Mindru
430e3eeebd
add vlidate_certs option for unarchive module ( #2635 )
2016-05-05 11:25:40 +02:00
TheSameCH
2ee6e4cf66
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
2016-05-04 22:09:55 -04:00
René Moser
e29878e9f0
Merge pull request #3582 from resmo/fix/mysql
...
mysql_variables and mysql_user fixes
2016-05-04 19:17:10 +02:00
Brian Coca
c3ee04b842
switched to return facts
2016-05-04 08:43:11 -04:00
Brian Coca
e7d49f3308
fixed documentation and arg issues
2016-05-04 08:37:23 -04:00
hyperized
507d083d08
Added restart functionality to ec2.py
2016-05-04 09:12:02 +02:00
n0trax
1eac4c5608
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
2016-05-04 01:08:56 +02:00
Toshio Kuratomi
9db1233521
Fix documentation
2016-05-03 10:10:51 -07:00
John R Barker
bb9572ca86
ansible-validate-modules part 4: Enable check on ansible-modules-core ( #3526 )
...
* Call ansible-validate-modules
* Correct quotes + add newline
2016-05-03 07:51:12 -07:00
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
2016-05-02 11:29:04 -07:00
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.
2016-05-02 11:27:44 -07:00
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.
2016-05-02 18:42:31 +02:00
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.
2016-05-02 18:38:07 +02:00
Pomin Wu
f78509d0cf
Fixed #3577 ( #3578 )
...
Initialize `upgradable` before use.
2016-05-02 09:38:29 -04:00
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.
2016-05-01 17:34:43 -07:00
Harlan Lieberman-Berg
2b36edd55c
command: Correct suggestion of non-existant module apt-get
2016-05-01 11:02:57 +02:00
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.
2016-04-30 18:34:28 +02:00
René Moser
b6ad3b6773
readme: add build state image from travis
2016-04-29 10:52:17 +02:00
Chris Houseknecht
402a872097
Merge pull request #3569 from chouseknecht/devel
...
Add doc string for container_limits. Fixed push fail message. Use pat…
2016-04-29 01:07:09 -04:00
chouseknecht
a9ab2e1142
Add doc string for container_limits. Fixed push fail message. Use path type.
2016-04-29 00:39:08 -04:00
Brian Coca
3381e8f76e
clarified docs on overwrite
2016-04-28 17:13:56 -04:00
Michael Scherer
94ec38cda8
Add a better solution for the ssh_known_hosts issue
...
Fix https://github.com/ansible/ansible/issues/10172 too
2016-04-28 20:27:18 +02:00
Chris Houseknecht
e78ee3b128
Adding new module azure_rm_networkinterace_facts ( #3460 )
...
* Adding new Azure module.
* Updating based on PR comments
2016-04-27 17:51:52 -04:00
Chris Houseknecht
f98fea488f
Adding new module azure_rm_publicipaddress_facts ( #3463 )
...
* Adding new Azure module.
* Updating based on PR comments
2016-04-27 17:51:31 -04:00
Chris Houseknecht
ee298f3eff
Adding module azure_rm_virtualnetwork_facts ( #3479 )
2016-04-27 17:51:15 -04:00
Chris Houseknecht
317b4f3b02
Adding module azure_rm_storageaccount_facts ( #3483 )
2016-04-27 17:50:44 -04:00
Chris Houseknecht
19a7889c88
Adding module azure_rm_securitygroup_facts ( #3485 )
2016-04-27 17:50:25 -04:00
Chris Houseknecht
518b80200c
Adding new module azure_rm_resourcegroup_facts ( #3487 )
2016-04-27 17:50:03 -04:00
Chris Houseknecht
f580ab7f64
Adding module azure_rm_virtualmachineimage_facts ( #3489 )
2016-04-27 17:49:44 -04:00
Chris Houseknecht
35c589575d
Adding docker_image_facts ( #3493 )
...
* Adding docker_image_facts
* Fix github credentials
2016-04-27 17:43:44 -04:00
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.
2016-04-27 17:43:26 -04:00
Toshio Kuratomi
22ce32dd93
Fix docs building
2016-04-27 10:40:38 -07:00
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).
2016-04-27 11:31:04 -04:00
Toshio Kuratomi
72ef33e7a6
Merge pull request #3561 from privateip/junos_config
...
fixes docstring issue for junos_config arguments
2016-04-27 07:52:25 -07:00
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.
2016-04-27 10:39:51 -04:00
Toshio Kuratomi
f3fef24e49
Some beginning python3 porting for modules which have unittests
2016-04-27 07:17:05 -07:00
Brian Coca
0e4304c6e2
fixed intersection
2016-04-26 18:53:21 -04:00
Michael Scherer
1ac7382dd4
Change gem_source and executable to 'path'
...
Both of them are file location, so they should be
marked as 'path'.
2016-04-26 22:20:03 +02:00
Ryan Brown
f14953f479
Fix capitalization of AWS in ec2_lc module documentation
2016-04-26 22:15:45 +02:00
Brian Coca
9f3660893e
rearranged options to be more declarative
2016-04-26 14:32:28 -04:00