We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c81c3ff commit adbfcfdCopy full SHA for adbfcfd
slurm-infra.yml
@@ -40,7 +40,7 @@
40
gather_facts: false
41
tasks:
42
- name: Set up Ansible user
43
- user: "{{ appliances_local_users_ansible_user }}"
+ user: "{{ (appliances_local_users_default | selectattr('user.name', 'eq', appliances_local_users_ansible_user_name))[0]['user'] }}"
44
become_method: "sudo"
45
# Need to change working directory otherwise we try to switch back to non-existent directory.
46
become_flags: '-i'
0 commit comments