Skip to content

Commit

Permalink
move pulsar token generation to set_fact
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Nov 29, 2024
1 parent 9d30061 commit 6e5fc8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e5fc8c

Please sign in to comment.