mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
Adapted for use with moode radio player
This commit is contained in:
parent
b9f87ad6cb
commit
70169030e0
@ -1,11 +1,4 @@
|
||||
- name: install sudo
|
||||
pacman: name=sudo state=present
|
||||
|
||||
- name: create sudoers
|
||||
copy:
|
||||
src: sudoers
|
||||
dest: /etc/sudoers
|
||||
mode: "0440"
|
||||
owner: root
|
||||
group: root
|
||||
backup: yes
|
||||
package:
|
||||
name: sudo
|
||||
state: present
|
||||
|
@ -3,6 +3,10 @@
|
||||
name: administrator
|
||||
update_password: on_create
|
||||
password: "{{ user_administrator_initial_password | password_hash('sha512') }}"
|
||||
create_home: yes
|
||||
generate_ssh_key: yes
|
||||
ssh_key_type: rsa
|
||||
ssh_key_bits: 8192
|
||||
|
||||
- name: create /home/administrator/.ssh/authorized_keys
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user