mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-14 22:36:05 +02:00
Updated tests/integration/test_vars_usage_in_yaml.py: - Variables immediately followed by '(' are now treated as function calls, not as set variables. This prevents false errors. - Fixed detection of redirect_domain_mappings so it is no longer flagged as unused. See: https://chatgpt.com/share/68c3542d-f44c-800f-a483-b3e43739f315
20 lines
642 B
YAML
20 lines
642 B
YAML
---
|
|
- name: "Akaunting | Check if first run (marker exists?)"
|
|
ansible.builtin.stat:
|
|
path: "{{ AKAUNTING_SETUP_MARKER }}"
|
|
register: akaunting_marker_stat
|
|
|
|
- name: "Akaunting | Decide if setup should be enabled"
|
|
ansible.builtin.set_fact:
|
|
akaunting_setup_enabled: "{{ not akaunting_marker_stat.stat.exists }}"
|
|
|
|
- name: "For '{{ application_id }}': load docker, db and proxy"
|
|
include_role:
|
|
name: sys-stk-full-stateful
|
|
|
|
- name: "Akaunting | Create first-run marker to disable future setup"
|
|
ansible.builtin.file:
|
|
path: "{{ AKAUNTING_SETUP_MARKER }}"
|
|
state: touch
|
|
mode: "0644"
|
|
when: akaunting_setup_enabled | bool |