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

No Ubuntu-specific vars file

mixpix3ls opened this issue · comments

Hi @geerlingguy ,

Great work and thank you for sharing it! I noticed that tasks/main.yml includes OS-specific variables and in the case of ansible_os_family being Ubuntu, I assumed there would be an Ubuntu.yml file in the vars directory. There is current no such file. Is that intended?

# Variable setup.
- name: Include OS-specific variables.
  include_vars: "{{ ansible_os_family }}.yml"
Files in ansible-role-nginx/vars/
Archlinux.yml
Debian.yml
FreeBSD.yml
OpenBSD.yml
RedHat.yml

Thanks!

'Debian' is the os family for Ubuntu :)

Ah, my bad. Thanks for looking into it.