Use portinstall module instead of package module
This commit is contained in:
parent
70a2906268
commit
ea6de99eed
@ -19,7 +19,7 @@
|
|||||||
notify: "(Handler: All OSs) Start NGINX"
|
notify: "(Handler: All OSs) Start NGINX"
|
||||||
|
|
||||||
- name: "(Install: FreeBSD) Install NGINX"
|
- name: "(Install: FreeBSD) Install NGINX"
|
||||||
package:
|
portinstall:
|
||||||
name: nginx
|
name: nginx
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == "FreeBSD"
|
when: ansible_os_family == "FreeBSD"
|
||||||
|
Loading…
Reference in New Issue
Block a user