mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 10:45:55 +00:00
20 lines
352 B
YAML
20 lines
352 B
YAML
---
|
|
- name: Tests
|
|
hosts: ipaserver
|
|
become: true
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
- ipasudorule:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: testrule1
|
|
allow_sudocmd:
|
|
- /sbin/ifconfig
|
|
deny_sudocmd:
|
|
- /usr/bin/vim
|
|
allow_sudocmdgroup:
|
|
- devops
|
|
deny_sudocmdgroup:
|
|
- users
|
|
action: member
|