Marc Abramowitz
dc63bbf0b9
Simplify serf inventory plugin
...
using newly added `EnvironmentConfig` class in `serfclient`.
See https://github.com/KushalP/serfclient-py/pull/17
2015-06-17 08:20:56 -07:00
Marc Abramowitz
ce42c66e27
plugins/inventory/serf.py: Use SERF_RPC_* env vars
...
This makes the Serf inventory plugin use the `SERF_RPC_ADDR` and
`SERF_RPC_AUTH` environment variables that the `serf` command-line tool
already uses.
These can be used to get Serf data from a remote node instead of
requiring the ansible control host to be running a serf agent and to be
a member of the serf cluster.
2015-06-16 21:11:36 -07:00
James Cammarata
30c1a2d861
Have group/host var file loading check for YAML extensions too
...
Fixes #11132
2015-06-16 11:55:56 -04:00
Brian Coca
98e5f73f44
Merge pull request #11283 from msabramo/serf_inventory_plugin
...
Add serf inventory plugin
2015-06-16 11:46:36 -04:00
Marc Abramowitz
336f45f5b3
Add serf inventory plugin
...
Add inventory plugin for [Serf](https://serfdom.io/ ).
Requires [`serfclient` Python module](https://pypi.python.org/pypi/serfclient ).
2015-06-16 08:23:38 -07:00
James Cammarata
4705a79a98
Updating docs banners
2015-06-16 11:00:11 -04:00
James Cammarata
d913f169a8
Update failed_when integration test to be more thorough
2015-06-16 11:00:11 -04:00
Brian Coca
423f1233c8
removed typo file
2015-06-16 10:49:37 -04:00
Brian Coca
0a23a85bfc
Merge pull request #11280 from Vebryn/patch-1
...
Update syslog_json.py
2015-06-16 10:20:02 -04:00
Vebryn
b1574ecfce
Update syslog_json.py
...
localhost is better than locahost ;)
2015-06-16 16:13:01 +02:00
Brian Coca
c87591f76f
updated to new exec_command signature
2015-06-16 09:28:27 -04:00
Brian Coca
b76dbb01cc
generalized prereqs check
...
added vaultfile class for action and lookup plugin usage
2015-06-16 09:20:15 -04:00
Brian Coca
9116ff1c28
replaced removed pager_print for print
2015-06-16 09:19:37 -04:00
Brian Coca
98f5534d9c
adaptaed to new exec signature
...
should fix #11275
2015-06-16 09:12:42 -04:00
Brian Coca
5ed2e44026
adjusted with_dict test to now work
2015-06-15 17:42:40 -04:00
Brian Coca
dc31086a17
added with_dict test
2015-06-15 17:12:36 -04:00
Brian Coca
6c884c9e39
Merge pull request #11271 from sivel/build-play-method
...
Allow AdHocCLI to be more flexible for overriding
2015-06-15 16:21:32 -04:00
Brian Coca
dcf81e3ffe
removed useless comments
2015-06-15 15:04:19 -04:00
Matt Martz
1d55e193c1
Expose the TaskQueueManager to self
2015-06-15 13:50:40 -05:00
Matt Martz
670894e2bd
Move building the play_ds into a method, that can be overridden
2015-06-15 10:35:26 -05:00
Brian Coca
8ae58f7ea3
fixed executable, correctly this time
2015-06-15 11:26:45 -04:00
Brian Coca
f576d29b6b
allow for any non string iterable in listify
2015-06-15 11:02:51 -04:00
Brian Coca
0d606b5705
added cs_template to changelog
2015-06-15 10:42:55 -04:00
Brian Coca
1ce1c52f6f
centralized bad password handling, fixed outputing of become method
2015-06-15 01:40:53 -04:00
Brian Coca
b89071e485
now detects incorrect password with sudo and su (at least in english)
2015-06-15 01:30:03 -04:00
Brian Coca
5bac17de51
fixed pfexec test
2015-06-15 01:20:38 -04:00
Brian Coca
be8d797c23
fixed su prompt function reference
2015-06-15 01:07:02 -04:00
Brian Coca
872448e9e8
updated connection info update_vars to only update if data is not alreayd present
...
aslo added comment clarifying why we do this
2015-06-15 01:02:27 -04:00
Brian Coca
956937b110
made executable shell configurable again
2015-06-15 00:15:31 -04:00
Brian Coca
580993fef7
enabled initial support for password prompt on become
...
- moved check prompt/password functions to connection, make more senes there
- TODO: consider moving make_become to connection from connection_info
- removed executable param that was never overriden outside of connection info
2015-06-15 00:09:25 -04:00
Brian Coca
bac35ae773
set correct become mehotds for plugin
...
fixed mixup with remote password vs become_password
2015-06-14 23:49:10 -04:00
Brian Coca
ff443d4534
added note to figurte out correct var udpate on connection_info
2015-06-14 23:48:03 -04:00
Brian Coca
c3ccf26b70
added become check back to connections
2015-06-14 23:45:56 -04:00
Brian Coca
de82c953f2
added privilege escalation special var mapping
2015-06-14 23:19:49 -04:00
Brian Coca
a248678518
initial become support to ssh plugin
...
- password prompt detection and incorrect passwrod detection to connection info
- sudoable flag to avoid become on none pe'able commands
2015-06-14 23:03:23 -04:00
Brian Coca
a267f93c83
removed incorrect assumption on become user being set
2015-06-14 21:05:23 -04:00
Brian Coca
ff15f374ad
fixed new become settings, rearranged constants to find PE related vars easier
2015-06-14 20:50:38 -04:00
Brian Coca
e7abe06440
added first_found to template
2015-06-13 00:34:15 -04:00
Brian Coca
8ee4c7266c
corrected original_file code path to use actually use data from original file
2015-06-13 00:10:17 -04:00
Brian Coca
491761f880
added note to add faf deprecation
2015-06-12 23:54:09 -04:00
Brian Coca
a6ca133da8
got first_available working with copy
2015-06-12 23:54:09 -04:00
Brian Coca
11f1d99a5b
added test for first_available and copy
2015-06-12 23:54:09 -04:00
Brian Coca
0f915dc122
Merge pull request #11254 from smarvin/patch-1
...
Update index.rst
2015-06-12 22:19:58 -04:00
Scot Marvin
0132c51346
Update index.rst
...
Adding some copy edits. Feel free to disregard.
2015-06-12 17:38:37 -07:00
Brian Coca
aca125d03e
Merge pull request #11252 from sivel/deprecated-warning
...
Display a warning when using a deprecated module
2015-06-12 16:30:45 -04:00
Matt Martz
9ed3e2ef48
Display a warning when using a deprecated module
2015-06-12 15:21:33 -05:00
Toshio Kuratomi
d315f6e22c
Fix Etcd constructor
2015-06-12 12:59:29 -07:00
Toshio Kuratomi
77c76e632e
Switch etcd and url lookup plugins to verify ssl certificates
2015-06-12 12:54:57 -07:00
Toshio Kuratomi
4161d78a94
Split the fetch_url() function into fetch_url and open_url().
...
open_url() is suitable for use outside of a module environment. Will
let us use open_url to do SSL cert verification in other, non-module
code.
2015-06-12 12:54:56 -07:00
Brian Coca
e07dde1a3c
Merge pull request #11251 from sivel/issue/11244
...
Require passlib over crypt in password_hash for Mac OS X/Darwin. Fixes #11244
i was almost done with my patch ... but I like yours better
2015-06-12 14:58:02 -04:00