mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Use ansible internal tools to generate random name
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
- name: Create T-Pot name
|
||||
shell: echo t-pot-ansible-$(pwgen -ns 6 -1)
|
||||
register: tpot_name
|
||||
- name: Generate T-Pot name
|
||||
set_fact:
|
||||
tpot_name: "t-pot-ansible-{{ lookup('password', '/dev/null chars=ascii_lowercase,digits length=6') }}"
|
||||
|
||||
- name: Create security group
|
||||
os_security_group:
|
||||
|
||||
Reference in New Issue
Block a user