ansiblefkip/upgradeap.yaml
2022-08-20 13:40:13 +07:00

13 lines
312 B
YAML

---
- name: upgradeap
hosts: uap
vars:
uap: "https://dl.ui.com/unifi/firmware/BZ2/4.3.28.11361/BZ.ar7240.v4.3.28.11361.210128.2309.bin"
gather_facts: false
tasks:
- name: upgradeap
raw: 'mca-cli-op upgrade {{ uap }}'
register: info_out
- debug:
var: info_out.stdout_lines