Skip to content

Commit

Permalink
Fix No2 error: Expected string in description of sudo.
Browse files Browse the repository at this point in the history
  • Loading branch information
vbotka committed Jan 14, 2025
1 parent 03685bb commit 4c0798d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inventory/iocage.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
- Enable execution as root.
- This requires passwordless sudo of the command C(iocage list*)
- If O(env) is used C(SETENV) tag is needed.
- For example C('admin ALL=(ALL) NOPASSWD:SETENV: /usr/local/bin/iocage list*')
type: boolean
default: false
get_properties:
Expand Down Expand Up @@ -98,6 +97,7 @@
---
# execute as root
# sudoers example 'admin ALL=(ALL) NOPASSWD:SETENV: /usr/local/bin/iocage list*'
plugin: community.general.iocage
host: 10.1.0.73
user: admin
Expand Down

0 comments on commit 4c0798d

Please sign in to comment.