add cbfmt

This commit is contained in:
Matthew Stobbs
2025-03-27 19:53:05 -06:00
parent 9dc78f3b89
commit 77d72bcbd2
3 changed files with 28 additions and 0 deletions

17
tasks/config/cbfmt.yml Normal file
View File

@@ -0,0 +1,17 @@
# vim: set filetype=yaml.ansible :
---
- name: Add cbfmt
when:
- cbfmt_configured is undefined
block:
- name: Load cbfmt configuration
ansible.builtin.include_tasks:
file: config/cbfmt.yml
- name: Append cbfmt to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + cbfmt.pkgs }}"
- name: Set cbfmt_configured
ansible.builtin.set_fact:
cbfmt_configured: true