[ansible-project] Re: Unable to upload zip.bin file using uri module

2024-08-07 Thread R Batchen
well i got my anser in ansible github - it is impossible at a moment to post bin files using uri thnks ב-יום שלישי, 16 ביולי 2024 בשעה 12:37:51 UTC+3, R Batchen כתב/ה: > also the correct file type is seen as "data" when uploaded and from uri it > is uploaded as ASCII >

[ansible-project] Re: Unable to upload zip.bin file using uri module

2024-07-16 Thread R Batchen
also the correct file type is seen as "data" when uploaded and from uri it is uploaded as ASCII ansible==2.10.5 ansible-base==2.10.17 ב-יום שני, 15 ביולי 2024 בשעה 16:21:10 UTC+3, R Batchen כתב/ה: > Im tring to translate a play i have that is using curl to use uri and > noth

[ansible-project] Unable to upload zip.bin file using uri module

2024-07-15 Thread R Batchen
Im tring to translate a play i have that is using curl to use uri and nothing works for me this is the what works for now: # - name: install via shell # shell: "curl -k --fail --connect-timeout 1 --max-time 1200 -X \"POST\" \"https://127.0.0.1:8080/v0/upload\"; -H \"Authorization: Bearer

[ansible-project] Ansible run cmd\powershell as admin doesnt change anything

2022-04-27 Thread R Batchen
Win 10 enterprise ansible 2.9 Using this playbook on a vm in order to change something in windows GPO : --- - hosts: localhost connection: local vars: vars_files: - vars.yml become_method: runas tasks: - name: "GPO change" vmware_vm_shell: cluster: "{{ cluster }}" datacenter: "{{ datace

Re: [ansible-project] How ansible vault is safe when using scripts?

2022-03-29 Thread R Batchen
might automagically unlock when you sign in to the computer you use to > run ansible playbooks. > For example I know that on macOS you can store the gpg password in the > OS' keychain. > > > On Sun, 27 Mar 2022 at 16:17, R Batchen wrote: > > > > I have tried usi

Re: [ansible-project] How ansible vault is safe when using scripts?

2022-03-27 Thread R Batchen
--use-agent --decrypt vault > > > ב-יום שלישי, 22 במרץ 2022 בשעה 13:16:01 UTC+2, ra...@linuxia.de כתב/ה: > >> On 22/03/2022 12:05, R Batchen wrote: >> > Hey, >> > I dont understand how ansible vault is safe if i want to use in a >> script i

Re: [ansible-project] How ansible vault is safe when using scripts?

2022-03-27 Thread R Batchen
W_FILENAME ansible.cfg - vault_password_file = /base/vaults/gpg-wrapper.sh encrypted like this: gpg --quiet --batch --use-agent --decrypt vault ב-יום שלישי, 22 במרץ 2022 בשעה 13:16:01 UTC+2, ra...@linuxia.de כתב/ה: > On 22/03/2022 12:05, R Batchen wrote: > > Hey, > > I dont und

[ansible-project] How ansible vault is safe when using scripts?

2022-03-22 Thread R Batchen
Hey, I dont understand how ansible vault is safe if i want to use in a script i need to give ansible the file where the password is saved in plain text.. so i dont get it i do get it being safe if i do a prompts for the password with --ask-vault-pass but when i point to ansible using --vault-p