diff --git a/group_vars/all.yml b/group_vars/all.yml index 28c2649..59028bb 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -24,7 +24,6 @@ slurm_config: PrologEpilogTimeout: 90 # Pulsar -pulsar_token: "{{ lookup('community.general.random_string', base64=True, length=24) }}" pulsar_root: /mnt/pulsar pulsar_pip_install: true diff --git a/playbook.yml b/playbook.yml index 00c5235..55e6c62 100644 --- a/playbook.yml +++ b/playbook.yml @@ -37,6 +37,10 @@ ansible.builtin.include_role: name: uusrc.general.fact_regular_users + - name: Generate password + set_fact: + pulsar_token: "{{ lookup('community.general.random_string', base64=True, length=24) }}" + - name: Install Dependencies ansible.builtin.apt: update_cache: true