diff --git a/tasks/install.yml b/tasks/install.yml index 2bc39d1..55cf236 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -17,7 +17,7 @@ get_url: url: "https://dl.ubnt.com/unifi/{{ unifi_version }}/UniFi.unix.zip" dest: /tmp/UniFi.unix.zip - force: true + force: yes - name: Setup unifi version '{{ unifi_version }}' unarchive: @@ -83,8 +83,8 @@ name: "{{ item.name }}" rules: "{{ item.rules }}" state: "{{ item.state }}" - weight: "{{ item.weight|default(omit) }}" - table: "{{ item.table|default(omit) }}" + weight: "{{ item.weight | default(omit) }}" + table: "{{ item.table | default(omit) }}" loop: "{{ unifi_open_ports }}" loop_control: label: "{{ item.name }}" diff --git a/tasks/storage.yml b/tasks/storage.yml index 8d1dc82..cafbc71 100644 --- a/tasks/storage.yml +++ b/tasks/storage.yml @@ -3,7 +3,7 @@ - name: Create volume group '{{ unifi_lvm_vg }}' lvg: vg: "{{ unifi_lvm_vg }}" - pvs: "{{ unifi_lvm_pvs|join(',') }}" + pvs: "{{ unifi_lvm_pvs | join(',') }}" pesize: "4" - name: Create logical volume '{{ unifi_lvm_lv }}'