Skip to main content
Solved

deploy custom package with ansible


Forum|alt.badge.img+14

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 !

Best answer by JBuratti

Hi Bloopa

 

In reviewing your other post I see you got the custom package to work in silent mode so we can assume the package is not the issue.  

From my initial thoughts this looks like something that you may benefit better from opening a support ticket with us and have an engineer look at with you during a remote session.  That way they can get a deeper look at the full code and troubleshoot as needed.

Thank you

View original
Did this answer your question?

3 replies

Forum|alt.badge.img+4
  • Vaulter
  • 18 replies
  • Answer
  • April 16, 2021

Hi Bloopa

 

In reviewing your other post I see you got the custom package to work in silent mode so we can assume the package is not the issue.  

From my initial thoughts this looks like something that you may benefit better from opening a support ticket with us and have an engineer look at with you during a remote session.  That way they can get a deeper look at the full code and troubleshoot as needed.

Thank you


Forum|alt.badge.img+14
  • Author
  • Byte
  • 115 replies
  • April 16, 2021

Yes you're right the custom package works.

ok, I will open a case if the issue is still occur. 

thanks !


Mike Struening
Vaulter
Forum|alt.badge.img+23

If you do, let me know!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings