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 greetd
|
||||
when:
|
||||
- greetd_configured is undefined
|
||||
block:
|
||||
- name: Load greetd config
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/greetd.yml
|
||||
- name: Load greetd config
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/greetd.yml
|
||||
|
||||
- name: Append greetd to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + greetd.pkgs }}"
|
||||
|
||||
- name: Set greetd_configured
|
||||
ansible.builtin.set_fact:
|
||||
greetd_configured: true
|
||||
- name: Append greetd to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + greetd.pkgs }}"
|
||||
|
||||
Reference in New Issue
Block a user