stoof
This commit is contained in:
@@ -1,31 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure backup user exists
|
- name: Ensure admin user exists
|
||||||
user:
|
user:
|
||||||
name: "{{ backup_user }}"
|
name: "{{ admin_user }}"
|
||||||
state: present
|
state: present
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
|
|
||||||
- name: Create .ssh directory
|
|
||||||
file:
|
|
||||||
path: /home/{{ backup_user }}/.ssh
|
|
||||||
state: directory
|
|
||||||
owner: "{{ backup_user }}"
|
|
||||||
group: "{{ backup_user }}"
|
|
||||||
mode: '0700'
|
|
||||||
|
|
||||||
- name: Copy public key to authorized_keys
|
|
||||||
copy:
|
|
||||||
src: "{{ public_key_path }}"
|
|
||||||
dest: /home/{{ backup_user }}/.ssh/authorized_keys
|
|
||||||
owner: "{{ backup_user }}"
|
|
||||||
group: "{{ backup_user }}"
|
|
||||||
mode: '0600'
|
|
||||||
|
|
||||||
- name: Create backups dir for mount point
|
|
||||||
file:
|
|
||||||
path: "{{ mount_point }}"
|
|
||||||
state: directory
|
|
||||||
owner: "{{ backup_user }}"
|
|
||||||
group: "{{ backup_user }}"
|
|
||||||
mode: '0755'
|
|
||||||
when: mount_device is defined and mount_device != ""
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: Enable guix repo for extra guile packages
|
- name: Enable guix repo for extra guile packages
|
||||||
copr:
|
community.general.copr:
|
||||||
host: copr.fedorainfracloud.org
|
host: copr.fedorainfracloud.org
|
||||||
state: enabled
|
state: enabled
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
copr_repos:
|
copr_repos:
|
||||||
- swayfx/swayfx
|
- swayfx/swayfx
|
||||||
- dariqq/guile-libraries
|
|
||||||
|
|
||||||
wm_packages:
|
wm_packages:
|
||||||
- swayfx
|
- swayfx
|
||||||
@@ -32,6 +31,7 @@ ui_packages:
|
|||||||
- google-noto-sans-cjk-fonts
|
- google-noto-sans-cjk-fonts
|
||||||
- google-noto-color-emoji-fonts
|
- google-noto-color-emoji-fonts
|
||||||
- google-noto-emoji-fonts
|
- google-noto-emoji-fonts
|
||||||
|
- google-noto-sans-brahmi-fonts
|
||||||
- terminus-fonts
|
- terminus-fonts
|
||||||
|
|
||||||
general_packages:
|
general_packages:
|
||||||
@@ -60,7 +60,7 @@ general_packages:
|
|||||||
- wireguard-tools
|
- wireguard-tools
|
||||||
- dnf-automatic
|
- dnf-automatic
|
||||||
- translate-shell
|
- translate-shell
|
||||||
- guile-json
|
- mpv
|
||||||
|
|
||||||
flatpak_packages:
|
flatpak_packages:
|
||||||
- net.ankiweb.Anki
|
- net.ankiweb.Anki
|
||||||
|
|||||||
Reference in New Issue
Block a user