fix: Several fixes and actual usage of variables
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
name[template] skip
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
loop: "{{ users | flatten(levels=1) }}"
|
loop: "{{ users | flatten(levels=1) }}"
|
||||||
|
|
||||||
- name: Add SSH keys for users
|
- name: Add SSH keys for users
|
||||||
ansible.builtin.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
user: "{{ item.name }}"
|
user: "{{ item.name }}"
|
||||||
state: present
|
state: present
|
||||||
key: "{{ item.sshkeys }}"
|
key: "{{ item.sshkeys }}"
|
||||||
|
|||||||
@@ -2,4 +2,5 @@
|
|||||||
ansible.builtin.command: uv run python3 ./build.py
|
ansible.builtin.command: uv run python3 ./build.py
|
||||||
args:
|
args:
|
||||||
chdir: "{{ destination_path }}/50ohm"
|
chdir: "{{ destination_path }}/50ohm"
|
||||||
|
become: true
|
||||||
become_user: "{{ fiftyohm_user }}"
|
become_user: "{{ fiftyohm_user }}"
|
||||||
|
|||||||
@@ -11,8 +11,9 @@
|
|||||||
repo: https://github.com/DARC-e-V/50ohm.git
|
repo: https://github.com/DARC-e-V/50ohm.git
|
||||||
dest: "{{ destination_path }}/50ohm"
|
dest: "{{ destination_path }}/50ohm"
|
||||||
single_branch: true
|
single_branch: true
|
||||||
version: refactor/migrate-from-directus-to-git
|
version: "{{ fiftyohm_branch }}"
|
||||||
force: true
|
force: true
|
||||||
|
become: true
|
||||||
become_user: "{{ fiftyohm_user }}"
|
become_user: "{{ fiftyohm_user }}"
|
||||||
|
|
||||||
- name: Checkout 50ohm-contents-dl from https://github.com/DARC-e-V/50ohm-contents-dl to {{ destination_path }}
|
- 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
|
repo: https://github.com/DARC-e-V/50ohm-contents-dl.git
|
||||||
dest: "{{ destination_path }}/50ohm-contents-dl"
|
dest: "{{ destination_path }}/50ohm-contents-dl"
|
||||||
single_branch: true
|
single_branch: true
|
||||||
version: HEAD
|
version: "{{ fiftyohm_contents_dl_branch }}"
|
||||||
|
become: true
|
||||||
become_user: "{{ fiftyohm_user }}"
|
become_user: "{{ fiftyohm_user }}"
|
||||||
|
|
||||||
- name: Create {{ destination_path }}/50ohm/config/config.json
|
- name: Create {{ destination_path }}/50ohm/config/config.json
|
||||||
|
|||||||
Reference in New Issue
Block a user