removed bool check
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
# 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: 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
|
||||
- name: Append cbfmt to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + cbfmt.pkgs }}"
|
||||
|
||||
@@ -1,17 +1,9 @@
|
||||
# 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: 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
|
||||
- name: Append cmake-format to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + cmake_format.pkgs }}"
|
||||
|
||||
Reference in New Issue
Block a user