Hello it’s me again :)
Is anyone have tried to deploy a custom package with ansible ?
I would try with my colleague but actually it does not work.
here is the portion of code we use to deploy
- name: Install and register Commvault Agent
win_shell: c:/sources/Commvault/WinX64.exe /silent /install /silent
args:
executable: cmd
become_method: runas
become: yes
become_user: "{{ ansible_user }}"
when: not CVserviceresult.exists
register: CVinstallresult
It seems that we have somme issue and the installer is not executed.
If anyone has a piece of code that work it will be very appreciated :
Thanks !