mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix spelling mistakes (comments only) (#25564)
Original Author : klemens <ka7@github.com> Taking over previous PR as per https://github.com/ansible/ansible/pull/23644#issuecomment-307334525 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
John R Barker
parent
460d932aa8
commit
b89cb95609
@@ -872,7 +872,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
|
||||
|
||||
def stop_instance(self):
|
||||
instance = self.get_instance()
|
||||
# in check mode intance may not be instanciated
|
||||
# in check mode instance may not be instanciated
|
||||
if instance:
|
||||
if instance['state'].lower() in ['stopping', 'stopped']:
|
||||
return instance
|
||||
@@ -893,7 +893,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
|
||||
|
||||
def start_instance(self):
|
||||
instance = self.get_instance()
|
||||
# in check mode intance may not be instanciated
|
||||
# in check mode instance may not be instanciated
|
||||
if instance:
|
||||
if instance['state'].lower() in ['starting', 'running']:
|
||||
return instance
|
||||
@@ -914,7 +914,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
|
||||
|
||||
def restart_instance(self):
|
||||
instance = self.get_instance()
|
||||
# in check mode intance may not be instanciated
|
||||
# in check mode instance may not be instanciated
|
||||
if instance:
|
||||
if instance['state'].lower() in [ 'running', 'starting' ]:
|
||||
self.result['changed'] = True
|
||||
@@ -936,7 +936,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
|
||||
def restore_instance(self):
|
||||
instance = self.get_instance()
|
||||
self.result['changed'] = True
|
||||
# in check mode intance may not be instanciated
|
||||
# in check mode instance may not be instanciated
|
||||
if instance:
|
||||
args = {}
|
||||
args['templateid'] = self.get_template_or_iso(key='id')
|
||||
|
||||
@@ -82,7 +82,7 @@ extends_documentation_fragment: cloudstack
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Add VMs to an exising load balancer
|
||||
# Add VMs to an existing load balancer
|
||||
- local_action:
|
||||
module: cs_loadbalancer_rule_member
|
||||
name: balance_http
|
||||
|
||||
@@ -38,7 +38,7 @@ options:
|
||||
required: true
|
||||
id:
|
||||
description:
|
||||
- uuid of the exising pod.
|
||||
- uuid of the existing pod.
|
||||
default: null
|
||||
required: false
|
||||
start_ip:
|
||||
|
||||
@@ -161,7 +161,7 @@ region_level_vpc:
|
||||
type: boolean
|
||||
sample: true
|
||||
restart_required:
|
||||
description: "Wheter the VPC router needs a restart or not."
|
||||
description: "Whether the VPC router needs a restart or not."
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: true
|
||||
|
||||
@@ -38,7 +38,7 @@ options:
|
||||
required: true
|
||||
id:
|
||||
description:
|
||||
- uuid of the exising zone.
|
||||
- uuid of the existing zone.
|
||||
default: null
|
||||
required: false
|
||||
state:
|
||||
|
||||
Reference in New Issue
Block a user