Skip to content

Question: I would like to know why my Ansible takes a long time (sometimes it doesn't even work) to install an application via win_packages #2917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Scalco-cont opened this issue Apr 14, 2025 · 1 comment
Labels

Comments

@Scalco-cont
Copy link

Question

I created a .yaml on github with the win_copy and win_packages modules to transfer an .exe from the server to the host machines and after that it does the installation, but it takes a long time and sometimes it doesn't install on all computers, I would like to know if there is a way to optimize the .yaml or if I did the .yaml wrong

`

  • name: Instalar a nova versão do Winrar no Windows
    hosts: windows
    tasks:
    • name: Transferir o instalador do Firefox
      win_copy:
      src: /home/micro11/pacotes/firefox.exe
      dest: C:\Windows\firefox.exe

    • name: Instalar o Firefox
      win_package:
      path: C:\Windows\firefox.exe
      arguments: /quiet
      state: present
      `

Related to

Ansible (task execution)

@kris9854
Copy link

It's nothing to do with semaphoreui.
But first thing would be to use fqcn. Just as best practice. Then maybe look into what the host is doing at the time you install. Beside that i dont think you should use ansible for this... Better options is out there for Windows platforms. Even winget is okay when its just Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants