Add Ansible configuration and playbook for user creation; update Vagrantfile for playbook path
This commit is contained in:
9
ansible/vytvor_uzivatele.yml
Normal file
9
ansible/vytvor_uzivatele.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Přidat uživatele "novyuzivatel"
|
||||
user:
|
||||
name: novyuzivatel
|
||||
shell: /bin/bash
|
||||
create_home: yes
|
Reference in New Issue
Block a user