Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question