mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +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
|
- name: install sudo
|
||||||
pacman: name=sudo state=present
|
package:
|
||||||
|
name: sudo
|
||||||
- name: create sudoers
|
state: present
|
||||||
copy:
|
|
||||||
src: sudoers
|
|
||||||
dest: /etc/sudoers
|
|
||||||
mode: "0440"
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
backup: yes
|
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
name: administrator
|
name: administrator
|
||||||
update_password: on_create
|
update_password: on_create
|
||||||
password: "{{ user_administrator_initial_password | password_hash('sha512') }}"
|
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
|
- name: create /home/administrator/.ssh/authorized_keys
|
||||||
copy:
|
copy:
|
||||||
|
Loading…
Reference in New Issue
Block a user