# Latest

**URL:** https://forum.ansible.com/latest.md?page=361

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 362

---

## [Package compatibility with RedHat image](https://forum.ansible.com/t/package-compatibility-with-redhat-image/33324)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 2\
**Last updated:** [July 12, 2020, 10:33am UTC](https://forum.ansible.com/t/package-compatibility-with-redhat-image/33324 "2020-07-12T10:33:19Z")

</div>

Hi Team, We do not have direct internet access to install AWX and also we dont have Centos image for building AWX image, So we are going to build image using RedHat minimal image We want the below packages installed us…

---

## [Waiting for Kubernetes Objects](https://forum.ansible.com/t/waiting-for-kubernetes-objects/33377)

<div class="topic-metadata">

**Author:** [@kameshs](https://forum.ansible.com/u/kameshs)\
**Replies:** 0\
**Last updated:** [July 12, 2020, 8:50am UTC](https://forum.ansible.com/t/waiting-for-kubernetes-objects/33377 "2020-07-12T08:50:12Z")

</div>

While using community.kubernetes.k8s module, I am seeing that wait: yes is cause the resource creation to fail in case of definition is a multi document yaml. Is there a way to wait for multi document k8s operations to c…

---

## [Failed to lock apt fgor exclusive operation](https://forum.ansible.com/t/failed-to-lock-apt-fgor-exclusive-operation/33374)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 5\
**Last updated:** [July 12, 2020, 5:16am UTC](https://forum.ansible.com/t/failed-to-lock-apt-fgor-exclusive-operation/33374 "2020-07-12T05:16:52Z")

</div>

I am trying to install httpd on a ubuntu server but keep getting this error any idea?

---

## [need to check the difference of mtab, before and after server reboot, rhel 7 server](https://forum.ansible.com/t/need-to-check-the-difference-of-mtab-before-and-after-server-reboot-rhel-7-server/33375)

<div class="topic-metadata">

**Author:** [@Shreela\_Roy](https://forum.ansible.com/u/Shreela_Roy)\
**Replies:** 0\
**Last updated:** [July 11, 2020, 8:11pm UTC](https://forum.ansible.com/t/need-to-check-the-difference-of-mtab-before-and-after-server-reboot-rhel-7-server/33375 "2020-07-11T20:11:35Z")

</div>

I want to run a yml via ansible tower. Purpose: to take backup of mtab before and after server reboot and compare the differences to let me know what was mounted before reboot/got mounted post reboot. Which module can he…

---

## [Hashicorp Consul Agent Container Installation Ansible Playbook](https://forum.ansible.com/t/hashicorp-consul-agent-container-installation-ansible-playbook/33373)

<div class="topic-metadata">

**Author:** [@renato.marcandier](https://forum.ansible.com/u/renato.marcandier)\
**Replies:** 0\
**Last updated:** [July 11, 2020, 12:31pm UTC](https://forum.ansible.com/t/hashicorp-consul-agent-container-installation-ansible-playbook/33373 "2020-07-11T12:31:31Z")

</div>

Hello guys, Do you know where I can find an ansible playbook to install HashiCorp Consul container on Docker or Kubernetes? Could you give me any suggestions for the best way to achieve it?

---

## [Using Ansible Collections in molecule test](https://forum.ansible.com/t/using-ansible-collections-in-molecule-test/33372)

<div class="topic-metadata">

**Author:** [@Kamesh\_Sampath1](https://forum.ansible.com/u/Kamesh_Sampath1)\
**Replies:** 3\
**Last updated:** [July 11, 2020, 6:37am UTC](https://forum.ansible.com/t/using-ansible-collections-in-molecule-test/33372 "2020-07-11T06:37:52Z")

</div>

I am trying to use Ansible collections with my molecule test molecule.yml --- dependency: name: galaxy options: requirements-file: molecule/common/requirements.yml driver: name: delegated options: managed: False ansib…

---

## [Ensuring code executes even if user interrupted](https://forum.ansible.com/t/ensuring-code-executes-even-if-user-interrupted/33371)

<div class="topic-metadata">

**Author:** [@afeller](https://forum.ansible.com/u/afeller)\
**Replies:** 0\
**Last updated:** [July 10, 2020, 6:30pm UTC](https://forum.ansible.com/t/ensuring-code-executes-even-if-user-interrupted/33371 "2020-07-10T18:30:20Z")

</div>

Ansible’s block/rescue and handlers are mechanisms for flow control, however they don’t guarantee execution whenever the control machine is interrupted. Are there any other hooks that signal handling will perform best at…

---

## [Ansible Contributor Survey](https://forum.ansible.com/t/ansible-contributor-survey/33370)

<div class="topic-metadata">

**Author:** [@Carol\_Chen1](https://forum.ansible.com/u/Carol_Chen1)\
**Replies:** 0\
**Last updated:** [July 10, 2020, 3:01pm UTC](https://forum.ansible.com/t/ansible-contributor-survey/33370 "2020-07-10T15:01:21Z")

</div>

Hi everyone! We had a successful Contributor Summit + Hackathon earlier this week (July 6-8). Thank you for your interest/attendance! Here is a Contributor Survey that we have put together: https://www.surveymonkey…

---

## [Ansible regex to search and replace an IP Address in a line](https://forum.ansible.com/t/ansible-regex-to-search-and-replace-an-ip-address-in-a-line/33369)

<div class="topic-metadata">

**Author:** [@Karn\_Gusain](https://forum.ansible.com/u/Karn_Gusain)\
**Replies:** 1\
**Last updated:** [July 10, 2020, 2:20pm UTC](https://forum.ansible.com/t/ansible-regex-to-search-and-replace-an-ip-address-in-a-line/33369 "2020-07-10T14:20:57Z")

</div>

I have an Ansible playbook where I need to change the Server Name in one line and an Specific IP address in another line, as in this line there are a bunch of IP address separated by a comma. I have the below play which…

---

## [jinja2 template error in ansible](https://forum.ansible.com/t/jinja2-template-error-in-ansible/33368)

<div class="topic-metadata">

**Author:** [@Pradeep\_Ghorpade](https://forum.ansible.com/u/Pradeep_Ghorpade)\
**Replies:** 0\
**Last updated:** [July 10, 2020, 1:07pm UTC](https://forum.ansible.com/t/jinja2-template-error-in-ansible/33368 "2020-07-10T13:07:19Z")

</div>

Hello, I am searching which packages are available to install on windows using win\_update module. for example I am getting 3 package name. I want print them like below. ServerName Patch Details serverA 2019-08 Securit…

---

## [selecting file based on hostname](https://forum.ansible.com/t/selecting-file-based-on-hostname/33366)

<div class="topic-metadata">

**Author:** [@Krushna\_Chandra\_Sahu](https://forum.ansible.com/u/Krushna_Chandra_Sahu)\
**Replies:** 2\
**Last updated:** [July 10, 2020, 10:49am UTC](https://forum.ansible.com/t/selecting-file-based-on-hostname/33366 "2020-07-10T10:49:17Z")

</div>

Hi Team, I need a playbook to update the sudoer file based on os distribution. I have written below code but it is failing. name: Copy sudoers files copy: src: files/{{ file\_name }} dest: /etc/sudoers validate: /u…

---

## [Need help in polling the ansible task](https://forum.ansible.com/t/need-help-in-polling-the-ansible-task/33358)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 2\
**Last updated:** [July 10, 2020, 5:36am UTC](https://forum.ansible.com/t/need-help-in-polling-the-ansible-task/33358 "2020-07-10T05:36:34Z")

</div>

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”:“…

---

## [How to declare a list of lists of lists](https://forum.ansible.com/t/how-to-declare-a-list-of-lists-of-lists/33363)

<div class="topic-metadata">

**Author:** [@John\_Maag](https://forum.ansible.com/u/John_Maag)\
**Replies:** 4\
**Last updated:** [July 10, 2020, 12:06am UTC](https://forum.ansible.com/t/how-to-declare-a-list-of-lists-of-lists/33363 "2020-07-10T00:06:33Z")

</div>

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…

---

## [installing flatpaks](https://forum.ansible.com/t/installing-flatpaks/33364)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 2\
**Last updated:** [July 9, 2020, 11:23pm UTC](https://forum.ansible.com/t/installing-flatpaks/33364 "2020-07-09T23:23:05Z")

</div>

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\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [NameError: global name 'fw offline' is not defined](https://forum.ansible.com/t/nameerror-global-name-fw-offline-is-not-defined/33352)

<div class="topic-metadata">

**Author:** [@knowosielski-SJSU](https://forum.ansible.com/u/knowosielski-SJSU)\
**Replies:** 7\
**Last updated:** [July 9, 2020, 7:12pm UTC](https://forum.ansible.com/t/nameerror-global-name-fw-offline-is-not-defined/33352 "2020-07-09T19:12:06Z")

</div>

I’m working on Ubuntu 18.04.4 LTS using ansible 2.5.1. I’m trying to get this project to work as its exactly what I’m trying to do. I’ve stumbled through and did some troubleshooting and I managed to get the pod create…

---

## [Inventory shows different host counts](https://forum.ansible.com/t/inventory-shows-different-host-counts/33340)

<div class="topic-metadata">

**Author:** [@Roman](https://forum.ansible.com/u/Roman)\
**Replies:** 1\
**Last updated:** [July 9, 2020, 4:15pm UTC](https://forum.ansible.com/t/inventory-shows-different-host-counts/33340 "2020-07-09T16:15:38Z")

</div>

My project has “inventory” directory, in which I have 3 files for various environments. If I create separate inventories for each of those files, in total I would have 283 hosts. But if I import inventory as a folder “…

---

## [Playbook invocation/role invocation if some tags are specified with some values](https://forum.ansible.com/t/playbook-invocation-role-invocation-if-some-tags-are-specified-with-some-values/33361)

<div class="topic-metadata">

**Author:** [@Ameya\_Agashe](https://forum.ansible.com/u/Ameya_Agashe)\
**Replies:** 0\
**Last updated:** [July 9, 2020, 3:29pm UTC](https://forum.ansible.com/t/playbook-invocation-role-invocation-if-some-tags-are-specified-with-some-values/33361 "2020-07-09T15:29:29Z")

</div>

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 par…

---

## [Set GRUB\_DEFAULT by kernel version](https://forum.ansible.com/t/set-grub-default-by-kernel-version/33360)

<div class="topic-metadata">

**Author:** [@jabb\_degen](https://forum.ansible.com/u/jabb_degen)\
**Replies:** 0\
**Last updated:** [July 9, 2020, 1:00pm UTC](https://forum.ansible.com/t/set-grub-default-by-kernel-version/33360 "2020-07-09T13:00:59Z")

</div>

Hey guys, I want set the GRUB\_DEFAULT Variable accordingly to a specified kernel version. I’m not quite sure how to do it in an ansible clean way. Pseudo code which explains the desired task (attachments)func (902 Byt…

---

## [What is the ansible\_network\_os for FXOS devices.](https://forum.ansible.com/t/what-is-the-ansible-network-os-for-fxos-devices/33357)

<div class="topic-metadata">

**Author:** [@Susethira\_Ramamoorth](https://forum.ansible.com/u/Susethira_Ramamoorth)\
**Replies:** 1\
**Last updated:** [July 9, 2020, 9:28am UTC](https://forum.ansible.com/t/what-is-the-ansible-network-os-for-fxos-devices/33357 "2020-07-09T09:28:29Z")

</div>

Is there any way to automate the FXOS Firepower 2130 devices using ansible? Please reply me for the same

---

## [cisco ios connect ssh error](https://forum.ansible.com/t/cisco-ios-connect-ssh-error/33337)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 4\
**Last updated:** [July 9, 2020, 9:28am UTC](https://forum.ansible.com/t/cisco-ios-connect-ssh-error/33337 "2020-07-09T09:28:24Z")

</div>

I connect cisco switch run playbook show error msg please help thanks. fatal: \[tpesw-01\]: FAILED! =\> { “ansible\_facts”: {}, “changed”: false, “failed\_modules”: { “ios\_facts”: { “exception”: “WARNING: The below tra…

---

## [\[external-db pgsql\] - awx-migrate possibly to create table in a order schema than public ?](https://forum.ansible.com/t/external-db-pgsql-awx-migrate-possibly-to-create-table-in-a-order-schema-than-public/33356)

<div class="topic-metadata">

**Author:** [@Benoit\_Barriere](https://forum.ansible.com/u/Benoit_Barriere)\
**Replies:** 0\
**Last updated:** [July 9, 2020, 7:44am UTC](https://forum.ansible.com/t/external-db-pgsql-awx-migrate-possibly-to-create-table-in-a-order-schema-than-public/33356 "2020-07-09T07:44:05Z")

</div>

Hello, I have get this following bellow error because the command awx-migrate (django command) push and create pgsql data in public schema. My dba by default create a separate schema for each DB created in our cluster p…

---

## [Question re: Can Ansible boot an ISO file on a bare metal server?](https://forum.ansible.com/t/question-re-can-ansible-boot-an-iso-file-on-a-bare-metal-server/33353)

<div class="topic-metadata">

**Author:** [@DevOps\_Automation](https://forum.ansible.com/u/DevOps_Automation)\
**Replies:** 3\
**Last updated:** [July 9, 2020, 6:10am UTC](https://forum.ansible.com/t/question-re-can-ansible-boot-an-iso-file-on-a-bare-metal-server/33353 "2020-07-09T06:10:22Z")

</div>

Hi, I want to automate the physical server provisioning and build process. Can anyone please let me know that, does Ansible can boot an ISO file on a bare metal server? 1. If yes, can you please explain how the connect…

---

## [ansible debug troubleshooting - script failing](https://forum.ansible.com/t/ansible-debug-troubleshooting-script-failing/33354)

<div class="topic-metadata">

**Author:** [@stack\_flow](https://forum.ansible.com/u/stack_flow)\
**Replies:** 4\
**Last updated:** [July 9, 2020, 5:59am UTC](https://forum.ansible.com/t/ansible-debug-troubleshooting-script-failing/33354 "2020-07-09T05:59:58Z")

</div>

Hello, I am new to ansible and its troubleshooting. my ansible script is failing. below is output. could you advise why is the script failing? \<10.10.100.59\> attempting to start connection \<10.10.100.59\> using connecti…

---

## [bwrap: Creating new namespace faile](https://forum.ansible.com/t/bwrap-creating-new-namespace-faile/33322)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 1\
**Last updated:** [July 9, 2020, 5:51am UTC](https://forum.ansible.com/t/bwrap-creating-new-namespace-faile/33322 "2020-07-09T05:51:40Z")

</div>

Hi! The awx is working fine and we use 12.0.0 then all of sudden the project sync with bitbucket is not working. Got below error: bwrap: Creating new namespace failed, likely because the kernel does not support user na…

---

## [Integrating LAPS in my environmet](https://forum.ansible.com/t/integrating-laps-in-my-environmet/33355)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 0\
**Last updated:** [July 9, 2020, 4:15am UTC](https://forum.ansible.com/t/integrating-laps-in-my-environmet/33355 "2020-07-09T04:15:53Z")

</div>

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 L…

---

## [Ansible-lint error](https://forum.ansible.com/t/ansible-lint-error/33347)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 3\
**Last updated:** [July 9, 2020, 2:25am UTC](https://forum.ansible.com/t/ansible-lint-error/33347 "2020-07-09T02:25:29Z")

</div>

Hi Team I get below error when I run ansible-lint. Any clue why it’s throwing error 0.55s$ ansible-lint . 231Traceback (most recent call last): 232 File “/home/travis/virtualenv/python2.7.15/bin/ansible-lint”, line 1…

---

## [Possible to use more than one hostname/identifier in inventory?](https://forum.ansible.com/t/possible-to-use-more-than-one-hostname-identifier-in-inventory/33348)

<div class="topic-metadata">

**Author:** [@Guy\_Knights1](https://forum.ansible.com/u/Guy_Knights1)\
**Replies:** 1\
**Last updated:** [July 8, 2020, 9:00pm UTC](https://forum.ansible.com/t/possible-to-use-more-than-one-hostname-identifier-in-inventory/33348 "2020-07-08T21:00:37Z")

</div>

We gather most of our host inventory using the aws\_ec2 inventory plugin, and from this each host’s private IP address is used as the host identifier. Is there a way we can also gather and use other unique identifiers to …

---

## [Can you use a Bastion Host / Jump Host without an ssh key for network device access in AWX?](https://forum.ansible.com/t/can-you-use-a-bastion-host-jump-host-without-an-ssh-key-for-network-device-access-in-awx/33350)

<div class="topic-metadata">

**Author:** [@Emil\_Safonov](https://forum.ansible.com/u/Emil_Safonov)\
**Replies:** 0\
**Last updated:** [July 8, 2020, 8:40pm UTC](https://forum.ansible.com/t/can-you-use-a-bastion-host-jump-host-without-an-ssh-key-for-network-device-access-in-awx/33350 "2020-07-08T20:40:32Z")

</div>

Hey All, I recently gotten my AWX instance up and running in an AWS environment. I was wondering if anyone knew how to setup access to a jump host to access network devices without an ssh key for authentication with the…

---

## [add\_host/group\_by how to do sub-groups](https://forum.ansible.com/t/add-host-group-by-how-to-do-sub-groups/33349)

<div class="topic-metadata">

**Author:** [@Chris\_Kiick](https://forum.ansible.com/u/Chris_Kiick)\
**Replies:** 0\
**Last updated:** [July 8, 2020, 8:02pm UTC](https://forum.ansible.com/t/add-host-group-by-how-to-do-sub-groups/33349 "2020-07-08T20:02:10Z")

</div>

Hi, I’m exploring the use of add\_host instead of a rather convoluted dynamic inventory setup. I can create the groups for each host, either by specifying groups in add\_host, or using group\_by. However, these only create…

---

## [Ansible - Using the http get method to pull data  SSL Cert data](https://forum.ansible.com/t/ansible-using-the-http-get-method-to-pull-data-ssl-cert-data/33342)

<div class="topic-metadata">

**Author:** [@FallGuy74](https://forum.ansible.com/u/FallGuy74)\
**Replies:** 3\
**Last updated:** [July 8, 2020, 6:04pm UTC](https://forum.ansible.com/t/ansible-using-the-http-get-method-to-pull-data-ssl-cert-data/33342 "2020-07-08T18:04:36Z")

</div>

Hi everyone. I've been working on an ansible playbook that retrieves SSL and Certificate data from a load balancer. I've been able to run the playbook with success however, I'm not getting all the expected data. Belo…

[Previous page](https://forum.ansible.com/latest.md?page=360)

[Next page](https://forum.ansible.com/latest.md?page=362)
