Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hosts: host1
- remote_user: root
- tasks:
- - name: Creating user arun with shell login
- user:
- name: arun
- password: redhat
- shell: /bin/bash
- - name: creating group
- group:
- name: arungrp
- state: present
- - name: adding test user to group
- user:
- name: test
- group: arungrp
- append: yes
Add Comment
Please, Sign In to add comment