This commit is contained in:
2024-10-22 12:40:42 -07:00
parent c0f842626e
commit 952fb30972
3 changed files with 5 additions and 30 deletions

View File

@@ -1,31 +1,6 @@
---
- name: Ensure backup user exists
- name: Ensure admin user exists
user:
name: "{{ backup_user }}"
name: "{{ admin_user }}"
state: present
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 != ""

View File

@@ -5,7 +5,7 @@
state: latest
- name: Enable guix repo for extra guile packages
copr:
community.general.copr:
host: copr.fedorainfracloud.org
state: enabled
name: "{{ item }}"

View File

@@ -1,7 +1,6 @@
---
copr_repos:
- swayfx/swayfx
- dariqq/guile-libraries
wm_packages:
- swayfx
@@ -32,6 +31,7 @@ ui_packages:
- google-noto-sans-cjk-fonts
- google-noto-color-emoji-fonts
- google-noto-emoji-fonts
- google-noto-sans-brahmi-fonts
- terminus-fonts
general_packages:
@@ -60,7 +60,7 @@ general_packages:
- wireguard-tools
- dnf-automatic
- translate-shell
- guile-json
- mpv
flatpak_packages:
- net.ankiweb.Anki