Skip to content

Commit

Permalink
Fix home directory for rocky during image cleanup (#382)
Browse files Browse the repository at this point in the history
* fix home directory for rocky during image cleanup

* bump CI image
  • Loading branch information
sjpb authored Mar 27, 2024
1 parent 67e1972 commit 58582f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion ansible/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@
path: /etc/NetworkManager/conf.d/99-cloud-init.conf
state: absent

- name: Get remote environment for ansible_user
setup:
gather_subset: env
become: no

- name: Delete any injected ssh config for ansible_user
file:
path: "/home/{{ ansible_user }}/.ssh/"
path: "{{ ansible_env.HOME }}/.ssh/"
state: absent

- name: Run cloud-init cleanup
Expand Down
6 changes: 3 additions & 3 deletions environments/.stackhpc/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ variable "cluster_image" {
description = "single image for all cluster nodes, keyed by os_version - a convenience for CI"
type = map(string)
default = {
# https://github.com/stackhpc/ansible-slurm-appliance/pull/353
RL8: "openhpc-RL8-240313-1028-15f9ab38"
RL9: "openhpc-RL9-240313-1057-15f9ab38"
# https://github.com/stackhpc/ansible-slurm-appliance/pull/382
RL8: "openhpc-RL8-240327-1050-4812f852"
RL9: "openhpc-RL9-240327-1026-4812f852"
}
}

Expand Down

0 comments on commit 58582f9

Please sign in to comment.