fix(configuration): tolerate missing units, gate Secure Boot to supported OSes, fix clevis install per family
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
loop: "{{ configuration_systemd_services }}"
|
||||
register: configuration_enable_service_result
|
||||
changed_when: configuration_enable_service_result.rc == 0
|
||||
failed_when: >-
|
||||
configuration_enable_service_result.rc != 0
|
||||
and 'No such file or directory' not in (configuration_enable_service_result.stderr | default(''))
|
||||
and 'does not exist' not in (configuration_enable_service_result.stderr | default(''))
|
||||
|
||||
- name: Activate UFW firewall
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user