Moving vars_prompt and testing if it accepts when clause.

This commit is contained in:
2021-02-01 07:29:59 -06:00
parent 59e2789df0
commit 251b2acc37
2 changed files with 7 additions and 6 deletions

View File

@ -7,6 +7,13 @@
connection: local
become: true
vars_prompt:
- name: leet_passwd
prompt: 'Enter password for 1337 share: '
unsafe: yes
private: yes
when: ansible_distribution == "Pop!_OS"
pre_tasks:
- include: facts/system.yml
- include: facts/package.yml