Merge subdirectories
This commit is contained in:
parent
62d698325d
commit
72c722ec0b
8
main.yml
8
main.yml
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- ansible.builtin.import_playbook: "playbooks/system/main.yml"
|
- ansible.builtin.import_playbook: "playbooks/system.yml"
|
||||||
- ansible.builtin.import_playbook: "playbooks/vpn/main.yml"
|
- ansible.builtin.import_playbook: "playbooks/vpn.yml"
|
||||||
- ansible.builtin.import_playbook: "playbooks/backups/main.yml"
|
- ansible.builtin.import_playbook: "playbooks/backups.yml"
|
||||||
- ansible.builtin.import_playbook: "playbooks/services/main.yml"
|
- ansible.builtin.import_playbook: "playbooks/services.yml"
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
- name: "backups : yggdrasil"
|
- name: "backups : yggdrasil"
|
||||||
hosts: "yggdrasil"
|
hosts: "yggdrasil"
|
||||||
roles:
|
roles:
|
||||||
- role: "snapshots"
|
- role: "backups/snapshots"
|
||||||
when: the_nine_worlds_production | bool
|
when: the_nine_worlds_production | bool
|
||||||
tags: "backups:snapshots"
|
tags: "backups:snapshots"
|
||||||
- role: "restic"
|
- role: "backups/restic"
|
||||||
when: the_nine_worlds_production | bool
|
when: the_nine_worlds_production | bool
|
||||||
tags: "backups:restic"
|
tags: "backups:restic"
|
@ -1,6 +1,6 @@
|
|||||||
- name: "play:services : role:backups:{{ services_service_name }} : tasks:vars"
|
- name: "play:services : role:backups:{{ services_service_name }} : tasks:vars"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
tags:
|
tags:
|
||||||
- "services:backups:snapshots"
|
- "services:backups:snapshots"
|
@ -1,6 +1,6 @@
|
|||||||
- name: "{{ services_service_name }} : set variables"
|
- name: "{{ services_service_name }} : set variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "{{ services_service_name }} : create service backup data dataset"
|
- name: "{{ services_service_name }} : create service backup data dataset"
|
@ -1,6 +1,6 @@
|
|||||||
- name: "{{ services_service_name }} : set variables"
|
- name: "{{ services_service_name }} : set variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "{{ services_service_name }} : create home dataset"
|
- name: "{{ services_service_name }} : create home dataset"
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
- name: "{{ services_service_name }} : include volume list"
|
- name: "{{ services_service_name }} : include volume list"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "volumes"
|
vars_from: "volumes"
|
||||||
|
|
||||||
- name: "{{ services_service_name }} : create volume datasets"
|
- name: "{{ services_service_name }} : create volume datasets"
|
@ -1,11 +1,11 @@
|
|||||||
- name: "set the user variables"
|
- name: "set the user variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "set the version variables"
|
- name: "set the version variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "deploy/include"
|
name: "services/deploy/include"
|
||||||
vars_from: "versions"
|
vars_from: "versions"
|
||||||
|
|
||||||
- block:
|
- block:
|
@ -1,11 +1,11 @@
|
|||||||
- name: "set the user variables"
|
- name: "set the user variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "set the version variables"
|
- name: "set the version variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "deploy/include"
|
name: "services/deploy/include"
|
||||||
vars_from: "versions"
|
vars_from: "versions"
|
||||||
|
|
||||||
- block:
|
- block:
|
@ -1,11 +1,11 @@
|
|||||||
- name: "set the user variables"
|
- name: "set the user variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "set the version variables"
|
- name: "set the version variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "deploy/include"
|
name: "services/deploy/include"
|
||||||
vars_from: "versions"
|
vars_from: "versions"
|
||||||
|
|
||||||
- block:
|
- block:
|
@ -1,11 +1,11 @@
|
|||||||
- name: "set the user variables"
|
- name: "set the user variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "set the version variables"
|
- name: "set the version variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "deploy/include"
|
name: "services/deploy/include"
|
||||||
vars_from: "versions"
|
vars_from: "versions"
|
||||||
|
|
||||||
- name: "set the rproxy variables"
|
- name: "set the rproxy variables"
|
@ -1,11 +1,11 @@
|
|||||||
- name: "set the user variables"
|
- name: "set the user variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "set the version variables"
|
- name: "set the version variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "deploy/include"
|
name: "services/deploy/include"
|
||||||
vars_from: "versions"
|
vars_from: "versions"
|
||||||
|
|
||||||
- block:
|
- block:
|
@ -1,11 +1,11 @@
|
|||||||
- name: "set the user variables"
|
- name: "set the user variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "set the version variables"
|
- name: "set the version variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "deploy/include"
|
name: "services/deploy/include"
|
||||||
vars_from: "versions"
|
vars_from: "versions"
|
||||||
|
|
||||||
- name: "set the rproxy variables"
|
- name: "set the rproxy variables"
|
@ -1,11 +1,11 @@
|
|||||||
- name: "set the user variables"
|
- name: "set the user variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
vars_from: "user"
|
vars_from: "user"
|
||||||
|
|
||||||
- name: "set the version variables"
|
- name: "set the version variables"
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: "deploy/include"
|
name: "services/deploy/include"
|
||||||
vars_from: "versions"
|
vars_from: "versions"
|
||||||
|
|
||||||
- name: "check if hugo is installed"
|
- name: "check if hugo is installed"
|
@ -29,7 +29,7 @@
|
|||||||
# the above tasks haven't executed.
|
# the above tasks haven't executed.
|
||||||
- name: "auto_update : systemd daemon reload for each service"
|
- name: "auto_update : systemd daemon reload for each service"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "include"
|
name: "services/include"
|
||||||
tasks_from: "daemon_reload"
|
tasks_from: "daemon_reload"
|
||||||
when:
|
when:
|
||||||
services_setup_system_pod_service_auto_update_service_file.changed or
|
services_setup_system_pod_service_auto_update_service_file.changed or
|
@ -1,14 +1,14 @@
|
|||||||
- name: "nameserver : fetch valkyrie's resolv.conf"
|
- name: "nameserver : fetch valkyrie's resolv.conf"
|
||||||
ansible.builtin.fetch:
|
ansible.builtin.fetch:
|
||||||
src: "/etc/resolv.conf"
|
src: "/etc/resolv.conf"
|
||||||
dest: "./files/setup_system/nameserver/"
|
dest: "./files/services/setup_system/nameserver/"
|
||||||
flat: true
|
flat: true
|
||||||
when:
|
when:
|
||||||
ansible_hostname == "valkyrie"
|
ansible_hostname == "valkyrie"
|
||||||
|
|
||||||
- name: "nameserver : copy valkyrie's resolv.conf to other hosts"
|
- name: "nameserver : copy valkyrie's resolv.conf to other hosts"
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "../../../files/setup_system/nameserver/resolv.conf"
|
src: "files/services/setup_system/nameserver/resolv.conf"
|
||||||
dest: "{{ services_root_directory }}/valkyrie-resolv.conf"
|
dest: "{{ services_root_directory }}/valkyrie-resolv.conf"
|
||||||
when:
|
when:
|
||||||
ansible_hostname != "valkyrie"
|
ansible_hostname != "valkyrie"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user