Commit graph

320 commits

Author SHA1 Message Date
Matt Martz
8713b999da Add slack callback plugin 2015-10-22 12:30:23 -04:00
Brian Coca
d276b69b2a put proxmox inventory in correct dir and added to changelog 2015-07-28 18:38:23 -04:00
Brian Coca
018ca6ddef Merge pull request #9273 from gauthierl/proxmox_inventory
add a proxmox inventory plugin
2015-07-28 18:36:22 -04:00
Brian Coca
0c21196633 moved openvz inventory script to new home 2015-07-27 20:53:53 -04:00
Brian Coca
330aee33c5 Merge pull request #8358 from jordonr/devel
Added OpenVZ Inventory python script
2015-07-27 20:50:58 -04:00
Brian Coca
d0c6d2ff1c poreted log_plays, syslog_json and osx_say callbacks to v2
renamed plugins to contrib (they are not really plugins)
rewrote README.md to reflect new usage
added new dir to setup.py so it gets copied with installation, in views
of making using inventory scripts easier in teh future
2015-07-10 10:30:33 -04:00
Brian Coca
50d54b1be7 ported hipchat callback to v2 (needs testing) 2015-07-10 10:30:33 -04:00
Brian Coca
834b7a2857 ported context_demo to v2 callbacks 2015-07-10 10:30:33 -04:00
Brian Coca
55366bdc6d ported mail callback plugin to work with v2 2015-07-08 16:33:51 -04:00
Brian Coca
aa095df19c Merge pull request #11511 from galindro/syslog_json_improvement
syslog_json call plugin improvements
2015-07-07 17:49:28 -04:00
Brian Coca
b7f7760f39 removed unused file 2015-07-07 08:52:46 -04:00
Brian Coca
9bf39e7875 reversed cache check condition to actually work
fixes #11505
2015-07-07 08:51:39 -04:00
Bruno Galindro da Costa
156dab31e2 * Fix NameError: global name 'handler' is not defined
* Update log message format
2015-07-07 07:49:06 -03:00
Brian Coca
75c7a52828 Merge pull request #11477 from msabramo/landscape_inventory_plugin
Add Landscape inventory plugin
2015-07-03 14:14:56 -04:00
Brian Coca
dead52cf27 Merge pull request #11478 from msabramo/serf_inventory_groups
Add groups to serf inventory plugin
2015-07-03 14:12:18 -04:00
Marc Abramowitz
63b6dca1f3 Add Landscape inventory plugin 2015-07-03 08:33:20 -07:00
Marc Abramowitz
48e15ea849 Add groups to serf inventory plugin 2015-07-03 00:51:36 -07:00
Brian Coca
468770c894 Merge pull request #11261 from schrodervictor/adds-elasticache-to-ec2-dynamic-inventory
Adds ElastiCache to ec2 dynamic inventory plugin
2015-06-30 16:51:11 -04:00
Brian Coca
62e780c74a moved to actual live plugin directory and ported to v2 2015-06-29 20:45:50 -04:00
Brian Coca
2a8ab4ab3e Merge pull request #9765 from runseb/update
Add tags for inventory
2015-06-29 20:41:14 -04:00
Victor Schröder
df77d087a5 Adds the check for 'not None' also when building host_info dict for ElastiCache clusters, nodes and replication groups 2015-06-29 23:28:55 +02:00
Victor Schröder
d88a42570e Adds a check for 'not None' values when iterating ElastiCache SecurityGroups keys 2015-06-29 21:56:36 +02:00
Erik Weathers
fde99d8095 change 'stage' to 'staging', as it a much more common term for a pre-production environment, and there are already many references to 'staging' appearing in the ansible code and docs, so let's be consistent 2015-06-26 23:38:06 -07:00
Tom Paine
410285ecd6 add simple prefix filtering to vmware inventory
Significantly speeds up inventory collection on systems with many
excluded machines.
2015-06-17 18:41:54 +01:00
rncry
16f66a39a6 support instances with no public ip
default to private ip if the instance doesn't have a public ip assigned. (causes list index out of range error otherwise)
2015-06-17 17:22:28 +01:00
Brian Coca
8cfec0a27a Merge pull request #11297 from msabramo/serf_plugin_use_env_vars
Simplify serf inventory plugin
2015-06-17 11:31:57 -04:00
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
Brian Coca
cce6edeb6c Merge pull request #11293 from tamsky/tamsky-patch-1
for tags with empty value, do not append separator
2015-06-17 09:55:07 -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
Marc Tamsky
a0e8b9ef98 for tags with empty value, do not append separator 2015-06-16 19:28:53 -07: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
Vebryn
b1574ecfce Update syslog_json.py
localhost is better than locahost ;)
2015-06-16 16:13:01 +02: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
Victor Schröder
e8c3e3d645 Cleans some unnecessary white spaces in ec2.py dynamic inventory plugin 2015-06-14 23:38:09 +02:00
Victor Schröder
77a2ad0e8c Improves code organization in get_dict_from_describe_dict method 2015-06-14 23:32:10 +02:00
Victor Schröder
41b034a5d2 Process information about replica clusters for ElastiCache replication groups 2015-06-14 23:29:55 +02:00
Victor Schröder
e692a18a29 Process information about primary clusters for ElastiCache replication groups 2015-06-14 23:29:05 +02:00
Victor Schröder
43f9a653d0 Process CacheNodeIdsToReboot complex type for cache clusters 2015-06-14 23:27:16 +02:00
Victor Schröder
ffd74049da Comments about the naming pattern in the script, that certainly deserves future refactoring 2015-06-14 23:24:51 +02:00
Victor Schröder
f25ad9dc51 Adds the appropriate key checks for ElastiCache replication groups in get_dict_from_describe_dict method 2015-06-14 23:21:33 +02:00
Victor Schröder
069ee11699 Creates add_elasticache_replication_group method in ec2.py dynamic inventory script 2015-06-14 23:18:30 +02:00
Victor Schröder
c18f6cae11 Creates get_elasticache_replication_groups_by_region method to handle the API call 2015-06-14 23:15:33 +02:00
Victor Schröder
40ce072747 Adds the logic to process the new config entries about ElastiCache replication groups 2015-06-14 23:14:00 +02:00
Victor Schröder
22020ac3cd Adds the necessary config entries to ec2.ini, to support ElastiCache replication groups 2015-06-14 23:12:52 +02:00
Victor Schröder
e64daba8e7 Adds a flag (is_redis) to prevent duplicity of information about Redis single node clusters 2015-06-14 23:10:33 +02:00
Victor Schröder
2a242a0e1b Creates add_elasticache_node method in ec2.py 2015-06-14 23:08:39 +02:00
Victor Schröder
98a5531966 Makes the API requests to return nodes' information too 2015-06-14 23:03:15 +02:00
Victor Schröder
dbb0304cea Adds uncammelize helper method to put the labels in the expected output format 2015-06-14 23:01:13 +02:00