Skip to content

Commit

Permalink
move update package role to main slurm task
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Apr 22, 2024
1 parent 16a0a30 commit 851a831
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion playbooks/ood.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,4 +628,4 @@
apply:
become: true
vars:
packages_to_exclude_from_upgrade: "{{ (['ondemand','amlfs', 'jetpack8'] if ( lustre.create | default(false)) else ['ondemand', 'jetpack8']) }}"
packages_to_exclude_from_upgrade: "{{ (['ondemand','amlfs'] if ( lustre.create | default(false)) else ['ondemand']) }}"
8 changes: 8 additions & 0 deletions playbooks/roles/slurm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@

- import_tasks: '{{slurm_role}}.yml'
become: true

- name: Update Packages
include_role:
name: pkg_update
apply:
become: true
vars:
packages_to_exclude_from_upgrade: "['jetpack8']"
7 changes: 0 additions & 7 deletions playbooks/roles/slurm/tasks/slurmserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,3 @@
become: true
tags: [ 'pyxis' ]

- name: Update Packages
include_role:
name: pkg_update
apply:
become: true
vars:
packages_to_exclude_from_upgrade: "['jetpack8']"

0 comments on commit 851a831

Please sign in to comment.