Commit Graph

305 Commits (ec145a61afa749315684c81d3ebdea95c748182b)

Author SHA1 Message Date
Brian Coca aa095df19c Merge pull request #11511 from galindro/syslog_json_improvement
syslog_json call plugin improvements
9 years ago
Brian Coca b7f7760f39 removed unused file 9 years ago
Brian Coca 9bf39e7875 reversed cache check condition to actually work
fixes #11505
9 years ago
Bruno Galindro da Costa 156dab31e2 * Fix NameError: global name 'handler' is not defined
* Update log message format
9 years ago
Brian Coca 75c7a52828 Merge pull request #11477 from msabramo/landscape_inventory_plugin
Add Landscape inventory plugin
9 years ago
Brian Coca dead52cf27 Merge pull request #11478 from msabramo/serf_inventory_groups
Add groups to serf inventory plugin
9 years ago
Marc Abramowitz 63b6dca1f3 Add Landscape inventory plugin 9 years ago
Marc Abramowitz 48e15ea849 Add groups to serf inventory plugin 9 years ago
Brian Coca 468770c894 Merge pull request #11261 from schrodervictor/adds-elasticache-to-ec2-dynamic-inventory
Adds ElastiCache to ec2 dynamic inventory plugin
9 years ago
Brian Coca 62e780c74a moved to actual live plugin directory and ported to v2 9 years ago
Brian Coca 2a8ab4ab3e Merge pull request #9765 from runseb/update
Add tags for inventory
9 years ago
Victor Schröder df77d087a5 Adds the check for 'not None' also when building host_info dict for ElastiCache clusters, nodes and replication groups 9 years ago
Victor Schröder d88a42570e Adds a check for 'not None' values when iterating ElastiCache SecurityGroups keys 9 years ago
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 9 years ago
Tom Paine 410285ecd6 add simple prefix filtering to vmware inventory
Significantly speeds up inventory collection on systems with many
excluded machines.
9 years ago
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)
9 years ago
Brian Coca 8cfec0a27a Merge pull request #11297 from msabramo/serf_plugin_use_env_vars
Simplify serf inventory plugin
9 years ago
Marc Abramowitz dc63bbf0b9 Simplify serf inventory plugin
using newly added `EnvironmentConfig` class in `serfclient`.

See https://github.com/KushalP/serfclient-py/pull/17
9 years ago
Brian Coca cce6edeb6c Merge pull request #11293 from tamsky/tamsky-patch-1
for tags with empty value, do not append separator
9 years ago
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.
9 years ago
Marc Tamsky a0e8b9ef98 for tags with empty value, do not append separator 9 years ago
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).
9 years ago
Vebryn b1574ecfce Update syslog_json.py
localhost is better than locahost ;)
9 years ago
Victor Schröder d164c9c7a0 Adds explanation about all_elasticache_nodes and all_elastic_clusters settings 9 years ago
Victor Schröder 2acfbce64d Removes unnecessary commented code and replaces with useful information 9 years ago
Victor Schröder f2d22c1373 Fixes error messages to mention ElastiCache 9 years ago
Victor Schröder e8c3e3d645 Cleans some unnecessary white spaces in ec2.py dynamic inventory plugin 9 years ago
Victor Schröder 77a2ad0e8c Improves code organization in get_dict_from_describe_dict method 9 years ago
Victor Schröder 41b034a5d2 Process information about replica clusters for ElastiCache replication groups 9 years ago
Victor Schröder e692a18a29 Process information about primary clusters for ElastiCache replication groups 9 years ago
Victor Schröder 43f9a653d0 Process CacheNodeIdsToReboot complex type for cache clusters 9 years ago
Victor Schröder ffd74049da Comments about the naming pattern in the script, that certainly deserves future refactoring 9 years ago
Victor Schröder f25ad9dc51 Adds the appropriate key checks for ElastiCache replication groups in get_dict_from_describe_dict method 9 years ago
Victor Schröder 069ee11699 Creates add_elasticache_replication_group method in ec2.py dynamic inventory script 9 years ago
Victor Schröder c18f6cae11 Creates get_elasticache_replication_groups_by_region method to handle the API call 9 years ago
Victor Schröder 40ce072747 Adds the logic to process the new config entries about ElastiCache replication groups 9 years ago
Victor Schröder 22020ac3cd Adds the necessary config entries to ec2.ini, to support ElastiCache replication groups 9 years ago
Victor Schröder e64daba8e7 Adds a flag (is_redis) to prevent duplicity of information about Redis single node clusters 9 years ago
Victor Schröder 2a242a0e1b Creates add_elasticache_node method in ec2.py 9 years ago
Victor Schröder 98a5531966 Makes the API requests to return nodes' information too 9 years ago
Victor Schröder dbb0304cea Adds uncammelize helper method to put the labels in the expected output format 9 years ago
Victor Schröder c6f2b08a60 Creates get_host_info_dict_from_describe_dict helper method to translate information from a 'describe' call (we don't have instance objects in this case) 9 years ago
Victor Schröder 2cd76cf0e3 Creates add_elasticache_cluster method to digest the API answer about ElastiCache clusters 9 years ago
Victor Schröder 06c6db8e6b Adds get_elasticache_clusters_by_region method to perform the API call to AWS (and sadly finds out that Boto support for ElastiCache is very outdated...) 9 years ago
Victor Schröder 50b320615e Little improvement in the organization of the configuration loader method 9 years ago
Victor Schröder bc80bd36af Adds the necessary logic to ec2.py to load ElastiCache related configuration 9 years ago
Victor Schröder 382c6fe05b Adds basic configuration to ec2.ini to support ElastiCache Clusters and Nodes 9 years ago
sirkubax 0f68db2d7e Update ec2.ini
Warning about usage boto+ec2.ini
9 years ago
joshainglis f0fb2e7f65 Removed shebang line from .ini file 9 years ago
joshainglis 23460e6480 Removed a dictionary comprehension for python 2.6 support 9 years ago