Skip to content

Instantly share code, notes, and snippets.

@piotrkochan
Created November 19, 2022 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piotrkochan/961fce0307222f09ee7e7e42f61612a1 to your computer and use it in GitHub Desktop.
Save piotrkochan/961fce0307222f09ee7e7e42f61612a1 to your computer and use it in GitHub Desktop.
Ansible random string
- set_fact:
rand_str: "{{ lookup('password', '/dev/null chars=ascii_lowercase,digits length=8') }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment