Files
ansible-freeipa/playbooks/sudocmdgroup/ensure-sudocmdgroup-is-present.yml
Rafael Guterres Jeffman df87ff464a example playbooks: ipaadmin_password is used and consistent.
Some example playbooks do not had the parameter `ipaadmin_password`
set, and some had a different value than the standard value
"SomeADMINpassword".

This patch fixes this difference in all example playbooks.
2022-03-30 08:45:05 -03:00

16 lines
360 B
YAML

---
- name: Playbook to handle sudocmdgroups
hosts: ipaserver
become: true
tasks:
- name: Ensure sudocmdgroup sudocmds are present
ipasudocmdgroup:
ipaadmin_password: SomeADMINpassword
name: network
description: Group of important commands.
sudocmd:
- /usr/sbin/ifconfig
- /usr/sbin/iwlist
state: present