Merge pull request #6491 from jlaska/apt_repository_signing_fix
[apt_repository] Correct check_mode conditional logic
This commit is contained in:
commit
7eb48d9d85
1 changed files with 2 additions and 2 deletions
|
@ -353,9 +353,9 @@ def get_add_ppa_signing_key_callback(module):
|
||||||
module.run_command(command, check_rc=True)
|
module.run_command(command, check_rc=True)
|
||||||
|
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
return _run_command
|
|
||||||
else:
|
|
||||||
return None
|
return None
|
||||||
|
else:
|
||||||
|
return _run_command
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in a new issue