[deyu1@kvm19 ansible]$ ansible-doc group
[deyu1@kvm19 ansible]$ ansible-doc group | grep ^EX -A5 EXAMPLES: - name: Ensure group "somegroup" exists ansible.builtin.group: name: somegroup state: present