fix: wifi-iface: apply skip_inactivity_poll and dissasoc_low_ack

I neglected to do this before.

Also, since these conf values now apply everywhere, shift the default
settings for these confs to just vgolan, where they are known-working.
This commit is contained in:
Martin Kennedy 2022-08-01 20:53:45 -04:00
parent 3df974ae64
commit 60ded8e0f7
2 changed files with 4 additions and 2 deletions

View File

@ -5,12 +5,12 @@ wifi_iface:
mode: 'ap'
encryption: 'psk2'
key: 'password'
disassoc_low_ack: '0'
skip_inactivity_poll: '1'
vgo: &vgo_wifi_iface
<<: *default_wifi_iface
network: 'vgolan'
skip_inactivity_poll: '1'
disassoc_low_ack: '0'
key: !vault |
$ANSIBLE_VAULT;1.1;AES256
63626332663164663666656466373031633564663435646531663331666262626265656335646364

View File

@ -67,6 +67,8 @@
encryption: "{{ item.encryption | default(wifi_iface[item.template].encryption) }}"
key: "{{ item.key | default(wifi_iface[item.template].key) }}"
disabled: "{{ item.disabled | default(wifi_iface[item.template].disabled) | default(0) }}"
skip_inactivity_poll: "{{ item.skip_inactivity_poll | default(wifi_iface[item.template].skip_inactivity_poll) | default() }}"
disassoc_low_ack: "{{ item.disassoc_low_ack | default(wifi_iface[item.template].disassoc_low_ack) | default() }}"
loop: "{{ wireless['wifi_iface'] }}"
- name: commit changes