Commit Graph

297 Commits (1b74102ab312d8ab44a035659ef07c2670c4d961)

Author SHA1 Message Date
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 10 years ago
Tom Paine 410285ecd6 add simple prefix filtering to vmware inventory
Significantly speeds up inventory collection on systems with many
excluded machines.
10 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)
10 years ago
Brian Coca 8cfec0a27a Merge pull request #11297 from msabramo/serf_plugin_use_env_vars
Simplify serf inventory plugin
10 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
10 years ago
Brian Coca cce6edeb6c Merge pull request #11293 from tamsky/tamsky-patch-1
for tags with empty value, do not append separator
10 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.
10 years ago
Marc Tamsky a0e8b9ef98 for tags with empty value, do not append separator 10 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).
10 years ago
Vebryn b1574ecfce Update syslog_json.py
localhost is better than locahost ;)
10 years ago
Victor Schröder d164c9c7a0 Adds explanation about all_elasticache_nodes and all_elastic_clusters settings 10 years ago
Victor Schröder 2acfbce64d Removes unnecessary commented code and replaces with useful information 10 years ago
Victor Schröder f2d22c1373 Fixes error messages to mention ElastiCache 10 years ago
Victor Schröder e8c3e3d645 Cleans some unnecessary white spaces in ec2.py dynamic inventory plugin 10 years ago
Victor Schröder 77a2ad0e8c Improves code organization in get_dict_from_describe_dict method 10 years ago
Victor Schröder 41b034a5d2 Process information about replica clusters for ElastiCache replication groups 10 years ago
Victor Schröder e692a18a29 Process information about primary clusters for ElastiCache replication groups 10 years ago
Victor Schröder 43f9a653d0 Process CacheNodeIdsToReboot complex type for cache clusters 10 years ago
Victor Schröder ffd74049da Comments about the naming pattern in the script, that certainly deserves future refactoring 10 years ago
Victor Schröder f25ad9dc51 Adds the appropriate key checks for ElastiCache replication groups in get_dict_from_describe_dict method 10 years ago
Victor Schröder 069ee11699 Creates add_elasticache_replication_group method in ec2.py dynamic inventory script 10 years ago
Victor Schröder c18f6cae11 Creates get_elasticache_replication_groups_by_region method to handle the API call 10 years ago
Victor Schröder 40ce072747 Adds the logic to process the new config entries about ElastiCache replication groups 10 years ago
Victor Schröder 22020ac3cd Adds the necessary config entries to ec2.ini, to support ElastiCache replication groups 10 years ago
Victor Schröder e64daba8e7 Adds a flag (is_redis) to prevent duplicity of information about Redis single node clusters 10 years ago
Victor Schröder 2a242a0e1b Creates add_elasticache_node method in ec2.py 10 years ago
Victor Schröder 98a5531966 Makes the API requests to return nodes' information too 10 years ago
Victor Schröder dbb0304cea Adds uncammelize helper method to put the labels in the expected output format 10 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) 10 years ago
Victor Schröder 2cd76cf0e3 Creates add_elasticache_cluster method to digest the API answer about ElastiCache clusters 10 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...) 10 years ago
Victor Schröder 50b320615e Little improvement in the organization of the configuration loader method 10 years ago
Victor Schröder bc80bd36af Adds the necessary logic to ec2.py to load ElastiCache related configuration 10 years ago
Victor Schröder 382c6fe05b Adds basic configuration to ec2.ini to support ElastiCache Clusters and Nodes 10 years ago
sirkubax 0f68db2d7e Update ec2.ini
Warning about usage boto+ec2.ini
10 years ago
joshainglis f0fb2e7f65 Removed shebang line from .ini file 10 years ago
joshainglis 23460e6480 Removed a dictionary comprehension for python 2.6 support 10 years ago
joshainglis 7692391568 Removed some text 10 years ago
joshainglis efc3d2931e Fixed typo 10 years ago
Brian Coca 67d065c758 Merge pull request #10946 from izhukov/inventory-DO-api-v2
Update DigitalOcean dynamic inventory to API v2
10 years ago
Monty Taylor 96759cda82 Add deprecation notices to the old nova inventory 10 years ago
Aleksey Zhukov b7d644d484 Fix broken cache logic 10 years ago
Aleksey Zhukov 3861597696 Bring back cache 10 years ago
Aleksey Zhukov 0d3e015dd1 Update DigitalOcean dynamic inventory to API v2 10 years ago
Brian Coca 69ac1b7eee Merge pull request #9835 from resmo/feature/cloudstack-inventory
cloudstack: add dynamic inventory
10 years ago