G
G
grabbee2020-01-07 14:28:25
linux
grabbee, 2020-01-07 14:28:25

Is it possible to restart ansible at runtime?

Installing and configuring MySQL some modules require the pymysql library . If I install this library with the APT module at the very beginning of the playbook, then by the time the module using this lib starts working, it does not see it. Writes, install pymysql. If you just start the playbook again, everything works as it should.
It turns out that the playbook itself needs to be reloaded somehow at runtime, after installing the necessary python libraries directly by the same playbook. Is that possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2020-01-10
@grabbee

Run two recipes in a row

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question