Hi,
How I can Create Multiple Nginx Virtual Hosts with one Ansible role, can someone give me an idea?
Thanks,
Hi,
How I can Create Multiple Nginx Virtual Hosts with one Ansible role, can someone give me an idea?
Thanks,
2 ways, have the role take a list of vhost configs and loop over them. Or have it take a single one and call it once per vhost.
You can name the virtual hosts differently and you can use the template function.