mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07: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:
parent
460d932aa8
commit
b89cb95609
158 changed files with 202 additions and 201 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue