Skip to content

Commit

Permalink
Update ansible-createuser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devopstrainingbanglore authored May 21, 2020
1 parent f442c92 commit 984a8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible-createuser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- hosts: all
tasks:
- name: Create Devops User
- name: Create Ansible User
user:
name: ansible
create_home: true
Expand All @@ -14,7 +14,7 @@
state: present
manage_dir: true
key: "{{ lookup('file', '/home/ansible/.ssh/id_rsa.pub') }}"
- name: Setup Sudo Access for Devops User
- name: Setup Sudo Access for Ansible User
copy:
dest: /etc/sudoers.d/ansible
content: 'ansible ALL=(ALL) NOPASSWD: ALL'
Expand Down

0 comments on commit 984a8b6

Please sign in to comment.