Skip to content

Commit 0c8a4c7

Browse files
Change ansible_user to bastion_username
1 parent 1115098 commit 0c8a4c7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

playbooks/roles/slurm/tasks/compute-rack-aware.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
- name: set permissions
5858
become: true
5959
shell:
60-
cmd: chown {{ ansible_user }}:{{ ansible_user }} /tmp/munge.key
60+
cmd: chown {{ bastion_username }}:{{ bastion_username }} /tmp/munge.key
6161
warn: false
6262
delegate_to: 127.0.0.1
6363
run_once: true

playbooks/roles/slurm/tasks/compute.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
- name: set permissions
6161
become: true
6262
shell:
63-
cmd: chown {{ ansible_user }}:{{ ansible_user }} /tmp/munge.key
63+
cmd: chown {{ bastion_username }}:{{ bastion_username }} /tmp/munge.key
6464
warn: false
6565
delegate_to: 127.0.0.1
6666
run_once: true

playbooks/roles/ssh/tasks/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- name: Install ssh keys on all nodes
1111
copy:
1212
dest: "/home/{{ ansible_user }}/.ssh/id_rsa"
13-
src: "/home/{{ ansible_user }}/.ssh/{{ item }}"
13+
src: "/home/{{ bastion_username }}/.ssh/{{ item }}"
1414
owner: "{{ ansible_user }}"
1515
group: "{{ ansible_user }}"
1616
mode: '0600'

0 commit comments

Comments
 (0)