diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index d7fa6e9f..e999d70e 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -132,7 +132,7 @@ enabled: true when: - ('zram-generator' in ansible_facts.packages) - - ('zswap.enabled=0' in {{ lookup('ansible.builtin.file', '/proc/cmdline') }}) + - ('zswap.enabled=0' in lookup('ansible.builtin.file', '/proc/cmdline')) become: true tags: services