Skip to content

Commit 9594f20

Browse files
committed
Simplify hooks
1 parent da3597a commit 9594f20

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

environments/nrel/hooks/post.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
- name: "Set/fix the the ephemeral ssd mounts"
4747
hosts: compute
48-
tags: set-ephemeral-mounts
48+
tags: vs-set-ephemeral-mounts
4949
become: true
5050
tasks:
5151
- include_role:
@@ -60,7 +60,15 @@
6060
- include_role:
6161
name: vshpc.prov.pam_mkhomedir_plus
6262

63-
63+
- name: clean_packages
64+
hosts: login
65+
become: true
66+
tags:
67+
- clean_packages
68+
tasks:
69+
- name: "post task - dnf clean all"
70+
shell:
71+
cmd: dnf clean all
6472

6573
# - name: sync_slurm_allocations install on admin node
6674
# hosts: admin

environments/nrel/hooks/pre.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- name: "Do the preliminary node setups"
44
hosts: all
5-
tags: pre_tasks_all
5+
# tags: pre_tasks_all
66
become: true
77
tasks:
88
- include_role:

0 commit comments

Comments
 (0)