Re: [ansible-project] Need help in polling the ansible task

2020-07-09 Thread Rahul Kumar
Thanks Vinoth ! Once i put condition like that: until: result['results'][0].content.isFetched == True It says "msg": "The conditional check 'result['results'][0].content.isFetched == True' failed. The error was: error while evaluating conditional (result['results'][0].content.isFetched ==

Re: [ansible-project] How to declare a list of lists of lists

2020-07-09 Thread Vladimir Botka
> On Thu, 9 Jul 2020 16:05:21 -0700 (PDT) > John Maag wrote: > > Is there a way to walk *volumes* and *disk* lists? Try this loop - debug: msg: "{{ outer_item.0.vgname }} {{ outer_item.1.lvname }}" loop: "{{ lookup('subelements', disks, 'volumes') }}" loop_control:

Re: [ansible-project] How to declare a list of lists of lists

2020-07-09 Thread Vladimir Botka
On Thu, 9 Jul 2020 16:05:21 -0700 (PDT) John Maag wrote: > > > disks: > > > - vgname: vg1 > > > state: present > > volumes: > > > - lvname: lv1 > > > mntp: /u01 > > > lvsize: 100G > > > fstype: xfs > > > disk: > > > -

Re: [ansible-project] installing flatpaks

2020-07-09 Thread Andrew Meyer
Thank You! On Thursday, July 9, 2020 at 4:20:10 PM UTC-5, Stefan Hornburg (Racke) wrote: > > On 7/9/20 11:14 PM, Andrew Meyer wrote: > > I am trying to install a list of flatpaks on my Fedora Workstation and > getting the following errors when I run my playbook: > > > > | > > TASK

Re: [ansible-project] How to declare a list of lists of lists

2020-07-09 Thread John Maag
Is there a way to walk *volumes* and *disk* lists? I can only find examples of walking *disks* and *volumes* with the subelements construct. Sorry there is both a disk and disks list construct. On Thursday, July 9, 2020 at 5:15:47 PM UTC-5, Vladimir Botka wrote: > > > > > > Something like

Re: [ansible-project] How to declare a list of lists of lists

2020-07-09 Thread Vladimir Botka
On Thu, 9 Jul 2020 13:10:44 -0700 (PDT) John Maag wrote: > - For each volume group there will be an attribute name and an attribute > state > - Under each volume group is a list of one or more volumes. > - For each volume, there are attributes name, > size, file system type, and mount point

Re: [ansible-project] installing flatpaks

2020-07-09 Thread Stefan Hornburg (Racke)
On 7/9/20 11:14 PM, Andrew Meyer wrote: > I am trying to install a list of flatpaks on my Fedora Workstation and > getting the following errors when I run my playbook: > > | > TASK [Installthe flatpak packages fromflathub forcurrent >

[ansible-project] installing flatpaks

2020-07-09 Thread Andrew Meyer
I am trying to install a list of flatpaks on my Fedora Workstation and getting the following errors when I run my playbook: TASK [Install the flatpak packages from flathub for current user]

[ansible-project] How to declare a list of lists of lists

2020-07-09 Thread John Maag
I need to set up a list of volume groups. for each volume group there will be an attribute name and an attribute state. under each volume group is a list of one or more volumes. For each volume, there are attributes name, size, file system type, and mount point. Under each volume is a list of

Re: [ansible-project] Need help in polling the ansible task

2020-07-09 Thread vinoth kumar
You can register it and use retries until it gets something you want . The. You can call you second playbook with your when condition . You have to provide the exact output to get condition . Until: register.somthing.isFetched == true On Thu 9. Jul 2020 at 11:26, Rahul Kumar wrote: > Hi

Re: [ansible-project] NameError: global name 'fw offline' is not defined

2020-07-09 Thread Keith Nowosielski
Updated to 2.9.10 (more trouble than it should have been). Then updating states that were deprecated "installed>present", It now seems to be working! Thanks Everyone, and sorry I'm such a newbie at this! Keith On Thu, Jul 9, 2020 at 11:28 AM Keith Nowosielski < keith.nowosiel...@sjsu.edu>

Re: [ansible-project] NameError: global name 'fw offline' is not defined

2020-07-09 Thread Keith Nowosielski
Sorry, that's what I came up with on a quick google search. Also this is a fresh install.. ugh Keith On Thu, Jul 9, 2020 at 10:15 AM flowerysong wrote: > On Thursday, July 9, 2020 at 12:26:34 PM UTC-4 keith.no...@sjsu.edu wrote: > >> I saw this, however this issue was posed and fixed back in

Re: [ansible-project] NameError: global name 'fw offline' is not defined

2020-07-09 Thread flowerysong
On Thursday, July 9, 2020 at 12:26:34 PM UTC-4 keith.no...@sjsu.edu wrote: > I saw this, however this issue was posed and fixed back in 2018. I'm using > a current version of Ansible. I can dig into the python script however from > the comments I'm not clear on what would need to be done? >

Re: [ansible-project] NameError: global name 'fw offline' is not defined

2020-07-09 Thread Keith Nowosielski
I saw this, however this issue was posed and fixed back in 2018. I'm using a current version of Ansible. I can dig into the python script however from the comments I'm not clear on what would need to be done? Keith On Wed, Jul 8, 2020 at 10:10 PM Abhijeet Kasurde wrote: > I think this issue

Re: [ansible-project] NameError: global name 'fw offline' is not defined

2020-07-09 Thread Keith Nowosielski
I did actually. I've been troubleshooting for a week now, and I've made some progress, however this seems to be a bug with Ansible. Keith On Wed, Jul 8, 2020 at 9:03 PM Dick Visser wrote: > > > On Thu, 9 Jul 2020 at 01:16, Keith Nowosielski > wrote: > >> I'm working on Ubuntu 18.04.4 LTS

[ansible-project] Playbook invocation/role invocation if some tags are specified with some values

2020-07-09 Thread ameya agashe
Hi, Please find below my Ansible role and playbook which calls that role to deploy cloudformation template on to an AWS account: main.yml file of patching-cf-ssm role ``` cat main.yml --- - name: Check the mandatory parameters are provided assert: that: - ({{ variable_check }} is

[ansible-project] Integrating Microsoft LAPS and ansible

2020-07-09 Thread harsh chawda
Hello All, I am using ansible for patching windows machines in my domain. The process is working fine with patches being installed till date over Winrm and kerberos as authentication. But now they have decided to use LAPS in the environment .So, the password keep on changing and i am not able

Re: [ansible-project] What is the ansible_network_os for FXOS devices.

2020-07-09 Thread Vanshika Sagar
Here you go :- https://developer.cisco.com/docs/ftd-ansible-v6-3/#!introduction-to-ftd-ansible/introduction-to-ansible-modules-for-ftd-6-3-0 Thanks Ashish On Thu, Jul 9, 2020 at 2:45 PM Susethira Ramamoorthy wrote: > Is there any way to automate the FXOS Firepower 2130 devices using >

RE: [ansible-project] cisco ios connect ssh error

2020-07-09 Thread sandy.hung
Thanks , I have solved. � BR Sandy � From: ansible-project@googlegroups.com On Behalf Of Srinivas Naram Sent: Tuesday, July 7, 2020 6:01 PM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] cisco ios connect ssh error � Username, Password is null. How are you passing

[ansible-project] Need help in polling the ansible task

2020-07-09 Thread Rahul Kumar
Hi Geeks , I have a task as below which returns me some data. I want to continuously poll this request until I get a specific attribute in response as true. Here is the response from the playbook sample1.yml: {"_id":"89494fnfi04m0","price":"$17","isFetched": false} cat sample1.yml --- name: My

[ansible-project] What is the ansible_network_os for FXOS devices.

2020-07-09 Thread Susethira Ramamoorthy
Is there any way to automate the FXOS Firepower 2130 devices using ansible? Please reply me for the same -- 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

Re: [ansible-project] Question re: Can Ansible boot an ISO file on a bare metal server?

2020-07-09 Thread DevOps Automation
Thanks for your response. I want to automate booting an ISO file, assigning hostname and IP address to a physical server. Physical server is going to be HP servers and it will have HP 'ILO' (Integrated lights Out). hpilo_boot

Re: [ansible-project] Re: ansible debug troubleshooting - script failing

2020-07-09 Thread Srinivas Naram
https://docs.ansible.com/ansible/latest/user_guide/connection_details.html On Thu, Jul 9, 2020 at 8:36 AM stack flow wrote: > Thx. I was able to ssh from command line so this isn't network issue. is > it because of python? > > TASK [show hostname] >