You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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
`
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)
The text was updated successfully, but these errors were encountered: