Ansible User Commands
Jump to navigation
Jump to search
Create a user
---
- name: Playbook for creating users
hosts: all
tasks:
- name: create user
user:
name: robert
home: /home/robert
shell: /bin/bash