refactor: split up file into two distnct sets of handlers to be called separately by plays
This commit is contained in:
11
roles/init-server/handlers/core.yml
Normal file
11
roles/init-server/handlers/core.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for roles/init-vps
|
||||
- name: Setting up Radicle
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/radicle.yml
|
||||
listen: radicle
|
||||
- name: Setting up ViM
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/vim.yml
|
||||
listen: vim
|
||||
@@ -1,7 +0,0 @@
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for roles/init-vps
|
||||
- name: Setting up Quartz
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/quartz.yml
|
||||
listen: quartz
|
||||
43
roles/init-server/handlers/userspace.yml
Normal file
43
roles/init-server/handlers/userspace.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for roles/init-vps
|
||||
- name: Settng up NeoViM
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/neovim.yml
|
||||
listen: neovim
|
||||
- name: Settng up Difftastic
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/difftastic.yml
|
||||
listen: difftastic
|
||||
- name: Settng up Git
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/git.yml
|
||||
listen: git
|
||||
- name: Setting up NodeJS
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/nvm.yml
|
||||
listen: nvm
|
||||
- name: Setting up Rust
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/rustup.yml
|
||||
listen: rustup
|
||||
- name: Setting up Julia
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/julia.yml
|
||||
listen: julia
|
||||
- name: Setting up UV
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/uv.yml
|
||||
listen: uv
|
||||
- name: Setting up Radicle
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/radicle.yml
|
||||
listen: radicle
|
||||
- name: Setting up Surge
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/surge.yml
|
||||
listen: surge
|
||||
- name: Setting up Quartz
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/contingent/pkg/quartz.yml
|
||||
listen: quartz
|
||||
Reference in New Issue
Block a user