A
A
anykeiwik2019-01-05 20:02:01
Ansible
anykeiwik, 2019-01-05 20:02:01

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

1 answer(s)
S
Sanes, 2019-01-05
@Sanes

https://bitbucket.org/Drobkov/userplus-webserver-u...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question