Skip to content

Commit

Permalink
fixed or ignored lint fatals
Browse files Browse the repository at this point in the history
  • Loading branch information
XaverStiensmeier committed Apr 18, 2024
1 parent 501d9ad commit 1169083
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions resources/playbook/roles/bibigrid/tasks/001-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 4 additions & 3 deletions resources/playbook/roles/bibigrid/tasks/020-disk-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions resources/playbook/roles/bibigrid/tasks/042-slurm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1169083

Please sign in to comment.