diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26a6f4978d3a12de7d3ad5c5ecfb04937fe086a1..6506c3143166f79ffce9901b0eb2c9c950e6d357 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ --- -image: registry.git.stud.rwth-aachen.de/infra/ci-containers/asta-ansible:buster +image: registry.git.fsmpi.rwth-aachen.de/infra/ci-containers/fsmpi-ansible:bullseye variables: GIT_SUBMODULE_STRATEGY: recursive @@ -20,5 +20,4 @@ test: script: - yamllint . - ansible-lint ./*/ - # yamllint disable-line rule:line-length - "! rg --fixed-strings 'passwordstore' ./*/templates" diff --git a/node_exporter/tasks/main.yml b/node_exporter/tasks/main.yml index eaffdfaed67d87428187ffd21790ef1c122b043a..4f187771df09eedd6ea0d61e47c8090cd9606fa8 100644 --- a/node_exporter/tasks/main.yml +++ b/node_exporter/tasks/main.yml @@ -32,8 +32,9 @@ apt: name: smartmontools state: >- - {% if force_smartmontools_on_vm_guest or (ansible_virtualization_role is defined - and not ansible_virtualization_role == "guest") -%} + {% if force_smartmontools_on_vm_guest or + (ansible_virtualization_role is defined + and not ansible_virtualization_role == "guest") -%} present {%- else -%} absent