From 0b78e602cd01d7d83fcbb3f997efcf696cfdc517 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Mon, 9 Sep 2024 09:29:45 +0200 Subject: [PATCH] Fix error in ntp role --- artifacts/lrms/htcondor_fe_install.yml | 2 +- artifacts/lrms/htcondor_wn_install.yml | 2 +- artifacts/lrms/kube_fe_install.yml | 2 +- artifacts/lrms/slurm_fe_install.yml | 2 +- artifacts/lrms/slurm_wn_install.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/artifacts/lrms/htcondor_fe_install.yml b/artifacts/lrms/htcondor_fe_install.yml index f73db36..9f37bc0 100644 --- a/artifacts/lrms/htcondor_fe_install.yml +++ b/artifacts/lrms/htcondor_fe_install.yml @@ -10,7 +10,7 @@ name: systemd-timesyncd state: absent ignore_errors: true - when: ansible_family == "Debian" + when: ansible_os_family == "Debian" roles: - role: grycap.nfs nfs_mode: 'front' diff --git a/artifacts/lrms/htcondor_wn_install.yml b/artifacts/lrms/htcondor_wn_install.yml index 5ac5a76..0cdbd1b 100644 --- a/artifacts/lrms/htcondor_wn_install.yml +++ b/artifacts/lrms/htcondor_wn_install.yml @@ -10,7 +10,7 @@ name: systemd-timesyncd state: absent ignore_errors: true - when: ansible_family == "Debian" + when: ansible_os_family == "Debian" roles: - role: grycap.nfs nfs_mode: 'wn' diff --git a/artifacts/lrms/kube_fe_install.yml b/artifacts/lrms/kube_fe_install.yml index 4a40425..4c39eca 100644 --- a/artifacts/lrms/kube_fe_install.yml +++ b/artifacts/lrms/kube_fe_install.yml @@ -33,7 +33,7 @@ name: systemd-timesyncd state: absent ignore_errors: true - when: ansible_family == "Debian" + when: ansible_os_family == "Debian" roles: - role: grycap.nfs nfs_mode: 'front' diff --git a/artifacts/lrms/slurm_fe_install.yml b/artifacts/lrms/slurm_fe_install.yml index 0154e29..5a2d540 100644 --- a/artifacts/lrms/slurm_fe_install.yml +++ b/artifacts/lrms/slurm_fe_install.yml @@ -13,7 +13,7 @@ name: systemd-timesyncd state: absent ignore_errors: true - when: ansible_family == "Debian" + when: ansible_os_family == "Debian" roles: - role: grycap.nfs nfs_mode: 'front' diff --git a/artifacts/lrms/slurm_wn_install.yml b/artifacts/lrms/slurm_wn_install.yml index b1fff93..41fdc84 100644 --- a/artifacts/lrms/slurm_wn_install.yml +++ b/artifacts/lrms/slurm_wn_install.yml @@ -10,7 +10,7 @@ name: systemd-timesyncd state: absent ignore_errors: true - when: ansible_family == "Debian" + when: ansible_os_family == "Debian" roles: - role: grycap.nfs nfs_mode: 'wn'