From e2fcd7767e9edc431f6713551719420fc66ca7e4 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Tue, 23 Aug 2022 12:31:54 -0300 Subject: [PATCH] ipasudorule: Fix usage of 'action' and 'state' in examples. Some examples in ipasudorule were using `action: enabled` when it should've been `state: enabled`. The examples were fixed. --- plugins/modules/ipasudorule.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/modules/ipasudorule.py b/plugins/modules/ipasudorule.py index fd3671ed..d26f023a 100644 --- a/plugins/modules/ipasudorule.py +++ b/plugins/modules/ipasudorule.py @@ -162,19 +162,19 @@ EXAMPLES = """ hostgroup: cluster action: member -# Ensure sudo rule for usercategory "all" +# Ensure sudo rule for usercategory "all" is enabled - ipasudorule: ipaadmin_password: SomeADMINpassword name: allusers usercategory: all - action: enabled + state: enabled -# Ensure sudo rule for hostcategory "all" +# Ensure sudo rule for hostcategory "all" is enabled - ipasudorule: ipaadmin_password: SomeADMINpassword name: allhosts hostcategory: all - action: enabled + state: enabled # Ensure Sudo Rule tesrule1 is absent - ipasudorule: -- GitLab