Add user playbook
This commit is contained in:
parent
3f4bd3b8cc
commit
b459470590
2 changed files with 16 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
- import_playbook: base.ansible.yml
|
||||
- import_playbook: bootloader.ansible.yml
|
||||
- import_playbook: disks.ansible.yml
|
||||
# - import_playbook: user.ansible.yml
|
||||
- import_playbook: user.ansible.yml
|
||||
# - import_playbook: shell.ansible.yml
|
||||
# - import_playbook: ansible.ansible.yml
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
- hosts: localhost
|
||||
vars_files:
|
||||
- ../map.yml
|
||||
tasks:
|
||||
- name: Create Noveria user
|
||||
user:
|
||||
uid: 1000
|
||||
name: noveria
|
||||
shell: /bin/false
|
||||
home: /home/noveria
|
||||
password: '*'
|
||||
- name: Edit root user
|
||||
user:
|
||||
name: root
|
||||
shell: /bin/zsh
|
Loading…
Reference in a new issue