mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
multiple spelling error changes
This commit is contained in:
parent
9a6998aa17
commit
7f5dd5e85d
48 changed files with 72 additions and 72 deletions
|
@ -198,7 +198,7 @@ def main():
|
|||
pass
|
||||
mode = module.params['slave_mode']
|
||||
|
||||
#Check if we ahve all the data
|
||||
#Check if we have all the data
|
||||
if mode == "slave": # Only need data if we want to be slave
|
||||
if not master_host:
|
||||
module.fail_json(
|
||||
|
@ -235,7 +235,7 @@ def main():
|
|||
else:
|
||||
# Do the stuff
|
||||
# (Check Check_mode before commands so the commands aren't evaluated
|
||||
# if not necesary)
|
||||
# if not necessary)
|
||||
if mode == "slave":
|
||||
if module.check_mode or\
|
||||
set_slave_mode(r, master_host, master_port):
|
||||
|
@ -281,7 +281,7 @@ def main():
|
|||
|
||||
# Do the stuff
|
||||
# (Check Check_mode before commands so the commands aren't evaluated
|
||||
# if not necesary)
|
||||
# if not necessary)
|
||||
if mode == "all":
|
||||
if module.check_mode or flush(r):
|
||||
module.exit_json(changed=True, flushed=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue