# Latest

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

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

**Page:** 611

---

## [InsecureRequestWarning: Unverified HTTPS](https://forum.ansible.com/t/insecurerequestwarning-unverified-https/25388)

<div class="topic-metadata">

**Author:** [@barfingcat11](https://forum.ansible.com/u/barfingcat11)\
**Replies:** 3\
**Last updated:** [November 4, 2017, 8:56pm UTC](https://forum.ansible.com/t/insecurerequestwarning-unverified-https/25388 "2017-11-04T20:56:57Z")

</div>

Despite setting cert validation as ignore and false, I still get the warning message. Any ideas? thanks Windows OS: Windows10 64bit 1703 Linux Controller: RHEL 7.4 group\_vars/windows.yml ansible\_user: Administrator a…

---

## [how for variable in groupvar in ansible](https://forum.ansible.com/t/how-for-variable-in-groupvar-in-ansible/25924)

<div class="topic-metadata">

**Author:** [@Ly\_Thanh](https://forum.ansible.com/u/Ly_Thanh)\
**Replies:** 0\
**Last updated:** [November 4, 2017, 1:58pm UTC](https://forum.ansible.com/t/how-for-variable-in-groupvar-in-ansible/25924 "2017-11-04T13:58:00Z")

</div>

Hi Guys, i have file dev in groupvar as below : container: container1: name1 container2: name2 container3: name3 =\> how i can for it in fluentd ?

---

## [How to use a variable inside of a regex string? (search filter)](https://forum.ansible.com/t/how-to-use-a-variable-inside-of-a-regex-string-search-filter/25920)

<div class="topic-metadata">

**Author:** [@coolcps](https://forum.ansible.com/u/coolcps)\
**Replies:** 2\
**Last updated:** [November 4, 2017, 1:23am UTC](https://forum.ansible.com/t/how-to-use-a-variable-inside-of-a-regex-string-search-filter/25920 "2017-11-04T01:23:35Z")

</div>

It looks like this is working, but I get an error. Does anyone know the proper way to do this? Thanks! - name: configure hostname ios\_config: commands: - ip domain-name {{ domain\_name }} when: not ansible\_…

---

## [Question about partial matching in Ansible 2.2](https://forum.ansible.com/t/question-about-partial-matching-in-ansible-2-2/25875)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.ansible.com/u/Dave)\
**Replies:** 1\
**Last updated:** [November 4, 2017, 1:12am UTC](https://forum.ansible.com/t/question-about-partial-matching-in-ansible-2-2/25875 "2017-11-04T01:12:48Z")

</div>

Is it possible to test for conditions based on partial matches? I’m trying to test for variables that match a specific /24 range and I have the following so far: - name: If the IP address is destined for the .1 subnet..…

---

## [using include](https://forum.ansible.com/t/using-include/25923)

<div class="topic-metadata">

**Author:** [@Laks](https://forum.ansible.com/u/Laks)\
**Replies:** 2\
**Last updated:** [November 3, 2017, 9:34pm UTC](https://forum.ansible.com/t/using-include/25923 "2017-11-03T21:34:46Z")

</div>

Using include option I called another playbook based on the when condition. when executed, i see called playbook executing but skipping the tasks from it. Please help. Thanks, Laks

---

## [Where should I submit documentation issues?](https://forum.ansible.com/t/where-should-i-submit-documentation-issues/25922)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 8:25pm UTC](https://forum.ansible.com/t/where-should-i-submit-documentation-issues/25922 "2017-11-03T20:25:45Z")

</div>

Most of my questions over the past couple weeks could have been answered by more documentation. Since I don’t see a documentation project on github.com/ansible, or a label for it on https://github.com/ansible/awx I figur…

---

## [VMWare based source gets wrong ansible\_host](https://forum.ansible.com/t/vmware-based-source-gets-wrong-ansible-host/25909)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 3\
**Last updated:** [November 3, 2017, 8:24pm UTC](https://forum.ansible.com/t/vmware-based-source-gets-wrong-ansible-host/25909 "2017-11-03T20:24:15Z")

</div>

I have two nics on my vm. One for normal network operations, another dedicated to our SAN. When my VMWare source adds the vm to the inventory, the ansible\_host value is set to the ip of the SAN nic. As is ansible\_ssh\_hos…

---

## [Can we filter inventories using Jinja filters?](https://forum.ansible.com/t/can-we-filter-inventories-using-jinja-filters/25892)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 4\
**Last updated:** [November 3, 2017, 6:35pm UTC](https://forum.ansible.com/t/can-we-filter-inventories-using-jinja-filters/25892 "2017-11-03T18:35:26Z")

</div>

Is it possible to filter inventories and sources using Jinja filters? As in, filters listed here: http://docs.ansible.com/ansible/latest/playbooks\_filters.html When I try to use the regex\_search filter, I get this error…

---

## [F5 BigIP V11 & Ansible 2.4](https://forum.ansible.com/t/f5-bigip-v11-ansible-2-4/25917)

<div class="topic-metadata">

**Author:** [@remy.pouchain](https://forum.ansible.com/u/remy.pouchain)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 4:39pm UTC](https://forum.ansible.com/t/f5-bigip-v11-ansible-2-4/25917 "2017-11-03T16:39:33Z")

</div>

Hi, It seems now impossible to use some module on F5 BigIP since they updated f5-common-python. Now only v12 or greater are supported. API Rest reply 404 because credential are not sent to the API to retrieve a token… …

---

## [useradd with ansible](https://forum.ansible.com/t/useradd-with-ansible/25914)

<div class="topic-metadata">

**Author:** [@Mustafa\_Gokhan\_KURT](https://forum.ansible.com/u/Mustafa_Gokhan_KURT)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 4:37pm UTC](https://forum.ansible.com/t/useradd-with-ansible/25914 "2017-11-03T16:37:14Z")

</div>

Hello, I need ansible playbook to create new user on remote server. Remote server blocked direct root login so I must login first application user and later I must run “useradd” command with sudo. I need playbook.yml a…

---

## [adding vcenter to tower caused hosts displayed with ids](https://forum.ansible.com/t/adding-vcenter-to-tower-caused-hosts-displayed-with-ids/25856)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 2\
**Last updated:** [November 3, 2017, 4:30pm UTC](https://forum.ansible.com/t/adding-vcenter-to-tower-caused-hosts-displayed-with-ids/25856 "2017-11-03T16:30:08Z")

</div>

I added VMWare VCenter credential type to AWX interface and also added source of my VCenter. I can see the vms on my VCenter but all are imported with their name\_id format which i don’t want. How can i tell AWX (Tower) t…

---

## [use fetch module with wild card or best way to grab different name file from several hosts](https://forum.ansible.com/t/use-fetch-module-with-wild-card-or-best-way-to-grab-different-name-file-from-several-hosts/25903)

<div class="topic-metadata">

**Author:** [@Kent\_Younge](https://forum.ansible.com/u/Kent_Younge)\
**Replies:** 5\
**Last updated:** [November 3, 2017, 4:10pm UTC](https://forum.ansible.com/t/use-fetch-module-with-wild-card-or-best-way-to-grab-different-name-file-from-several-hosts/25903 "2017-11-03T16:10:03Z")

</div>

Hello, I have created a log file using ansible an have named the log file with the host name. I need to fetch that file from all my hosts and put it in a directory on the control server. However, it runs fine but does n…

---

## [Looking for review for new module(s) for Keycloak (namely keycloak\_client for now)](https://forum.ansible.com/t/looking-for-review-for-new-module-s-for-keycloak-namely-keycloak-client-for-now/25916)

<div class="topic-metadata">

**Author:** [@Eike\_Frost](https://forum.ansible.com/u/Eike_Frost)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 3:42pm UTC](https://forum.ansible.com/t/looking-for-review-for-new-module-s-for-keycloak-namely-keycloak-client-for-now/25916 "2017-11-03T15:42:20Z")

</div>

Hi, I’m developing some ansible modules for steering Keycloak (http://www.keycloak.org/) via its REST API (http://www.keycloak.org/docs-api/3.3/rest-api/index.html). I have submitted a PR with the first module (https://…

---

## [How pass an array of dictionaries to my custom module elegantly?](https://forum.ansible.com/t/how-pass-an-array-of-dictionaries-to-my-custom-module-elegantly/25906)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 1:24pm UTC](https://forum.ansible.com/t/how-pass-an-array-of-dictionaries-to-my-custom-module-elegantly/25906 "2017-11-03T13:24:02Z")

</div>

I’m not trying to re-invent the “replace” module that Ansible has. I’m trying to write a (my FIRST) custom module to encapsulate the repetitive Linux source build process, namely, run ./configure $CONF\_OPTS run make r…

---

## [How to control \`ignore\_errors\` with a variable](https://forum.ansible.com/t/how-to-control-ignore-errors-with-a-variable/25894)

<div class="topic-metadata">

**Author:** [@Gunther\_Grill](https://forum.ansible.com/u/Gunther_Grill)\
**Replies:** 4\
**Last updated:** [November 3, 2017, 1:20pm UTC](https://forum.ansible.com/t/how-to-control-ignore-errors-with-a-variable/25894 "2017-11-03T13:20:14Z")

</div>

Hi, I already opened an issue for my question but I was advised to come here first. The detailed description is available under https://github.com/ansible/ansible/issues/32384 To sum it up: I cannot manage to make th…

---

## [Using import\_playbook and environment.](https://forum.ansible.com/t/using-import-playbook-and-environment/25912)

<div class="topic-metadata">

**Author:** [@Alex\_Walender](https://forum.ansible.com/u/Alex_Walender)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 12:48pm UTC](https://forum.ansible.com/t/using-import-playbook-and-environment/25912 "2017-11-03T12:48:24Z")

</div>

Imagine following situation: I have a big main.yaml playbook file, where I include roles and import many different other playbooks. I am behind a corporate proxy which I have to include in the main playbook with the en…

---

## [RHEL VM creation from iso](https://forum.ansible.com/t/rhel-vm-creation-from-iso/25911)

<div class="topic-metadata">

**Author:** [@Alastair\_Rogers](https://forum.ansible.com/u/Alastair_Rogers)\
**Replies:** 2\
**Last updated:** [November 3, 2017, 11:56am UTC](https://forum.ansible.com/t/rhel-vm-creation-from-iso/25911 "2017-11-03T11:56:48Z")

</div>

I am currently looking at utilising ansible for our VM creation and initial OS setup. We have VMware vCenter hosting our VM’s and I am comfortable with VM creation with the ansible module vmware\_guest. The difficulty I …

---

## [Execute source inside shell script](https://forum.ansible.com/t/execute-source-inside-shell-script/25900)

<div class="topic-metadata">

**Author:** [@Tejas\_Gadaria1](https://forum.ansible.com/u/Tejas_Gadaria1)\
**Replies:** 2\
**Last updated:** [November 3, 2017, 4:35am UTC](https://forum.ansible.com/t/execute-source-inside-shell-script/25900 "2017-11-03T04:35:42Z")

</div>

Hello All, I have a shell script say ‘test1.sh’, roughly looks like this, I am trying to execute script with ansible, which throws “No such file or directory” error for “source ../Properties/Main.sh” However, the scri…

---

## [tags within included\_tasks do not work?](https://forum.ansible.com/t/tags-within-included-tasks-do-not-work/25910)

<div class="topic-metadata">

**Author:** [@coolcps](https://forum.ansible.com/u/coolcps)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 3:59am UTC](https://forum.ansible.com/t/tags-within-included-tasks-do-not-work/25910 "2017-11-03T03:59:54Z")

</div>

In a playbook I have a file of tasks included, like so: - include\_tasks: uplinks.yml And within that task file I have a task:

---

## [Ansible expect module error](https://forum.ansible.com/t/ansible-expect-module-error/25907)

<div class="topic-metadata">

**Author:** [@Richmond\_Fiko](https://forum.ansible.com/u/Richmond_Fiko)\
**Replies:** 0\
**Last updated:** [November 2, 2017, 8:10pm UTC](https://forum.ansible.com/t/ansible-expect-module-error/25907 "2017-11-02T20:10:52Z")

</div>

Hello, I use Ansible 2.2.1.0 I try to use ansible expect module with a command: expect: command: set password of database responses: Admin Password for db\_name: 'admin' A…

---

## [Fetch remote files, add them to local file](https://forum.ansible.com/t/fetch-remote-files-add-them-to-local-file/25904)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [November 2, 2017, 7:55pm UTC](https://forum.ansible.com/t/fetch-remote-files-add-them-to-local-file/25904 "2017-11-02T19:55:10Z")

</div>

I have the following playbook but have 2 problems: The contents of the file are garbled. Why is that? How can I clear it up? How can I just grab the contents of the file only? {{file\_contents.results.content}} complain…

---

## [command module with squiggly braces not working.](https://forum.ansible.com/t/command-module-with-squiggly-braces-not-working/25905)

<div class="topic-metadata">

**Author:** [@DG11](https://forum.ansible.com/u/DG11)\
**Replies:** 1\
**Last updated:** [November 2, 2017, 6:52pm UTC](https://forum.ansible.com/t/command-module-with-squiggly-braces-not-working/25905 "2017-11-02T18:52:06Z")

</div>

ec2\_group (as of Ansible 2.4) doesn’t support usage of pl-xxxxx (prefix lists) typically employed by VPC endpoints. So I went down the rabbit hole of doing this via a command module. The command works on the prompt. How…

---

## [Support for prefix lists in ec2\_group](https://forum.ansible.com/t/support-for-prefix-lists-in-ec2-group/20159)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 3\
**Last updated:** [November 2, 2017, 6:51pm UTC](https://forum.ansible.com/t/support-for-prefix-lists-in-ec2-group/20159 "2017-11-02T18:51:07Z")

</div>

It looks like you can't specify a prefix list in a security group rule in ec2\_group, which you might want to do if you have egress rules and want to allow access to S3. (To put a finer point on it, \*we\* want to do this…

---

## [Ansible (Problem install PHP)](https://forum.ansible.com/t/ansible-problem-install-php/25891)

<div class="topic-metadata">

**Author:** [@Artur001](https://forum.ansible.com/u/Artur001)\
**Replies:** 8\
**Last updated:** [November 2, 2017, 5:12pm UTC](https://forum.ansible.com/t/ansible-problem-install-php/25891 "2017-11-02T17:12:36Z")

</div>

My main.yml \` Введи- name: add php ppa apt\_repository: repo=‘ppa:ondrej/php’ state=present name: update apt cache apt: update\_cache=yes name: install php requirements for joomla apt: name=php{{ php.version }}-…

---

## [Unable to wildcard a template destination parameter](https://forum.ansible.com/t/unable-to-wildcard-a-template-destination-parameter/25901)

<div class="topic-metadata">

**Author:** [@Tim\_Davidson](https://forum.ansible.com/u/Tim_Davidson)\
**Replies:** 2\
**Last updated:** [November 2, 2017, 4:53pm UTC](https://forum.ansible.com/t/unable-to-wildcard-a-template-destination-parameter/25901 "2017-11-02T16:53:09Z")

</div>

Hello, I’m trying to read some .csv files, then create config files for each of the .csv files, based on a template. Reading the files is not a problem. However, I can’t seem to get the destination parameter to work. I …

---

## [Ansible, Gitlab, Chocolatey & Telegraf - Master Playbook / Windows setup](https://forum.ansible.com/t/ansible-gitlab-chocolatey-telegraf-master-playbook-windows-setup/25895)

<div class="topic-metadata">

**Author:** [@Adam\_Brush](https://forum.ansible.com/u/Adam_Brush)\
**Replies:** 0\
**Last updated:** [November 2, 2017, 9:25am UTC](https://forum.ansible.com/t/ansible-gitlab-chocolatey-telegraf-master-playbook-windows-setup/25895 "2017-11-02T09:25:47Z")

</div>

Hi, I’ve done another noobie guide for a basic Master Playbook setup for a mainly windows based setup. It details: Creating a folder structure (C:\\Ansible\\Repo) Pausinh Download some files from out gitlab using win\_g…

---

## [Ansible 2.4.2 beta2 is ready for testing](https://forum.ansible.com/t/ansible-2-4-2-beta2-is-ready-for-testing/25893)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [November 2, 2017, 12:28am UTC](https://forum.ansible.com/t/ansible-2-4-2-beta2-is-ready-for-testing/25893 "2017-11-02T00:28:24Z")

</div>

Hi all, we're happy to announce that beta2 for 2.4.2 is now available for testing. How do you get it?

---

## [BUG:  This is some weird stuff.  Copy module changing file](https://forum.ansible.com/t/bug-this-is-some-weird-stuff-copy-module-changing-file/25885)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 7\
**Last updated:** [November 1, 2017, 7:47pm UTC](https://forum.ansible.com/t/bug-this-is-some-weird-stuff-copy-module-changing-file/25885 "2017-11-01T19:47:23Z")

</div>

rpm -q ansible ansible-2.4.1.0-1.el7.ans.noarch I was having problems after running one of my playbooks with an unknown module. I narrowed it down to a task in my playbook. Can someone explain this? Seems like a bug. \` …

---

## [Stale Variables in Inventory](https://forum.ansible.com/t/stale-variables-in-inventory/25890)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 2\
**Last updated:** [November 1, 2017, 7:05pm UTC](https://forum.ansible.com/t/stale-variables-in-inventory/25890 "2017-11-01T19:05:43Z")

</div>

I have a custom inventory script that pulls data from my CMDB into awx. I’ve noticed that even if a variable for a host or a group is removed in CMDB (and verified when running the script manually), the variable is not r…

---

## [Bypass awx login page](https://forum.ansible.com/t/bypass-awx-login-page/25889)

<div class="topic-metadata">

**Author:** [@Eric\_Wang](https://forum.ansible.com/u/Eric_Wang)\
**Replies:** 1\
**Last updated:** [November 1, 2017, 6:45pm UTC](https://forum.ansible.com/t/bypass-awx-login-page/25889 "2017-11-01T18:45:22Z")

</div>

Hi Team, If I already know the username and password, is there a way can bypass the login page? Thanks Eric

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

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