mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
10 lines
174 B
Python
10 lines
174 B
Python
import sys
|
|
|
|
from ansible.module_utils.six.moves import input
|
|
|
|
|
|
prompts = sys.argv[1:] or ['foo']
|
|
|
|
for prompt in prompts:
|
|
user_input = input(prompt)
|
|
print(user_input)
|