Skip to content

Commit

Permalink
Better OS detection
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 15, 2024
1 parent 7175f7f commit 28f014c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- set_fact:
noobient_nginx_php_ver: "{{ noobient_nginx_php_check.stdout_lines[0] }}"
when: ansible_pkg_mgr == 'apt'
when: ansible_os_family == 'Debian'

- set_fact:
noobient_nginx_php_unit: "php{% if ansible_os_family == 'Debian' %}{{ noobient_nginx_php_ver }}{% endif %}-fpm.service"
Expand Down

0 comments on commit 28f014c

Please sign in to comment.