18 lines
483 B
YAML
18 lines
483 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Add cmake-format
|
|
when:
|
|
- cmake_format_configured is undefined
|
|
block:
|
|
- name: Load cmake-format configuration
|
|
ansible.builtin.include_tasks:
|
|
file: config/cmake-format.yml
|
|
|
|
- name: Append cmake-format to pkg_sys
|
|
ansible.builtin.set_fact:
|
|
pkg_sys: "{{ pkg_sys + cmake_format.pkgs }}"
|
|
|
|
- name: Set cmake-format_configured
|
|
ansible.builtin.set_fact:
|
|
cmake_format_configured: true
|