Answer the question
In order to leave comments, you need to log in
How to automate program installation with Ansible?
Hello!
Faced the following problem:
When installing the program, you need to perform a series of confirmations when choosing one or another Settings in the terminal, answer yes / no, select 1 or 2 from the proposed list, enter the phrase (I describe the creation of a crypto folder using the encrypt utility)
Tell me how it is possible to automate this with Ansible? Namely, answers to questions and input of values that are offered.
Is there an Ansible module for this?
Thanks
Answer the question
In order to leave comments, you need to log in
Using the expect module.
Requirements for the host on which the module will be executed:
Python >2.7
Pexpect >3.3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question