parent
623f803e0b
commit
0ecbd50c3b
|
@ -21,9 +21,9 @@ servers_suffix = _servers
|
||||||
|
|
||||||
#
|
#
|
||||||
# By default, final JSON is built based on all available info in consul.
|
# By default, final JSON is built based on all available info in consul.
|
||||||
# Suffixes means that services groups will be added in addition to basic infromation. See servers_suffix for additional info
|
# Suffixes means that services groups will be added in addition to basic information. See servers_suffix for additional info
|
||||||
# There are cases when speed is preferable than having services groups
|
# There are cases when speed is preferable than having services groups
|
||||||
# False value will reduce script execution time dragtically.
|
# False value will reduce script execution time drastically.
|
||||||
#
|
#
|
||||||
suffixes = true
|
suffixes = true
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ kv_groups=ansible/groups
|
||||||
kv_metadata=ansible/metadata
|
kv_metadata=ansible/metadata
|
||||||
|
|
||||||
# looks up the health of each service and adds the node to 'up' and 'down' groups
|
# looks up the health of each service and adds the node to 'up' and 'down' groups
|
||||||
# based on the service availibility
|
# based on the service availability
|
||||||
#
|
#
|
||||||
# !!!! if availability is true, suffixes also must be true. !!!!
|
# !!!! if availability is true, suffixes also must be true. !!!!
|
||||||
#
|
#
|
||||||
|
|
|
@ -164,7 +164,7 @@ vpc_id:
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sample: "vpc-1234567"
|
sample: "vpc-1234567"
|
||||||
availibility_zone:
|
availability_zone:
|
||||||
description: The name of the Availability Zone in which the cluster is located.
|
description: The name of the Availability Zone in which the cluster is located.
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -98,7 +98,7 @@ EXAMPLES = '''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
state:
|
state:
|
||||||
description: Current state of the avaibility set
|
description: Current state of the availability set
|
||||||
returned: always
|
returned: always
|
||||||
type: dict
|
type: dict
|
||||||
changed:
|
changed:
|
||||||
|
@ -118,7 +118,7 @@ except ImportError:
|
||||||
|
|
||||||
def availability_set_to_dict(avaset):
|
def availability_set_to_dict(avaset):
|
||||||
'''
|
'''
|
||||||
Serialazing the availability set from the API to Dict
|
Serializing the availability set from the API to Dict
|
||||||
:return: dict
|
:return: dict
|
||||||
'''
|
'''
|
||||||
return dict(
|
return dict(
|
||||||
|
@ -242,7 +242,7 @@ class AzureRMAvailabilitySet(AzureRMModuleBase):
|
||||||
def faildeploy(self, param):
|
def faildeploy(self, param):
|
||||||
'''
|
'''
|
||||||
Helper method to push fail message in the console.
|
Helper method to push fail message in the console.
|
||||||
Usefull to notify that the users cannot change some values in a Availibility Set
|
Useful to notify that the users cannot change some values in a Availability Set
|
||||||
|
|
||||||
:param: variable's name impacted
|
:param: variable's name impacted
|
||||||
:return: void
|
:return: void
|
||||||
|
|
|
@ -61,7 +61,7 @@ EXAMPLES = r'''
|
||||||
|
|
||||||
RETURN = r'''
|
RETURN = r'''
|
||||||
hosts_capability_facts:
|
hosts_capability_facts:
|
||||||
description: metadata about host's capability infromation
|
description: metadata about host's capability information
|
||||||
returned: always
|
returned: always
|
||||||
type: dict
|
type: dict
|
||||||
sample: {
|
sample: {
|
||||||
|
|
Loading…
Reference in New Issue