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
>
Try to update the below one in your inventory file and try to execute
ansible_winrm_server_cert_validation=ignore
or
Update the pywinrm and check again.
On Sat, Oct 17, 2020 at 12:53 AM uday kiran wrote:
> My task part of playbook.
> - name: unzip maven
> win_unzip:
> src:
Yes, this can be achievable. You can use when condition.
On Thu, Oct 22, 2020 at 11:59 AM Sobhan Anavarapu <
sobhan.anavar...@gmail.com> wrote:
> I have a question, with optional input of A or B in vars_prompt can the
> command be executed in a playbook task.
>
> example
> - name: checking the
l_2016_developer.yml
when: sql_version == "2016" and sql_release == "dev"
- include: download_mssql_2017_developer.yml
when: sql_version == "2017" and sql_release == "dev"
- include: download_mssql_2019_developer.yml
when: sql_version == "2019"
Hello Rubod,
Please try to run the below code and check.
---
- name: "Copy Files"
hosts: all
tasks:
- name: Copy Files
win_copy:
src: C:\abc.txt
dest: C:\ansible\abc.txt
On Wednesday, September 16, 2020 at 6:17:13 PM UTC+5:30 rubod...@gmail.com
wrote:
> HI Team,
>
> please help
Hello,
I have created a role to install MSSQL for different versions
(2014,2016,2017,2019) and its working fine for all the versions.
For installing MS SQL 2014 developer version I need to comment the others
developer versions in main.yml file and need to change the product ID