среда, 4 октября 2017 г.

Install software from chocolatey and cygwin with ansible

It is possible to use chocolatey to manage Windows computers from ansible.

choco install vlc -y works fine in Cygwin. And also over Cygwin's ssh server from ansible.

- name: Check command exist
  shell: command -v procdump

  register: procdump_res

- name: Install procdump
  command: choco install procdump -y

  when: procdump_res.rc == 1

Комментариев нет:

Отправить комментарий