geerlingguy / ansible-role-nginx

Ansible Role - Nginx

Home Page:https://galaxy.ansible.com/geerlingguy/nginx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Override vars?

hsh-it opened this issue · comments

Hello, I got the request that I should use a playbook in which all roles are executed that should be used for the system or the category of systems.

My idea is that I have a playbook (docker, nginx) and define variables in the playbook that should be used for the server.

Is that possible? How would it be practical?
playbook_1 installs e.g. nginx with ports x,y,z and the hostname server one

playbook_2 just installs with the hostname server two

etc. Does that work?

Its works, my bad