Files
ansible-freeipa/playbooks/sudorule/ensure-sudorule-is-present.yml
Rafael Guterres Jeffman 3943adaa8d Fix ansible-lint error 502 (unnamed-task) for example playbooks.
This patch adds 'name' to all example playbook tasks that did not
have it, fixing ansible-lint's error 'unnamed-task'.
2021-09-29 15:49:00 -03:00

15 lines
305 B
YAML

---
- name: Tests
hosts: ipaserver
become: true
tasks:
- name: Ensure sudorule command is present
ipasudorule:
ipaadmin_password: SomeADMINpassword
name: testrule1
description: A test sudo rule.
allow_sudocmd: /bin/ls
deny_sudocmd: /bin/vim
state: present