Re: [ansible-project] What all things are been installed in isolated node in ansible tower to execute the jobs?

2021-11-18 Thread Komal Suthar
ated awx list: > https://groups.google.com/g/awx-project > > > > On Thu, 18 Nov 2021 at 12:00, Komal Suthar > wrote: > >> What all things are been installed in isolated node in ansible tower to >> execute the jobs as we don't install the tower in the Isolated nod

[ansible-project] What all things are been installed in isolated node in ansible tower to execute the jobs?

2021-11-18 Thread Komal Suthar
What all things are been installed in isolated node in ansible tower to execute the jobs as we don't install the tower in the Isolated node Itself and still the controller give the jobs to run so what are that all things does anybody know? -- You received this message because you are subscribed t

Re: [ansible-project] Re: Not able to connect to the managed node

2021-10-27 Thread Komal Suthar
Got it thanks. On Wed 27 Oct, 2021, 3:38 PM Komal Suthar, wrote: > Hello, > > Cool, but using yum I'm not able to install sshpass package! > > On Wed 27 Oct, 2021, 3:29 PM Markus, < > m.lauterb...@neue-digitale-horizonte.de> wrote: > >> Hi Komalsuth, &g

Re: [ansible-project] Re: Not able to connect to the managed node

2021-10-27 Thread Komal Suthar
Hello, Cool, but using yum I'm not able to install sshpass package! On Wed 27 Oct, 2021, 3:29 PM Markus, < m.lauterb...@neue-digitale-horizonte.de> wrote: > Hi Komalsuth, > > you need to install sshpass localy on your ansible "master" node - not on > the target node. > > Hope it helps. > > M

[ansible-project] Not able to connect to the managed node

2021-10-27 Thread Komal Suthar
ansible all -m ping SSH password: 192.168.99.115 | FAILED! => { "msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program" } This is the error msg I'm getting while connecting to the rhel v6.10 managed node. Even there all the openssh packages are installed.

Re: [ansible-project] Permission Denied error

2021-09-02 Thread Komal Suthar
Have you given privilege escalations try doing that. On Thu, Sep 2, 2021, 5:25 PM aman kumar chagti wrote: > when I try to run the playbook on a remote VM using password-based > authentication, I'm getting the following error: > > *fatal: [X.X.X.X]: UNREACHABLE! => {"changed": false, "msg": "Fai

Re: [ansible-project] Re: ec2_vpc_route_table - how to configure a local route

2021-07-06 Thread Komal Suthar
Hello, https://www.linkedin.com/posts/komalsuthar_vimaldaga-aws-vpc-activity-6765953256347713538-FdtL Hope this helps.. On Tue, Jul 6, 2021, 3:51 PM Gerald Preissler wrote: > > > I noticed in the meantime that the RouteTable automatically contains a > route to the local network so there is no

[ansible-project] How to change password

2021-06-16 Thread Komal Suthar
Hello, Any approach to change the existing users password on 200 plus machines in a safe way. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+

Re: [ansible-project] How to use look-up plugin in ansible roles

2021-05-16 Thread Komal Suthar
Is the error coming from the k8s..? On Sun, May 16, 2021, 3:24 PM Stefan Hornburg (Racke) wrote: > On 5/16/21 11:45 AM, Komal Suthar wrote: > > Hello, > > I want to use look-up plugin to read a file in the roles so i kept that > file in files folder and using the look-up in &

[ansible-project] How to use look-up plugin in ansible roles

2021-05-16 Thread Komal Suthar
Hello, I want to use look-up plugin to read a file in the roles so i kept that file in files folder and using the look-up in tasks/main file but it is not working anybody can help? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscrib

Re: [ansible-project] Failed to load inventory plugin, skipping yml

2021-05-10 Thread Komal Suthar
Have you created the inventory file and also give the location of the inventory file in the ansible configuration file and also im ansible in think there are only 4 v's verbosity and we cant use this - with this inventory we can use this while we run a playbook. On Mon, May 10, 2021, 9:32 PM S

Re: [ansible-project] Use ansible to get all the servers with specific package

2021-04-29 Thread Komal Suthar
- name: Gather the package facts ansible.builtin.package_facts: manager: auto - name: Print the package facts ansible.builtin.debug: var: ansible_facts.packages - name: Check whether a package called foobar is installed ansible.builtin.debug: msg: "{{ ansible_facts.packages['fooba

Re: [ansible-project] Help with Playbook

2021-04-27 Thread Komal Suthar
Or another approach is you can register the output using the register keyword and fetch, and use when condition to do further actions on the basis of that particular output. On Tue, Apr 27, 2021, 7:08 PM Stephen Maher wrote: > Hi, > > Check out service_facts module: > > > > https://docs.ansible.

Re: [ansible-project] Unable to set parameter

2021-04-27 Thread Komal Suthar
You can give the same in the inventory or define it in the default section or privilege_escalation section in your ansible configuration file. On Tue, Apr 27, 2021, 3:44 PM Dean Verrell wrote: > Hello i want to use playbook to config router in towerm but i have error > message unable to set para

Re: [ansible-project] Re: ansible ssh connections

2021-04-26 Thread Komal Suthar
template: src : file.txt Inside this file.txt.. The default IPv4 address of {{ ansible_facts.fqdn }} is {{ ansible_facts.default_ipv4.address }} dest : file.csv Some facts example there are lots of facts related to that server you have to fetch or serch in docs On Mon, Apr 26, 2021, 3:3

Re: [ansible-project] Modifying CIDR of an existing EC2 Security Groups using Ansible

2021-04-26 Thread Komal Suthar
In this ec2_group module i don't think that we can solve this use case On Mon, Apr 26, 2021, 11:04 AM Naveen NK wrote: > Can we modify existing EC2 Security group using Ansible by accepting new > input parameter through jenkins job? > > Scenario - I have to update users public IP to Ec2 security

Re: [ansible-project] Re: ansible ssh connections

2021-04-26 Thread Komal Suthar
You can use jinja templates for getting the facts of the server and use template modules for creating your file. On Mon, Apr 26, 2021, 2:54 PM Naveen Konduru wrote: > Hello Team , > I have oen requirement on Ansible with Hp ILO server.. > > I am new to ansible.Need help from you people. > Requi

Re: [ansible-project] docker installation with ansible

2021-04-21 Thread Komal Suthar
https://www.linkedin.com/posts/komalsuthar_rightmentor-linuxworld-arth2020-activity-6755807204814671872-eThV Refer this it will help for installation of docker On Wed, Apr 21, 2021, 7:03 PM Dick Visser wrote: > I don't think the error can be any clearer: > > On Wed, 21 Apr 2021 at 13:49, rebecc

Re: [ansible-project] TTP parsing doesn't work in ansible, need assistance

2021-04-21 Thread Komal Suthar
"{{ show_space.stdout }}" try in this way On Wed, Apr 21, 2021, 5:00 PM Rajthecomputerguy wrote: > try removing quotes in stdout > > > > On Wed, Apr 21, 2021 at 3:34 PM Vikram S wrote: > >> >> I wrote below script to parse output of 'sh flash:' however iam getting >> blank output. >> >> I check

Re: [ansible-project] community.general.ssh_config: ModuleNotFoundError: No module named 'storm'

2021-04-16 Thread Komal Suthar
As you are having python version 3 so try to install using pip3 install storm. Well the error says that u are using storm as a module but in ansible there's no such. On Fri, Apr 16, 2021, 6:53 PM Abhijeet Kasurde wrote: > Can you please check if Python used by Ansible is same as pip environment?

Re: [ansible-project] Ansible Query

2021-04-14 Thread Komal Suthar
Ssh is used for remote connections in linux while we can use WinRM for connecting to the windows server remotely On Wed, Apr 14, 2021, 8:47 PM Monica D wrote: > Hello Everyone, > > Can anyone answer this? > What are the different ways other than SSH by which Ansible can connect to > remote hosts

Re: [ansible-project] mysql_db and pymysql error

2021-04-13 Thread Komal Suthar
If you want to install the different version first install the python3 interpreter using yum then it bydefault comes with pip3 command so run pip3 install ansible. On Wed, Apr 14, 2021, 2:47 AM Nick-H wrote: > ok thanks, sorry but my tower/awx is not remote per say as it is the box > that execut

Re: [ansible-project] Gathering facts from hosts

2021-04-13 Thread Komal Suthar
You can try to copy the facts dynamically, usjng the template module while running the playbook in the custom facts directory. On Tue, Apr 13, 2021, 6:56 PM Werner Flamme wrote: > Hi list, > > I wonder if there is a dynamic way of providing facts about hosts. > > I only find the possibility to i

Re: [ansible-project] Cannot create multiple VMs

2021-04-13 Thread Komal Suthar
And also while you run the playbook give the --syntax-check argument as it was giving syntax error then theres no problem with the code it might be some indentation error try to look before or after the error line On Tue, Apr 13, 2021, 5:39 PM Komal Suthar wrote: > Try giving loop instead

Re: [ansible-project] Cannot create multiple VMs

2021-04-13 Thread Komal Suthar
/python3.8/dist-packages/pyVmomi/VmomiSupport.py\", line > 663, in __setattr__\nCheckField(self._GetPropertyInfo(name), val)\n > File \"/usr/local/lib/python3.8/dist-packages/pyVmomi/VmomiSupport.py\", > line 1041, in CheckField\nraise TypeError('Required field \"%s\&

Re: [ansible-project] Cannot create multiple VMs

2021-04-13 Thread Komal Suthar
with_items: "{{ servers }}" Try this way onces On Tue, Apr 13, 2021, 3:19 PM rebecca acheampong wrote: > I want to create two VMs with ansible but keep getting this error with the > with_items > Please I need help. I am very new to ansible. > > ERROR! Syntax Error while loading YAML. > did n

Re: [ansible-project] Greengrass: Adding device fails first time

2021-04-13 Thread Komal Suthar
There are two error first the variable it is looking for it didn't get and the connection is not established try to resolve this, then try again. On Tue, Apr 13, 2021, 8:22 AM niran...@gmail.com wrote: > Hi > i am having some issue adding a new device D35 to greengrass . > The first time the rol

Re: [ansible-project] ThrottlingException in KMS

2021-04-13 Thread Komal Suthar
https://aws.amazon.com/premiumsupport/knowledge-center/kms-throttlingexception-error/ This might help u On Tue, Apr 13, 2021, 10:45 AM Jayesh Mahajan wrote: > Dear All, > > Is anyone know about this?? > > > Thanks & Regards, > > Jayesh D. Mahajan. > > ĂˆMobile: +91 9028602679 > > * jaymahaja...@g