add cbfmt
This commit is contained in:
17
tasks/config/cbfmt.yml
Normal file
17
tasks/config/cbfmt.yml
Normal 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
|
||||||
6
tasks/pkgs/cbfmt.yml
Normal file
6
tasks/pkgs/cbfmt.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# vim: set filetype=yaml.ansible :
|
||||||
|
---
|
||||||
|
- name: Set cbfmt config
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
cbfmt:
|
||||||
|
pkgs: "{{ pkgconfig.cbfmt.pkgs }}"
|
||||||
5
vars/pkgs/cbfmt.yml
Normal file
5
vars/pkgs/cbfmt.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# vim: set filetype=yaml.ansible :
|
||||||
|
---
|
||||||
|
cbfmt:
|
||||||
|
pkgs:
|
||||||
|
- cbfmt
|
||||||
Reference in New Issue
Block a user