fix: Several fixes and actual usage of variables

This commit is contained in:
Lars Weiler
2026-02-08 00:24:08 +01:00
parent ccfa9a7158
commit 00285bc31f
4 changed files with 8 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
name[template] skip
+2 -2
View File
@@ -12,10 +12,10 @@
groups:
- sudo
state: present
loop: "{{ users | flatten(levels=1)}}"
loop: "{{ users | flatten(levels=1) }}"
- name: Add SSH keys for users
ansible.builtin.authorized_key:
ansible.posix.authorized_key:
user: "{{ item.name }}"
state: present
key: "{{ item.sshkeys }}"
+1
View File
@@ -2,4 +2,5 @@
ansible.builtin.command: uv run python3 ./build.py
args:
chdir: "{{ destination_path }}/50ohm"
become: true
become_user: "{{ fiftyohm_user }}"
+4 -2
View File
@@ -11,8 +11,9 @@
repo: https://github.com/DARC-e-V/50ohm.git
dest: "{{ destination_path }}/50ohm"
single_branch: true
version: refactor/migrate-from-directus-to-git
version: "{{ fiftyohm_branch }}"
force: true
become: true
become_user: "{{ fiftyohm_user }}"
- name: Checkout 50ohm-contents-dl from https://github.com/DARC-e-V/50ohm-contents-dl to {{ destination_path }}
@@ -20,7 +21,8 @@
repo: https://github.com/DARC-e-V/50ohm-contents-dl.git
dest: "{{ destination_path }}/50ohm-contents-dl"
single_branch: true
version: HEAD
version: "{{ fiftyohm_contents_dl_branch }}"
become: true
become_user: "{{ fiftyohm_user }}"
- name: Create {{ destination_path }}/50ohm/config/config.json