mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update admin-user.yml
This commit is contained in:
parent
3a5bdc4a2b
commit
5665f0792a
1 changed files with 0 additions and 17 deletions
|
@ -21,23 +21,6 @@
|
|||
name: "{{ iiab_admin_user }}"
|
||||
groups: wheel,sudo
|
||||
|
||||
- name: Create root .ssh
|
||||
file:
|
||||
path: /root/.ssh
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0700
|
||||
state: directory
|
||||
|
||||
- name: Install dummy root keys as placeholder
|
||||
copy:
|
||||
src: dummy_authorized_keys
|
||||
dest: /root/.ssh/authorized_keys
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
force: no
|
||||
|
||||
- name: Edit the sudoers file -- first make it editable
|
||||
file:
|
||||
path: /etc/sudoers
|
||||
|
|
Loading…
Reference in a new issue