[ansible-project] Install a french version of SQLServer on an english windows server with ansible

2021-06-24 Thread 'Jean-Yves LENHOF' via Ansible Project
Hi, I try to silently install a french version of SQLServer (this is not my idea, it's become this is the licensed version we have) with ansible using some code like this (I already installed MUI French lang pack via ansible) : - name: "Change LANG" win_shell: |

Re: [ansible-project] error creating a directory

2021-06-24 Thread Rahul Puli
Can you try the one below? --- - hosts: all tasks: - name: Create Directory if not exist win_file: path: c:\temp state: directory On Tue, Jun 22, 2021 at 7:08 AM zil...@gmail.com wrote: > Try c:\\temp as path, like this > > --- > - name: testing win_get_url > hosts: all >

[ansible-project] Re: Run Postgres queries on a Windows target?

2021-06-24 Thread zil...@gmail.com
I just put my queries in a *.sql file, for example create_db.sql CREATE DATABASE myDB and do - name: Create DB win_command: psql -U postgres -f create_db.sql On Wednesday, June 23, 2021 at 11:35:53 AM UTC-4 zil...@gmail.com wrote: > I'm aware that the postgres_* modules only run on Linux.