# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=201

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

**Page:** 202

---

## [Is there a better way to search through a list using when and regex\_search](https://forum.ansible.com/t/is-there-a-better-way-to-search-through-a-list-using-when-and-regex-search/32916)

<div class="topic-metadata">

**Author:** [@Scott\_Fella](https://forum.ansible.com/u/Scott_Fella)\
**Replies:** 24\
**Last updated:** [May 15, 2020, 9:11pm UTC](https://forum.ansible.com/t/is-there-a-better-way-to-search-through-a-list-using-when-and-regex-search/32916 "2020-05-15T21:11:37Z")

</div>

Still learning Ansible, but getting somewhat better. I’m trying to use a list that I have in a playbook just for ease of testing. Is there a simple way of writing to a file when one of the items in the list is found in t…

---

## [Credential CyberArk AIM with certs Timeout, Non-Cert works](https://forum.ansible.com/t/credential-cyberark-aim-with-certs-timeout-non-cert-works/32946)

<div class="topic-metadata">

**Author:** [@Matthew\_Perry](https://forum.ansible.com/u/Matthew_Perry)\
**Replies:** 0\
**Last updated:** [May 15, 2020, 8:41pm UTC](https://forum.ansible.com/t/credential-cyberark-aim-with-certs-timeout-non-cert-works/32946 "2020-05-15T20:41:29Z")

</div>

Hi, I have an issue with Cybetark AIM credentials in AWX, We are able to use CuberArk AIM credentials to pull passwords and it works fine, however when we try to add an SSL Key and Cert to the call the process han…

---

## [EOS Modules for EOS Code \<= 4.13.15M](https://forum.ansible.com/t/eos-modules-for-eos-code-4-13-15m/32942)

<div class="topic-metadata">

**Author:** [@Kevin\_C](https://forum.ansible.com/u/Kevin_C)\
**Replies:** 0\
**Last updated:** [May 15, 2020, 5:41pm UTC](https://forum.ansible.com/t/eos-modules-for-eos-code-4-13-15m/32942 "2020-05-15T17:41:14Z")

</div>

Hey everyone, I am ripe as a green banana with ansible. I’ve installed 2.9 on Ubuntu and setup a few playbooks for our heterogeneous environment. I’ve had success with all of our EOS devices running \> 4.20 but we have s…

---

## [Ansible vmware\_content\_deploy\_template](https://forum.ansible.com/t/ansible-vmware-content-deploy-template/32941)

<div class="topic-metadata">

**Author:** [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Replies:** 1\
**Last updated:** [May 15, 2020, 4:53pm UTC](https://forum.ansible.com/t/ansible-vmware-content-deploy-template/32941 "2020-05-15T16:53:06Z")

</div>

Hi All, I’m getting the Following Error When trying to Run an Ansible Playbook. even when i have validate\_certs Set to False, it’s still displaying the issue. Unverified HTTPS request is being made. Adding certificate …

---

## [Can I specify ansible-password-vault-file in a playbook before running an include\_vars ?](https://forum.ansible.com/t/can-i-specify-ansible-password-vault-file-in-a-playbook-before-running-an-include-vars/32938)

<div class="topic-metadata">

**Author:** [@mahespth](https://forum.ansible.com/u/mahespth)\
**Replies:** 1\
**Last updated:** [May 15, 2020, 2:46pm UTC](https://forum.ansible.com/t/can-i-specify-ansible-password-vault-file-in-a-playbook-before-running-an-include-vars/32938 "2020-05-15T14:46:27Z")

</div>

Hi, I’m creating some playbooks that require some vaulted data and this is sourced dynamically. I am looking for a way to include the ansible password vault file before including this data, but without doing this on the…

---

## [How to link inventories/hosts and machine credentials?](https://forum.ansible.com/t/how-to-link-inventories-hosts-and-machine-credentials/32940)

<div class="topic-metadata">

**Author:** [@John\_Mason](https://forum.ansible.com/u/John_Mason)\
**Replies:** 0\
**Last updated:** [May 15, 2020, 1:44pm UTC](https://forum.ansible.com/t/how-to-link-inventories-hosts-and-machine-credentials/32940 "2020-05-15T13:44:54Z")

</div>

Hi, We are using AWX to manage a large number of systems, with several hundred dynamic inventories and credentials to go with each one (it’s a 1:1 relationship). Our job templates do not have an inventory or ssh credent…

---

## [fatch module](https://forum.ansible.com/t/fatch-module/32935)

<div class="topic-metadata">

**Author:** [@rakesh\_rathore](https://forum.ansible.com/u/rakesh_rathore)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 11:34am UTC](https://forum.ansible.com/t/fatch-module/32935 "2020-05-15T11:34:31Z")

</div>

Hi Team, Can anyone slove this for me please? Imagine there are many servers running in production setup and storing some data at a particular location on each server. The file name of each server is unique and follows…

---

## [Ansible for netwoking: Fortios BGP module, incremental configurations](https://forum.ansible.com/t/ansible-for-netwoking-fortios-bgp-module-incremental-configurations/32936)

<div class="topic-metadata">

**Author:** [@Luis\_Arizaga](https://forum.ansible.com/u/Luis_Arizaga)\
**Replies:** 1\
**Last updated:** [May 15, 2020, 9:17am UTC](https://forum.ansible.com/t/ansible-for-netwoking-fortios-bgp-module-incremental-configurations/32936 "2020-05-15T09:17:59Z")

</div>

Hi, I’m a network engineer. I want to use Ansible in order to provision some routers and firewalls in my company for diferent tasks/projects. I started testing with some Fortinet Firewalls we have. I encountered a probl…

---

## [The powershell shell family is incompatible with the sudo become plugin](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 4\
**Last updated:** [May 15, 2020, 4:29am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823 "2020-05-15T04:29:34Z")

</div>

Hi I m configuring windows host on windows 10 virtual machine. My control node is Redhat OS 8 virtual machine. This is for the developer testing setup. I get below error when I do $ansible -vvv winsvr -i /etc/ansible/h…

---

## [installing windows updates on windows hosts](https://forum.ansible.com/t/installing-windows-updates-on-windows-hosts/32928)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 9\
**Last updated:** [May 14, 2020, 10:40pm UTC](https://forum.ansible.com/t/installing-windows-updates-on-windows-hosts/32928 "2020-05-14T22:40:33Z")

</div>

---

## [Ansible shell command adding backslash](https://forum.ansible.com/t/ansible-shell-command-adding-backslash/32581)

<div class="topic-metadata">

**Author:** [@Mark\_T](https://forum.ansible.com/u/Mark_T)\
**Replies:** 4\
**Last updated:** [May 14, 2020, 9:24pm UTC](https://forum.ansible.com/t/ansible-shell-command-adding-backslash/32581 "2020-05-14T21:24:27Z")

</div>

Hello, name: Determining Source Account DB Password shell: cat wp-config.php | grep DB\_PASSWORD | awk -F"\[‘’\]" ‘{print $4}’ register: wp\_dbpw\_source If the password contains a backslash, the output doubles the numbe…

---

## [Integrating vault setup as a global variable](https://forum.ansible.com/t/integrating-vault-setup-as-a-global-variable/32932)

<div class="topic-metadata">

**Author:** [@deepak\_upadhyay](https://forum.ansible.com/u/deepak_upadhyay)\
**Replies:** 3\
**Last updated:** [May 14, 2020, 9:19pm UTC](https://forum.ansible.com/t/integrating-vault-setup-as-a-global-variable/32932 "2020-05-14T21:19:40Z")

</div>

Hello, I am trying to use vault for which values are defined already (global variables) i want to use them in my automation.How i can do it. Please help. structure is like a: b: vault: url: user:

---

## [ssl: the specified credentials were rejected by the server](https://forum.ansible.com/t/ssl-the-specified-credentials-were-rejected-by-the-server/29386)

<div class="topic-metadata">

**Author:** [@Ratheessh\_AV](https://forum.ansible.com/u/Ratheessh_AV)\
**Replies:** 6\
**Last updated:** [May 14, 2020, 9:07pm UTC](https://forum.ansible.com/t/ssl-the-specified-credentials-were-rejected-by-the-server/29386 "2020-05-14T21:07:09Z")

</div>

Hi, I am trying to connect to a windows host using win\_ping module. Also enabled Basic and Allowencrypted True on windows hosts as well. But still I am getting the error "“ssl: the specified credentials were rejected by…

---

## [Can I override a collection's module using \`library\`?](https://forum.ansible.com/t/can-i-override-a-collections-module-using-library/32911)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 1\
**Last updated:** [May 14, 2020, 8:20pm UTC](https://forum.ansible.com/t/can-i-override-a-collections-module-using-library/32911 "2020-05-14T20:20:12Z")

</div>

Many modules in the google.cloud collection are in a sorry state. I would like to override some of them with local fixes. Before collections, I could specify library in my ansible.cfg and place a copy of the module in th…

---

## [Add dictionary item to an existing list item](https://forum.ansible.com/t/add-dictionary-item-to-an-existing-list-item/32934)

<div class="topic-metadata">

**Author:** [@finnje](https://forum.ansible.com/u/finnje)\
**Replies:** 0\
**Last updated:** [May 14, 2020, 7:17pm UTC](https://forum.ansible.com/t/add-dictionary-item-to-an-existing-list-item/32934 "2020-05-14T19:17:26Z")

</div>

I’d like to be able to add a dictionary item to a list item. For example: my\_list: first\_list\_item: color: blue country: us second\_list\_item: stuff: blah What I’m trying to do is add to a list item like adding “s…

---

## [escaping curly braces in lineinfile module](https://forum.ansible.com/t/escaping-curly-braces-in-lineinfile-module/32915)

<div class="topic-metadata">

**Author:** [@Laci](https://forum.ansible.com/u/Laci)\
**Replies:** 7\
**Last updated:** [May 14, 2020, 3:44pm UTC](https://forum.ansible.com/t/escaping-curly-braces-in-lineinfile-module/32915 "2020-05-14T15:44:27Z")

</div>

I am new in Ansible world. I spent some time solving this but got to the point when I need to ask: I have a file called jobs.inc and I need to add six lines with Ansible. Here is an example % cat jobs.inc Job { Name…

---

## [Passing bulk data from ansible uri module to service and gettings status code -1  error](https://forum.ansible.com/t/passing-bulk-data-from-ansible-uri-module-to-service-and-gettings-status-code-1-error/32571)

<div class="topic-metadata">

**Author:** [@Diyawary](https://forum.ansible.com/u/Diyawary)\
**Replies:** 5\
**Last updated:** [May 14, 2020, 3:42pm UTC](https://forum.ansible.com/t/passing-bulk-data-from-ansible-uri-module-to-service-and-gettings-status-code-1-error/32571 "2020-05-14T15:42:19Z")

</div>

I am sending some 4500 lines data from Ansible to snow table via uri module. however 4100 records updated to snow table rest of the data did not updated this job runs around 122 or 123 sec and throw below error. less amo…

---

## [Ansible unable to run command by becoming other user and using sudo](https://forum.ansible.com/t/ansible-unable-to-run-command-by-becoming-other-user-and-using-sudo/32925)

<div class="topic-metadata">

**Author:** [@Zayed\_Mahmud](https://forum.ansible.com/u/Zayed_Mahmud)\
**Replies:** 4\
**Last updated:** [May 14, 2020, 3:29pm UTC](https://forum.ansible.com/t/ansible-unable-to-run-command-by-becoming-other-user-and-using-sudo/32925 "2020-05-14T15:29:42Z")

</div>

Hi all, I have a target server where I have a user, user1, who can become another privileged user, admin1, without password.and admin1 can run any command with sudo, like “sudo ls /root” → works. So from remote server …

---

## [Convert string to yaml path](https://forum.ansible.com/t/convert-string-to-yaml-path/32933)

<div class="topic-metadata">

**Author:** [@Dumast\_Axel](https://forum.ansible.com/u/Dumast_Axel)\
**Replies:** 2\
**Last updated:** [May 14, 2020, 3:15pm UTC](https://forum.ansible.com/t/convert-string-to-yaml-path/32933 "2020-05-14T15:15:56Z")

</div>

Hello, I search since 2 days but I don’t find any solution: I have 2 yaml files : Master.yml: values.yml: I try to catch hostname1 and hostname2’s list using command like msg"{{ firewall.port.{{ansible\_hostname…

---

## [how to dynamic update value in vars\_file](https://forum.ansible.com/t/how-to-dynamic-update-value-in-vars-file/32920)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 6\
**Last updated:** [May 14, 2020, 1:30pm UTC](https://forum.ansible.com/t/how-to-dynamic-update-value-in-vars-file/32920 "2020-05-14T13:30:46Z")

</div>

I have a var file like \` nodes: name: rk12 location: tp-101 ma: own: name: rk14 location: tp-201 ma: p11023 own: p11023 name: rk15 location: tc-332 ma: own: p92032 \` and I want to update nodes.ma with some…

---

## [Create folder structure  on HDFS Storage](https://forum.ansible.com/t/create-folder-structure-on-hdfs-storage/32930)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 0\
**Last updated:** [May 14, 2020, 6:36am UTC](https://forum.ansible.com/t/create-folder-structure-on-hdfs-storage/32930 "2020-05-14T06:36:30Z")

</div>

Hi, I Have a challenge at work that I’m straggling to resolve for few days - Maybe ansible is not the tool for that ??? Requirements: Creating a folder structure on HDFS storage Detailed Requirements: There are 3 b…

---

## [Ansible-lint - Ensure encrytion of Vault Files \*vault.yml or \*vault.yaml](https://forum.ansible.com/t/ansible-lint-ensure-encrytion-of-vault-files-vault-yml-or-vault-yaml/32926)

<div class="topic-metadata">

**Author:** [@j1f0x](https://forum.ansible.com/u/j1f0x)\
**Replies:** 2\
**Last updated:** [May 13, 2020, 7:44pm UTC](https://forum.ansible.com/t/ansible-lint-ensure-encrytion-of-vault-files-vault-yml-or-vault-yaml/32926 "2020-05-13T19:44:43Z")

</div>

It would be nice to have an ansible-lint check that raise an error if unencrypted ansible-vault files are present. In my applications I use the file naming convention \*vault.yml or \*vault.yaml to mark ansible-vault file…

---

## [Adding task output to a file in a loop](https://forum.ansible.com/t/adding-task-output-to-a-file-in-a-loop/32865)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [May 13, 2020, 5:09pm UTC](https://forum.ansible.com/t/adding-task-output-to-a-file-in-a-loop/32865 "2020-05-13T17:09:04Z")

</div>

I have a shell script that I’m trying to convert to Ansible. It currently is similar to the following: for uid in {1000…6500} user = ipa user-find --uid=$uid --raw |grep uid: | awk ‘{print $2}’ echo “user,uid” \>\> uid.…

---

## [ValueError: Redis URL must specify one of the followingschemes (redis://, rediss://, unix://)](https://forum.ansible.com/t/valueerror-redis-url-must-specify-one-of-the-followingschemes-redis-rediss-unix/32923)

<div class="topic-metadata">

**Author:** [@ramesh\_k](https://forum.ansible.com/u/ramesh_k)\
**Replies:** 2\
**Last updated:** [May 13, 2020, 4:56pm UTC](https://forum.ansible.com/t/valueerror-redis-url-must-specify-one-of-the-followingschemes-redis-rediss-unix/32923 "2020-05-13T16:56:28Z")

</div>

Hi Team I am working on ansible tower upgrade from 7 to 10, I can see the containers are up but in awx web contaner log I see below error, could some one please help me. task\_1 | Traceback (most recent call last): task…

---

## [Poll: dates for the next Ansible Contributor Summit](https://forum.ansible.com/t/poll-dates-for-the-next-ansible-contributor-summit/32924)

<div class="topic-metadata">

**Author:** [@Carol\_Chen](https://forum.ansible.com/u/Carol_Chen)\
**Replies:** 0\
**Last updated:** [May 13, 2020, 2:56pm UTC](https://forum.ansible.com/t/poll-dates-for-the-next-ansible-contributor-summit/32924 "2020-05-13T14:56:31Z")

</div>

Hi all, We’re planning our next full-day virtual Ansible Contributor Summit sometime in late June or early July, and we’re looking for feedback on proposed dates. Here’s the Doodle poll with options for possible dates: h…

---

## [Forced --limit](https://forum.ansible.com/t/forced-limit/32867)

<div class="topic-metadata">

**Author:** [@Julien\_Seknazi](https://forum.ansible.com/u/Julien_Seknazi)\
**Replies:** 3\
**Last updated:** [May 13, 2020, 2:39pm UTC](https://forum.ansible.com/t/forced-limit/32867 "2020-05-13T14:39:12Z")

</div>

Hi! I hope everything it’s ok for you. I would like to know if it’s possible to use mandatory “–limit” when you run : “ansible-playbook site.yml --limit DEVICE\_1” I explain, if i don’t use --limit, my playbook will d…

---

## [Shared connection closed](https://forum.ansible.com/t/shared-connection-closed/32921)

<div class="topic-metadata">

**Author:** [@Matthew\_Wimpelberg](https://forum.ansible.com/u/Matthew_Wimpelberg)\
**Replies:** 0\
**Last updated:** [May 13, 2020, 12:00pm UTC](https://forum.ansible.com/t/shared-connection-closed/32921 "2020-05-13T12:00:11Z")

</div>

Hi All, I’m using the vmware\_export\_ovf module to back up VMs in my environment. When I run the playbook from the command line on the same host that’s in my inventory for the failed run attached, I have no issues. When …

---

## [loop control for with\_together](https://forum.ansible.com/t/loop-control-for-with-together/32910)

<div class="topic-metadata">

**Author:** [@Diyawary](https://forum.ansible.com/u/Diyawary)\
**Replies:** 4\
**Last updated:** [May 13, 2020, 9:10am UTC](https://forum.ansible.com/t/loop-control-for-with-together/32910 "2020-05-13T09:10:22Z")

</div>

Hi team, could you please help me how to give two loop\_vars for corresponding list for with\_together module my requirement is ,i am calling a role and where looping with\_togetjher include\_role: name: validatetcp\_por…

---

## [New Ansible release 2.9.9](https://forum.ansible.com/t/new-ansible-release-2-9-9/32919)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [May 12, 2020, 10:13pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-9/32919 "2020-05-12T22:13:04Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.9.9 is now available! How do you get it?

---

## [New Ansible release 2.9.9](https://forum.ansible.com/t/new-ansible-release-2-9-9/32918)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [May 12, 2020, 10:13pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-9/32918 "2020-05-12T22:13:01Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.9.9 is now available! How do you get it?

[Previous page](https://forum.ansible.com/c/archives/31.md?page=200)

[Next page](https://forum.ansible.com/c/archives/31.md?page=202)
