ansiblefkip/upgradelr.yaml

13 lines
309 B
YAML
Raw Normal View History

2022-08-20 13:40:13 +07:00
---
- name: upgradeap
hosts: lr
vars:
lr: "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 {{ lr }}'
register: info_out
- debug:
var: info_out.stdout_lines