Brian Coca
888f3236c5
Merge pull request #11294 from msabramo/serf_plugin_use_env_vars
...
plugins/inventory/serf.py: Use SERF_RPC_* env vars
2015-06-17 09:38:56 -04: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
ff998b6022
Make sure the templar is using the right vars when evaluating conditionals
2015-06-17 00:10:11 -04:00
Marc Tamsky
a0e8b9ef98
for tags with empty value, do not append separator
2015-06-16 19:28:53 -07:00
Brian Coca
4cac10e016
Merge pull request #11281 from trondhindenes/win_checksum
...
Bugfix: win_checksum
2015-06-16 19:26:36 -04:00
Brian Coca
d7fcd9456a
Merge pull request #11288 from kstrauser/aixfixes
...
Don't panic if AIX's uname doesn't support -W
2015-06-16 19:02:50 -04:00
Kirk Strauser
eb820837ac
Don't panic if AIX's uname doesn't support -W
...
The current code expects "uname -W" on AIX to always succeed. The AIX 5
instance I have doesn't support the -W flag and facts gathering always
crashes on it.
This skips some WPAR handling code if "uname -W" doesn't work.
2015-06-16 15:26:02 -07:00
Brian Coca
896da2a09e
Merge pull request #11287 from kstrauser/freebsd6fixes
...
Fixes for FreeBSD get_memory_facts
2015-06-16 18:10:56 -04:00
Kirk Strauser
935da01068
Fixes for FreeBSD get_memory_facts
...
- swapinfo on FreeBSD 6 (maybe 7 too?) doesn't support the "-m" flag for
fetching amounts in megabytes. This patch fetches amounts in kilobytes
and divides by 1024 (and also returns the result as an int instead of
a string).
- When no swap is configured, swapinfo prints a header line and nothing
else:
$ swapinfo
Device 1K-blocks Used Avail Capacity
The old version unexpectedly parsed that header line and emitted
nonsense values like:
"ansible_swapfree_mb": "Avail"
"ansible_swaptotal_mb": "1K-blocks"
This version emits those items altogether.
2015-06-16 14:35:36 -07:00
Brian Coca
3b1b95b916
moved ipv6 handling to init
...
fixed become password handling
2015-06-16 15:48:10 -04:00
Brian Coca
bb7d33adbc
moved become password handlingn to base class
2015-06-16 15:48:10 -04:00
Brian Coca
42e2724fa5
added serf inventory plugin
2015-06-16 15:48:10 -04:00
Brian Coca
f300be0f38
added ec2_eni_facts
2015-06-16 15:48:10 -04:00
James Cammarata
4b28a51f25
Don't fail outright when a play has an empty hosts list
2015-06-16 13:56:23 -04:00
Toshio Kuratomi
605ddad37e
Add test that url lookup checks tls certificates
2015-06-16 09:46:17 -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
Trond Hindenes
daee298cb6
Bugfix: win_checksum.ps1
2015-06-16 14:20:34 +00: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
Victor Schröder
d164c9c7a0
Adds explanation about all_elasticache_nodes and all_elastic_clusters settings
2015-06-15 11:36:33 +02:00
Victor Schröder
2acfbce64d
Removes unnecessary commented code and replaces with useful information
2015-06-15 11:35:25 +02:00
Victor Schröder
f2d22c1373
Fixes error messages to mention ElastiCache
2015-06-15 10:02:54 +02: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