Answer the question
In order to leave comments, you need to log in
Ansible how to insert a specific path in a file?
How to pull out the directory path when starting the playbook and insert it into the config? for example, in /etc/nginx/sites-available/default
you need to insert this
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
How to insert 7.1 or 7.2 instead of 7.0 if the PHP versions are different?
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