playground/ansible-playbooks/add-user-group.yml

8 lines
155 B
YAML

- hosts: all
remote_user: hyung-hwan
tasks:
- name: add user group 'tomcat'
group: name=tomcat
become: true
become_method: sudo