syspatch: Check for apply=no condition (#65350)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
38193f6b60
commit
0d34a2ecee
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ def syspatch_run(module):
|
||||||
reboot_needed = False
|
reboot_needed = False
|
||||||
warnings = []
|
warnings = []
|
||||||
|
|
||||||
# Setup command flags
|
# Set safe defaults for run_flag and check_flag
|
||||||
|
run_flag = ['-c']
|
||||||
|
check_flag = ['-c']
|
||||||
if module.params['revert']:
|
if module.params['revert']:
|
||||||
check_flag = ['-l']
|
check_flag = ['-l']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue