[ansible-project] az modules with limited configuration

2021-11-18 Thread Gajendra Gaikwad
Hello All In azure.azcollection.azure_rm_storageaccount module, I am looking for below configuration but cant find in the documentation. Enable blob change feed: Yes Enable hierarchical namespace: Yes why az modules has limited configuration setting :( Regards, GG -- You received this

[ansible-project] Re: azcollection.azure_rm_keyvault with RBAC

2021-11-02 Thread Gajendra Gaikwad
or: BadRequest\nMessage: The parameter accessPolicies is not specified."} On Tuesday, November 2, 2021 at 3:14:20 PM UTC+5:30 Gajendra Gaikwad wrote: > Hi, > > Same can be achieve with az command line but i need in ansible > > # az keyvault create --location eastus2 --name &

[ansible-project] Re: azcollection.azure_rm_keyvault with RBAC

2021-11-02 Thread Gajendra Gaikwad
Hi, Same can be achieve with az command line but i need in ansible # az keyvault create --location eastus2 --name "adfaljdfk44" --resource-group dev-sanbox-Keyvaults-eus --enable-rbac-authorization true Regards, GG On Tuesday, November 2, 2021 at 3:00:04 PM UTC+5:30 Gajendra Gai

[ansible-project] azcollection.azure_rm_keyvault with RBAC

2021-11-02 Thread Gajendra Gaikwad
Hello Team, I want to create Azure keyvault using azcollection.azure_rm_keyvault module and in this case I would like to enable the *Azure role-based access control *in permission module. By default is taking Vault access policy. Can anyone help me to achieve this ? Permission model -

[ansible-project] Re: when condition is not working

2021-10-01 Thread Gajendra Gaikwad
Hi, change to when: htop_is_running.stdout == '0' On Friday, 1 October 2021 at 05:40:14 UTC+5:30 subbamm...@gmail.com wrote: > can somebody explaine me why service sis not starting > > on mhost1: > [root@mhost1 ~]# ps -ef | grep -v grep | grep httpd > [root@mhost1 ~]# > > > --- > - hosts:

[ansible-project] kerberos: Bad HTTP response returned from server. Code 500

2021-09-29 Thread Gajendra Gaikwad
Good evening All I am facing a small issue, could you please let me out This works if i allow unencrypted is true : Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value true * Error: fatal: [win-client-01.adc1.com ]: UNREACHABLE! => {"changed":

[ansible-project] kerberos: Bad HTTP response returned from server. Code 500

2021-09-29 Thread Gajendra Gaikwad
Good evening All I am facing a small issue, could you please let me out this works if i allow unencrypted is true : Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value true * Error: fatal: [win-client-01.adc1.com ]: UNREACHABLE! => {"changed": false,

Re: [ansible-project] Re: Urgent help required on vmware_guest_network

2020-10-22 Thread Gajendra Gaikwad
Hello Abhi, Thanks for your reply. I will raise the ticket. Also I have checked your old post but not found anything. On Thu, 22 Oct 2020, 09:47 Abhijeet Kasurde, wrote: > Hi Gajendra, > > Please file an issue against > https://github.com/ansible-collections/community.vmware/issues with >

[ansible-project] Ansible VMware capacity check

2020-09-30 Thread Gajendra Gaikwad
Hello all, I want to create a vm machine on VMware infra but prior to that I would like to check available space in data store cluster. Also in that I would like to check available free cpu and memory in cluster Please help me to achive this prerequisite. -- You received this message because

Re: [ansible-project] unistall windows server

2020-09-22 Thread Gajendra Gaikwad
Yes as Dan said, make a list what's is the current process For example 1. Playbook 1 - keep server in qurantain mode for 30 days (vm machine) - remove or keep server in maintenance mode in monitoring - take full backup - stop backup job - shutdown vm - rename vm with current date 2.

Re: [ansible-project] unistall windows server

2020-09-22 Thread Gajendra Gaikwad
Do you mean decommission the windows machine from the infra?? On Tue, 22 Sep 2020, 20:28 PRAVEEN KATTULAPALLI, <159y1a0...@ksrmce.ac.in> wrote: > Hii all, > could anyone share ansible script or basic format of script for windows > server uninstallation. i couldn't find any related scripts or

Re: [ansible-project] Ansible: Is the any chance of maintain same tag same role but diffrent host name in main yml file by putting any when condition from tasks inside role.

2020-09-19 Thread Gajendra Gaikwad
Hi, when: inventory_hostname in groups['small_group'] Or when: inventory_hostname == {{ windows_hostname1 }} On Fri, 18 Sep 2020, 13:24 dvenur...@gmail.com, wrote: > > I have tried to maintain my main yml file like below > > hosts: "{{ windows_hostname1 }}" >

Re: [ansible-project] Server build post tasks with ansible

2020-09-19 Thread Gajendra Gaikwad
Yes I did for VMware, please post your query On Sat, 19 Sep 2020, 16:17 kumare...@gmail.com, wrote: > Hi Experts, > > We are planning to automate server commissioning posts tasks through > ansible.Is there way the ansible playbook can be triggered as soon as the > OS provisioned? > > The

Re: [ansible-project] Ansible - url check for multiple hosts

2020-09-19 Thread Gajendra Gaikwad
Try - name: check the url http://{{ inventory_hostname}}:{{ port }}/test On Sat, 19 Sep 2020, 20:46 priyanka prabhune, wrote: > I am writing the Ansible playbook to check the URL status for multiple IPs > from the hosts file, however, it is not working when I am giving input as a > group_name,

[ansible-project] Job is Failing With 'Server not found in Kerberos database' Error ?

2020-09-04 Thread Gajendra Gaikwad
Hello Team I am creating new windows virtual machine using VMware_guest module. Once vm creation completed I am adding server name in inventory group(window) using add host command Next task is to connect to newly build vm and create the dirctory But while connecting Job is Failing With

Re: [ansible-project] installing/upgrading vmwasre tools windows

2020-09-03 Thread Gajendra Gaikwad
As dick said,.same process I am doing it in my environment. I have downloaded the VMware tool on control node, and whenever required I copy from control machine to target node using win_copy module. Regards, Gg On Tue, 11 Aug 2020, 21:54 Dick Visser, wrote: > On Tue, 11 Aug 2020 at 17:28,

Re: [ansible-project] unable to install applications after downloading in VM using ansible

2020-09-03 Thread Gajendra Gaikwad
Please share the error message Advice Use below modules win_unzip Win_file Win_shell On Tue, 11 Aug 2020, 16:58 Mahmood Ali, wrote: > Hi > I am having an issue in installing an application using ansible > automation. I tried to deploy an application from ansible server to the > windows

[ansible-project] ansible vmware_guest vm deployment issue

2020-07-28 Thread Gajendra Gaikwad
Hello Guys, !!Need help om vm deployment !! While deploying virtual machine below issue error has been encountered "Failed to clone virtual machine rhel7_vm to folder 'vim.Folder:group-'512 due to permission issue: Permission to perform this operation was denied." Note: with same username i

[ansible-project] Re: How do I use snow_record and snow_record find in Ansible? Or should I do something different?

2020-07-27 Thread Gajendra Gaikwad
hello Gauthreaux, Does your problem has been resolved? Can you help me to find service_request(ritm) variables using snow_record_find module. Regards, GG On Thursday, April 11, 2019 at 11:22:40 PM UTC+5:30, Beau Gauthreaux wrote: > > Anybody else have ideas about this? > > On Tuesday, March

[ansible-project] snow_record_find variable search

2020-07-24 Thread Gajendra Gaikwad
Hello Everyone, I wanted to automate the service request task using ansible playbook. Below are the quires which not clear for me 1. how to search variables which is defined in service catalog request 2. which table to be referred 3. what will be search pattern 4. what will be the table

Re: [ansible-project] Help on FortiGate 3000D Load balancer

2020-07-23 Thread Gajendra Gaikwad
Hello anyone call help on this On Thu, 23 Jul 2020, 14:17 Gajendra Gaikwad, wrote: > Hello Team, > I want to execute stat system command on FortiGate 3000D Load balancer so > could help me what connection method should i used./ how i can execute this > command > > > Thank i

[ansible-project] Help on FortiGate 3000D Load balancer

2020-07-23 Thread Gajendra Gaikwad
Hello Team, I want to execute stat system command on FortiGate 3000D Load balancer so could help me what connection method should i used./ how i can execute this command Thank in Advance Regards, GG -- You received this message because you are subscribed to the Google Groups "Ansible

Re: [ansible-project] Help on uri module

2020-07-21 Thread Gajendra Gaikwad
Thanks Racke. now I am using python with selenium module to achieve this task Thanks to everyone On Tue, 21 Jul 2020, 15:11 Stefan Hornburg (Racke), wrote: > On 7/21/20 11:23 AM, Gajendra Gaikwad wrote: > > Its asp page which check if application running or down > > > >

Re: [ansible-project] How to create function call in ansible

2020-07-21 Thread Gajendra Gaikwad
Why you are using ls -l command and For checking user group use below command # id username | grep -i groupname Regard Gg On Tue, 21 Jul 2020, 17:49 Jenisha T, wrote: > Hi Team > > I want to execute ls -l command twice. > > 1. ls -l # check if user in group > 2. sudo adduser user_name

Re: [ansible-project] Help on uri module

2020-07-21 Thread Gajendra Gaikwad
Its asp page which check if application running or down On Tue, 21 Jul 2020, 14:01 Stefan Hornburg (Racke), wrote: > On 7/20/20 8:38 PM, Gajendra Gaikwad wrote: > > Hello All, > > I would like to fetch some data using uri module, but little concern is > that uri module should

Re: [ansible-project] Help on uri module

2020-07-21 Thread Gajendra Gaikwad
No luck, output is coming immediately even I set to timeout: 120 On Tue, 21 Jul 2020, 01:53 Gajendra Gaikwad, wrote: > Thank you Matt and Visser > I will check and let you know. > > > On Tue, 21 Jul 2020, 01:48 Matt Martz, wrote: > >> Are you actually runni

Re: [ansible-project] Help on uri module

2020-07-20 Thread Gajendra Gaikwad
en 60 and 120s. At the default 30s it would fail, I extended the > timeout to 120s, and it works as expected every time. > > > On Mon, Jul 20, 2020 at 3:04 PM Gajendra Gaikwad < > gajendra.y.gaik...@gmail.com> wrote: > >> request. >> *timeout* >> <https:

Re: [ansible-project] Help on uri module

2020-07-20 Thread Gajendra Gaikwad
ll load the page and then return the static and dynamic values " On Tue, 21 Jul 2020, 01:14 Dick Visser, wrote: > > https://docs.ansible.com/ansible/latest/modules/uri_module.html#parameter-timeout > > On Mon, 20 Jul 2020 at 20:38, Gajendra Gaikwad > wrote: > > > > Hello Al

Re: [ansible-project] Reduce duplicate/repeated steps in playbook

2020-07-20 Thread Gajendra Gaikwad
Yes check if this logic works 1. Create a one group in inventory with all child group masters, organization and doxy So that you can run the restart role 2. Set the variables on group level masters, organization and doxy So that your role will automatically read this variables while executing

[ansible-project] Help on uri module

2020-07-20 Thread Gajendra Gaikwad
Hello All, I would like to fetch some data using uri module, but little concern is that uri module should wait for 30 second to complete to load the page (page has same dynamic data which required 30 second to load (asp) ) How do i meet this requirement. Thanks in Advance. Regards GG. --

Re: [ansible-project] Help on snow_find_record module

2020-07-18 Thread Gajendra Gaikwad
quot;2019-12-05 07:48:50" } ] } On Sunday, July 19, 2020 at 12:34:45 AM UTC+5:30, Dick Visser wrote: > > You forgot to mention two things > > 1. What did you expect > 2. What was the output > > > > On Sat, 18 Jul 2020 at 20:59, Gajendra

[ansible-project] Help on snow_find_record module

2020-07-18 Thread Gajendra Gaikwad
Hello Team, I am trying to search records with order_by "+created_on" filter but output is not as excepted :( snow_record_find: username: abc password: ** instance: abc table: service_request order_by: '+created_on' max_records: 5 -- You received