diff --git a/resources/playbook/roles/bibigrid/tasks/001-apt.yml b/resources/playbook/roles/bibigrid/tasks/001-apt.yml index 88345d77..0ca1c17b 100644 --- a/resources/playbook/roles/bibigrid/tasks/001-apt.yml +++ b/resources/playbook/roles/bibigrid/tasks/001-apt.yml @@ -16,6 +16,8 @@ - name: Wait for /var/lib/dpkg/lock-frontend to be released shell: while lsof /var/lib/dpkg/lock-frontend ; do sleep 10; done; + tags: + - skip_ansible_lint - name: Wait for post-launch services to stop service_facts: diff --git a/resources/playbook/roles/bibigrid/tasks/020-disk-server.yml b/resources/playbook/roles/bibigrid/tasks/020-disk-server.yml index 7e7d5698..6691225e 100644 --- a/resources/playbook/roles/bibigrid/tasks/020-disk-server.yml +++ b/resources/playbook/roles/bibigrid/tasks/020-disk-server.yml @@ -17,7 +17,9 @@ - "{{ master.disks }}" when: master.disks is defined -- block: +- when: volumes is defined and auto_mount + failed_when: false + block: - name: Make sure disks are available filesystem: fstype: ext4 @@ -36,10 +38,9 @@ with_items: "{{ volumes }}" - name: Mount disks + mount: path: "{{ item.name }}" src: "{{ item.device }}" state: mounted with_items: "{{ volumes }}" - when: volumes is defined and auto_mount - failed_when: false diff --git a/resources/playbook/roles/bibigrid/tasks/042-slurm.yml b/resources/playbook/roles/bibigrid/tasks/042-slurm.yml index b914cb24..e134dbe2 100644 --- a/resources/playbook/roles/bibigrid/tasks/042-slurm.yml +++ b/resources/playbook/roles/bibigrid/tasks/042-slurm.yml @@ -16,6 +16,7 @@ Pin: version 23.11.* Pin-Priority: 1001 dest: /etc/apt/preferences.d/slurm-bibigrid + mode: '0311' - name: Install slurm-bibigrid package apt: