- name: CPLD test hosts: ism connection: local gather_facts: no vars: ism: host: "{{ ansible_ssh_host }}" username: "{{ username }}" password: "{{ password }}" tasks: - name: "Get cpld list" inspur.sm.update_cpld: list: True provider: "{{ ism }}" - name: "Update cpld" inspur.sm.update_cpld: id: 1 file_url: "home/wbs/raw.bin" provider: "{{ ism }}"