fix: Several fixes and actual usage of variables
This commit is contained in:
@@ -0,0 +1 @@
|
||||
name[template] skip
|
||||
@@ -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 }}"
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
ansible.builtin.command: uv run python3 ./build.py
|
||||
args:
|
||||
chdir: "{{ destination_path }}/50ohm"
|
||||
become: true
|
||||
become_user: "{{ fiftyohm_user }}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user