Fix default playbook inclusion
This commit is contained in:
parent
b9c33d66ce
commit
58dd635d0f
4 changed files with 12 additions and 7 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
tags: network
|
tags: network
|
||||||
|
|
||||||
- name: Network host specific provisioning
|
- name: Network host specific provisioning
|
||||||
ansible.builtin.import_tasks: "tasks/network/{{ ansible_hostname }}.yml"
|
ansible.builtin.import_tasks: "tasks/network/{{ hostname }}.yml"
|
||||||
tags: network-specific
|
tags: network-specific
|
||||||
|
|
||||||
- name: Systemd provisioning
|
- name: Systemd provisioning
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
---
|
---
|
||||||
|
- name: Include default playbook
|
||||||
|
ansible.builtin.import_playbook: default.yml
|
||||||
|
vars:
|
||||||
|
hostname: desktop
|
||||||
|
|
||||||
- name: Arch Linux provisioning
|
- name: Arch Linux provisioning
|
||||||
hosts: desktop
|
hosts: desktop
|
||||||
|
gather_facts: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Include default playbook
|
|
||||||
ansible.builtin.import_playbook: default.yml
|
|
||||||
|
|
||||||
- name: Wireguard provisioning
|
- name: Wireguard provisioning
|
||||||
ansible.builtin.import_tasks: "tasks/wireguard.yml"
|
ansible.builtin.import_tasks: "tasks/wireguard.yml"
|
||||||
tags: wireguard
|
tags: wireguard
|
||||||
|
|
|
||||||
6
htpc.yml
6
htpc.yml
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
- hosts: htpc
|
|
||||||
gather_facts: true
|
|
||||||
|
|
||||||
- name: Include default playbook
|
- name: Include default playbook
|
||||||
ansible.builtin.import_playbook: default.yml
|
ansible.builtin.import_playbook: default.yml
|
||||||
|
vars:
|
||||||
|
hostname: htpc
|
||||||
|
|
||||||
- name: Arch Linux provisioning
|
- name: Arch Linux provisioning
|
||||||
hosts: htpc
|
hosts: htpc
|
||||||
|
gather_facts: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Wireguard media provisioning
|
- name: Wireguard media provisioning
|
||||||
ansible.builtin.import_tasks: "tasks/wireguard-media.yml"
|
ansible.builtin.import_tasks: "tasks/wireguard-media.yml"
|
||||||
|
|
|
||||||
2
xps.yml
2
xps.yml
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
- name: Include default playbook
|
- name: Include default playbook
|
||||||
ansible.builtin.import_playbook: default.yml
|
ansible.builtin.import_playbook: default.yml
|
||||||
|
vars:
|
||||||
|
hostname: xps
|
||||||
|
|
||||||
- name: Arch Linux provisioning
|
- name: Arch Linux provisioning
|
||||||
hosts: xps
|
hosts: xps
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue