diff --git a/tasks/main.yml b/tasks/main.yml index 3c172911104257b345f7e6e18270977d8e376086..eadf738321e192de5801e7c9818112fd094152e7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,12 +5,12 @@ name: wireguard state: present -# - name: Fail on spaces in overlay file names -# ansible.builtin.assert: -# that: -# - "' ' not in item.key" -# with_dict: "{{ wireguard }}" -# no_log: true +- name: Fail on spaces in config file names + ansible.builtin.assert: + that: + - "' ' not in item.key" + with_dict: "{{ wireguard }}" + no_log: true - name: Template wireguard configs when: