mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge branch 'spelling' of git://github.com/cgar/ansible into devel
Conflicts: docsite/rst/guide_rax.rst plugins/callbacks/mail.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user