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
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
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
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)
2015-06-14 22:57:03 +02:00
Victor Schröder
2cd76cf0e3
Creates add_elasticache_cluster method to digest the API answer about ElastiCache clusters
2015-06-14 22:41:05 +02:00
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...)
2015-06-14 22:21:40 +02:00
Victor Schröder
50b320615e
Little improvement in the organization of the configuration loader method
2015-06-14 22:13:27 +02:00
Victor Schröder
bc80bd36af
Adds the necessary logic to ec2.py to load ElastiCache related configuration
2015-06-14 22:12:03 +02:00
Victor Schröder
382c6fe05b
Adds basic configuration to ec2.ini to support ElastiCache Clusters and Nodes
2015-06-14 22:07:39 +02: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