Adapted for use with moode radio player

This commit is contained in:
Kevin Veen-Birkenbach 2021-01-01 21:07:35 +01:00
parent b9f87ad6cb
commit 70169030e0
2 changed files with 7 additions and 10 deletions

View File

@ -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

View File

@ -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: