Commit b0f9728c by ansible

no message

1 parent 8a696b1c
Showing with 3 additions and 2 deletions
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
tasks: tasks:
- name: Deploy Ansible User - name: Deploy Ansible User
command: useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111 command: useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111
- name: Grant Permission - name: Grant Permission
command: usermod -aG sudo ansible command: usermod -aG sudo ansible
- name: Deploy Key
copy: - copy:
src: /tmp/configuration/authorized_keys src: /tmp/configuration/authorized_keys
dest: /home/ansible/.ssh/authorized_keys dest: /home/ansible/.ssh/authorized_keys
owner: ansible owner: ansible
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!