• Ansible - не могу установить deb - где мог ошибится?

    @lwxroot
    а если так:
    - name: install 1C
      apt:
        deb: "{{ item }}"
      with_items:
        - /home/user/1C/1c-enterprise83-common_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-common-nls_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-server_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-server-nls_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-ws_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-ws-nls_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-crs_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-client_8.3.13-1865_amd64.deb
        - /home/user/1C/1c-enterprise83-common-nls_8.3.13-1865_amd64.deb

    или:
    - name: install 1C
      apt:
        deb: "{{ item }}"
      with_fileglob:
        - /home/user/1C/*.deb
    Ответ написан
    1 комментарий