Refactor relative task paths into absolute path
This commit is contained in:
parent
2889413196
commit
1e7242427a
46 changed files with 112 additions and 111 deletions
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
compose: "{{ acme_dns_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Setting the service config path
|
||||
ansible.builtin.set_fact:
|
||||
|
|
@ -29,4 +29,4 @@
|
|||
notify: Restart service {{ service_name }}
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Import tasks to create service directory
|
||||
ansible.builtin.import_tasks: tasks/steps/create-service-directory.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/create-service-directory.yml"
|
||||
|
||||
# noqa: command-instead-of-module
|
||||
- name: Install acme.sh
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
compose: "{{ authentik_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Template the main backup script
|
||||
ansible.builtin.template:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
compose: "{{ caddy_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Set caddy config path
|
||||
ansible.builtin.set_fact:
|
||||
|
|
@ -41,4 +41,4 @@
|
|||
mode: "0755"
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
compose: "{{ calibre_web_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
compose: "{{ dmarc_report_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
compose: "{{ dokku_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
compose: "{{ emgauwa_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Copy the Caddyfile
|
||||
ansible.builtin.copy:
|
||||
|
|
@ -32,4 +32,4 @@
|
|||
notify: Restart service {{ service_name }}
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy extra services
|
||||
vars:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
compose: "{{ factorio_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Set config path
|
||||
ansible.builtin.set_fact:
|
||||
|
|
@ -32,4 +32,4 @@
|
|||
become: true
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
compose: "{{ forgejo_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Create the app.ini file
|
||||
ansible.builtin.copy:
|
||||
|
|
@ -39,4 +39,4 @@
|
|||
notify: Restart service {{ service_name }}
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -8,9 +8,9 @@
|
|||
compose: "{{ forgejo_runner_compose }}"
|
||||
block:
|
||||
- name: Import tasks to create service directory
|
||||
ansible.builtin.import_tasks: tasks/steps/create-service-directory.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/create-service-directory.yml"
|
||||
- name: Import tasks to template compose file
|
||||
ansible.builtin.import_tasks: tasks/steps/template-compose.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/template-compose.yml"
|
||||
|
||||
- name: Copy the config
|
||||
ansible.builtin.copy:
|
||||
|
|
@ -24,11 +24,11 @@
|
|||
register: forgejo_runner_env_file
|
||||
|
||||
- name: Import tasks create a .env file
|
||||
ansible.builtin.import_tasks: tasks/steps/template-service-env.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/template-service-env.yml"
|
||||
|
||||
- name: Import tasks to prompt for the registration token
|
||||
ansible.builtin.import_tasks: tasks/prompt-registration-token.yml
|
||||
ansible.builtin.import_tasks: prompt-registration-token.yml
|
||||
when: not forgejo_runner_env_file.stat.exists or force_forgejo_runner_registration | default(False)
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
compose: "{{ foundryvtt_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Create aws config
|
||||
ansible.builtin.copy:
|
||||
|
|
@ -22,4 +22,4 @@
|
|||
notify: Restart service {{ service_name }}
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
compose: "{{ gatus_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/prepare-common-service.yml"
|
||||
|
||||
- name: Create config
|
||||
ansible.builtin.copy:
|
||||
|
|
@ -18,4 +18,4 @@
|
|||
notify: Restart service {{ service_name }}
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/start-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
env: "{{ healthcheck_env }}"
|
||||
block:
|
||||
- name: Import tasks to create service directory
|
||||
ansible.builtin.import_tasks: tasks/steps/create-service-directory.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/create-service-directory.yml"
|
||||
|
||||
- name: Import tasks specific to docker
|
||||
ansible.builtin.import_tasks: docker.yml
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
ansible.builtin.import_tasks: systemd.yml
|
||||
|
||||
- name: Import tasks create a .env file
|
||||
ansible.builtin.import_tasks: tasks/steps/template-service-env.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/steps/template-service-env.yml"
|
||||
|
||||
- name: Build service
|
||||
ansible.builtin.command:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
compose: "{{ homebox_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -9,4 +9,4 @@
|
|||
compose: "{{ immich_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
||||
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
|
|
@ -8,4 +8,4 @@
|
|||
compose: "{{ immich_worker_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
ansible.builtin.include_tasks: "{{ tasks_dir }}/deploy-common-service.yml"
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue