2019-11-26 14:15:55 +01:00
|
|
|
---
|
2020-06-30 18:59:53 +02:00
|
|
|
- name: "(Setup: FreeBSD) Install Required Dependencies"
|
2019-11-26 14:15:55 +01:00
|
|
|
block:
|
|
|
|
|
2020-06-30 18:59:53 +02:00
|
|
|
- name: "(Setup: FreeBSD) Install Extra Package(s)"
|
2019-11-26 14:15:55 +01:00
|
|
|
pkgng:
|
|
|
|
name: "{{ nginx_freebsd_extra_packages }}"
|
|
|
|
state: present
|
|
|
|
when: nginx_bsd_install_packages|bool
|
|
|
|
|
2020-06-30 18:59:53 +02:00
|
|
|
- name: "(Setup: FreeBSD) Install Extra Port(s)"
|
2019-11-26 14:15:55 +01:00
|
|
|
portinstall:
|
|
|
|
name: "{{ item }}"
|
|
|
|
use_packages: "{{ nginx_bsd_portinstall_use_packages | default(omit) }}"
|
|
|
|
state: present
|
|
|
|
loop: "{{ nginx_freebsd_extra_packages }}"
|
|
|
|
when: not nginx_bsd_install_packages|bool
|