Closed krzyzakp closed 6 years ago
@krzyzakp Thanks for the report.
If you want, you can submit a PR like that :
vars/*.yml
rename all nginx_user
in nginx_default_user
nginx_default_user: nginx
in vars/empty.ymldefaults/main.yml
change nginx_user: nginx
to nginx_user: "{{nginx_default_user}}"
It should solve the problem
@krzyzakp Have you seen my message ?
@jdauphant Yes, sorry for delay in answering. I just submitted PR with solution.
@krzyzakp We have reverted your PR, but #214 have been merged and can do that too
We wanted to run on Debian family (Ubuntu 16.04) nginx as user nginx, not www-data as it's defined by default for this family. We set nginx_user, but it's not working. As I dig in, it's due to
tasks/main.yml
including vars/{os}.yml - what due to ourhash_behaviour = true
in ansible.cfg, does hiera merge and overwrite with data from OS specific yaml file.