Commit d0448314 by ansible

no message

1 parent 98d5b8ba
Showing with 14 additions and 2 deletions
......@@ -2,8 +2,20 @@
- hosts: new-host
become: true
tasks:
- name: Deploy Ansible User
command: useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111
- name: New Ansbile Group
group:
name: ansbile
state: present
- name: New Ansible User
user: useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111
uid: 1111
home: /home/ansible
name: ansible
group: ansible
shell: /bin/bash
system: no
createhome: yes
- name: Grant Permission
command: usermod -aG sudo ansible
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!