This commit is contained in:
parent
1f293c2108
commit
af0e6db37f
|
@ -17,7 +17,7 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: "https://dl.ubnt.com/unifi/{{ unifi_version }}/UniFi.unix.zip"
|
url: "https://dl.ubnt.com/unifi/{{ unifi_version }}/UniFi.unix.zip"
|
||||||
dest: /tmp/UniFi.unix.zip
|
dest: /tmp/UniFi.unix.zip
|
||||||
force: true
|
force: yes
|
||||||
|
|
||||||
- name: Setup unifi version '{{ unifi_version }}'
|
- name: Setup unifi version '{{ unifi_version }}'
|
||||||
unarchive:
|
unarchive:
|
||||||
|
@ -83,8 +83,8 @@
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
rules: "{{ item.rules }}"
|
rules: "{{ item.rules }}"
|
||||||
state: "{{ item.state }}"
|
state: "{{ item.state }}"
|
||||||
weight: "{{ item.weight|default(omit) }}"
|
weight: "{{ item.weight | default(omit) }}"
|
||||||
table: "{{ item.table|default(omit) }}"
|
table: "{{ item.table | default(omit) }}"
|
||||||
loop: "{{ unifi_open_ports }}"
|
loop: "{{ unifi_open_ports }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.name }}"
|
label: "{{ item.name }}"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
- name: Create volume group '{{ unifi_lvm_vg }}'
|
- name: Create volume group '{{ unifi_lvm_vg }}'
|
||||||
lvg:
|
lvg:
|
||||||
vg: "{{ unifi_lvm_vg }}"
|
vg: "{{ unifi_lvm_vg }}"
|
||||||
pvs: "{{ unifi_lvm_pvs|join(',') }}"
|
pvs: "{{ unifi_lvm_pvs | join(',') }}"
|
||||||
pesize: "4"
|
pesize: "4"
|
||||||
|
|
||||||
- name: Create logical volume '{{ unifi_lvm_lv }}'
|
- name: Create logical volume '{{ unifi_lvm_lv }}'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user