# Latest

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

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

**Page:** 559

---

## [finding tagged AWS instances](https://forum.ansible.com/t/finding-tagged-aws-instances/27463)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [May 5, 2018, 12:32pm UTC](https://forum.ansible.com/t/finding-tagged-aws-instances/27463 "2018-05-05T12:32:44Z")

</div>

I am going nuts over what seems to be a very simple thing. I am using ec2.py. I want a list of the EC2 instance IDs, but only of instances that are tagged with a particular name and value, e.g. MyTag:MyValue. I know th…

---

## [How to set an environment variable on Linux distro for a user using ansible playbook?](https://forum.ansible.com/t/how-to-set-an-environment-variable-on-linux-distro-for-a-user-using-ansible-playbook/19411)

<div class="topic-metadata">

**Author:** [@Pratik\_Dhandharia](https://forum.ansible.com/u/Pratik_Dhandharia)\
**Replies:** 3\
**Last updated:** [May 5, 2018, 6:50am UTC](https://forum.ansible.com/t/how-to-set-an-environment-variable-on-linux-distro-for-a-user-using-ansible-playbook/19411 "2018-05-05T06:50:28Z")

</div>

Hi All, I need to set some environment variable for all the user who is executing the ansible script. Currently I am doing something like this in the playbook: hosts: all task: name: get path shell: which R reg…

---

## [looking for script to create custom vpc with public and private subnet and deploy rds on private subnet](https://forum.ansible.com/t/looking-for-script-to-create-custom-vpc-with-public-and-private-subnet-and-deploy-rds-on-private-subnet/27446)

<div class="topic-metadata">

**Author:** [@karthick\_selvam](https://forum.ansible.com/u/karthick_selvam)\
**Replies:** 1\
**Last updated:** [May 5, 2018, 4:56am UTC](https://forum.ansible.com/t/looking-for-script-to-create-custom-vpc-with-public-and-private-subnet-and-deploy-rds-on-private-subnet/27446 "2018-05-05T04:56:14Z")

</div>

---

## [ansible playbook become-method not working](https://forum.ansible.com/t/ansible-playbook-become-method-not-working/27277)

<div class="topic-metadata">

**Author:** [@Benny\_Kusman](https://forum.ansible.com/u/Benny_Kusman)\
**Replies:** 1\
**Last updated:** [May 5, 2018, 12:02am UTC](https://forum.ansible.com/t/ansible-playbook-become-method-not-working/27277 "2018-05-05T00:02:10Z")

</div>

Hi, so i got this playbook with this header: \` — #WEBSERVVER hosts: webserver user: ansible become: yes become\_method: su \` when running the playbook via command: \` ansible-playbook -i …/hosts webserver.yml -…

---

## [CLI "choco install rsat" works win\_chocolatey install rsat fails](https://forum.ansible.com/t/cli-choco-install-rsat-works-win-chocolatey-install-rsat-fails/27393)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 14\
**Last updated:** [May 4, 2018, 10:43pm UTC](https://forum.ansible.com/t/cli-choco-install-rsat-works-win-chocolatey-install-rsat-fails/27393 "2018-05-04T22:43:57Z")

</div>

Discussing CLI "choco install rsat" works win\_chocolatey install rsat fails · Issue #39384 · ansible/ansible · GitHub, was told The error indicates it is trying to install an msu (windows update) which doesn’t work ove…

---

## [docker-compose - "FATAL:  role "root" does not exist"](https://forum.ansible.com/t/docker-compose-fatal-role-root-does-not-exist/27450)

<div class="topic-metadata">

**Author:** [@KenJ](https://forum.ansible.com/u/KenJ)\
**Replies:** 3\
**Last updated:** [May 4, 2018, 9:39pm UTC](https://forum.ansible.com/t/docker-compose-fatal-role-root-does-not-exist/27450 "2018-05-04T21:39:03Z")

</div>

Using the attached docker-compose.yml file, running a docker-compose up, I get the following errors over an over again in the logs: postgres | FATAL: role “root” does not exist (attachments)docker-compose.yml (2.56 KB)

---

## [Using Apache 2.4 in front of awx\_web container for https causes issues with websockets](https://forum.ansible.com/t/using-apache-2-4-in-front-of-awx-web-container-for-https-causes-issues-with-websockets/27460)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 0\
**Last updated:** [May 4, 2018, 8:49pm UTC](https://forum.ansible.com/t/using-apache-2-4-in-front-of-awx-web-container-for-https-causes-issues-with-websockets/27460 "2018-05-04T20:49:12Z")

</div>

I have Apache set up as a reverse proxy so that I can use https. Everything but websockets, and anything relying on them, seems to load when I visit the site. Unfortunately, I have had very little luck getting mod\_proxy\_…

---

## [recommended indent style for tasks](https://forum.ansible.com/t/recommended-indent-style-for-tasks/27420)

<div class="topic-metadata">

**Author:** [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Replies:** 1\
**Last updated:** [May 4, 2018, 6:13pm UTC](https://forum.ansible.com/t/recommended-indent-style-for-tasks/27420 "2018-05-04T18:13:40Z")

</div>

I’m modifying an EOL vim ansible plugin for my own use and am wondering about indent style. In the Ansible Intro to Playbooks doc ( http://docs.ansible.com/ansible/latest/user\_guide/playbooks\_intro.html ) there are two s…

---

## [Apache Karaf Output via Ansible](https://forum.ansible.com/t/apache-karaf-output-via-ansible/27456)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 1\
**Last updated:** [May 4, 2018, 5:33pm UTC](https://forum.ansible.com/t/apache-karaf-output-via-ansible/27456 "2018-05-04T17:33:37Z")

</div>

Hi Team, Is there any way to get the output of Karaf through ansible:: If i am executing the below command::- echo encrypt-text abcd | ./client ( I am getting the below output ) 1249 \[sshd-SshClient\[6d78f375\]-nio2-thr…

---

## [Authenticating to the API via Basic Auth](https://forum.ansible.com/t/authenticating-to-the-api-via-basic-auth/27441)

<div class="topic-metadata">

**Author:** [@Matt\_Hickok](https://forum.ansible.com/u/Matt_Hickok)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 4:43pm UTC](https://forum.ansible.com/t/authenticating-to-the-api-via-basic-auth/27441 "2018-05-04T16:43:45Z")

</div>

Hello – I am trying to use the AWX API (v2) but got stuck when trying to authenticate. It looks like the authtoken endpoint was removed and users now being told to use one of the alternate authentication methods, primar…

---

## [Ansible Tower Free Trial - Unlimited Trial with updates included?](https://forum.ansible.com/t/ansible-tower-free-trial-unlimited-trial-with-updates-included/27452)

<div class="topic-metadata">

**Author:** [@lucas.dagostino](https://forum.ansible.com/u/lucas.dagostino)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 4:42pm UTC](https://forum.ansible.com/t/ansible-tower-free-trial-unlimited-trial-with-updates-included/27452 "2018-05-04T16:42:32Z")

</div>

Hi everybody, I have a question regarding Ansible Tower Free Trial. As said on official site, Ansible Free trial (self-support) is a free and timeless version of Ansible Tower. This trial has the feature set of self-su…

---

## [Global fact/variable namespacing idea...](https://forum.ansible.com/t/global-fact-variable-namespacing-idea/27429)

<div class="topic-metadata">

**Author:** [@cevich](https://forum.ansible.com/u/cevich)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 4:25pm UTC](https://forum.ansible.com/t/global-fact-variable-namespacing-idea/27429 "2018-05-04T16:25:00Z")

</div>

It’s kinda old, but these two comments spell the challenge out nicely. It get’s especially hard when you’re using ansible-galaxy and/or have many roles from many different sources. I’ve had that, and related name-collisi…

---

## [ansible replace with\_items prepends the letter 'u'](https://forum.ansible.com/t/ansible-replace-with-items-prepends-the-letter-u/27459)

<div class="topic-metadata">

**Author:** [@expectant.sprite](https://forum.ansible.com/u/expectant.sprite)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 4:09pm UTC](https://forum.ansible.com/t/ansible-replace-with-items-prepends-the-letter-u/27459 "2018-05-04T16:09:15Z")

</div>

I’m trying to use the replace module to update SSL ciphers and seem to be running into a Unicode issue. The code:

---

## [Extract data from task in a variable](https://forum.ansible.com/t/extract-data-from-task-in-a-variable/27457)

<div class="topic-metadata">

**Author:** [@Bubul\_Medhi](https://forum.ansible.com/u/Bubul_Medhi)\
**Replies:** 1\
**Last updated:** [May 4, 2018, 4:07pm UTC](https://forum.ansible.com/t/extract-data-from-task-in-a-variable/27457 "2018-05-04T16:07:26Z")

</div>

Hi, This is a role i wrote which will get the IP addresses of the Hosts and then copy a file from the ansible server to the host server. name: Seeking the host IP address shell: | ifconfig eth0 | grep “inet addr” |…

---

## [ansible hosts file yaml errors DUO authentication](https://forum.ansible.com/t/ansible-hosts-file-yaml-errors-duo-authentication/27458)

<div class="topic-metadata">

**Author:** [@Tedley\_Meralus](https://forum.ansible.com/u/Tedley_Meralus)\
**Replies:** 0\
**Last updated:** [May 4, 2018, 3:00pm UTC](https://forum.ansible.com/t/ansible-hosts-file-yaml-errors-duo-authentication/27458 "2018-05-04T15:00:21Z")

</div>

I added a new group in my hosts file in ansible and now when I try to ping I get this error. $ ansible book01 -m ping \[WARNING\]: \* Failed to parse /etc/ansible/hosts with yaml plugin: Syntax Error while loading YAML. T…

---

## [copying files stuck after 5th attempt](https://forum.ansible.com/t/copying-files-stuck-after-5th-attempt/27454)

<div class="topic-metadata">

**Author:** [@Benny\_L](https://forum.ansible.com/u/Benny_L)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 11:49am UTC](https://forum.ansible.com/t/copying-files-stuck-after-5th-attempt/27454 "2018-05-04T11:49:49Z")

</div>

Hello, I have following Problem on ansible 2.5.0. I try to copy a folder from my ansible-server(debian) to a windows 10 client using winrm. the playbook itself works pefectly. the problem is, that it has to copy to 20 m…

---

## [Infoblox - nios\_host\_record issue](https://forum.ansible.com/t/infoblox-nios-host-record-issue/27455)

<div class="topic-metadata">

**Author:** [@ADB101](https://forum.ansible.com/u/ADB101)\
**Replies:** 1\
**Last updated:** [May 4, 2018, 11:01am UTC](https://forum.ansible.com/t/infoblox-nios-host-record-issue/27455 "2018-05-04T11:01:08Z")

</div>

Hi all, I need to get IPs from an Infoblox server from an Ansible playbook. I am successfully obtaining the next IP address by using the nios\_next\_ip lookup within the correct IP range. I am then using the “nios\_host\_re…

---

## [ImportError: cannot import name callbacks](https://forum.ansible.com/t/importerror-cannot-import-name-callbacks/27453)

<div class="topic-metadata">

**Author:** [@niraj\_pandey](https://forum.ansible.com/u/niraj_pandey)\
**Replies:** 0\
**Last updated:** [May 4, 2018, 9:32am UTC](https://forum.ansible.com/t/importerror-cannot-import-name-callbacks/27453 "2018-05-04T09:32:25Z")

</div>

I am getting the following error while using ansible module in my python script. Traceback (most recent call last): File “./ansible\_playbook.py”, line 2, in from ansible import playbook, callbacks ImportError: canno…

---

## [Is there any open source GUI available for Ansible?](https://forum.ansible.com/t/is-there-any-open-source-gui-available-for-ansible/27437)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 8:09am UTC](https://forum.ansible.com/t/is-there-any-open-source-gui-available-for-ansible/27437 "2018-05-04T08:09:34Z")

</div>

Team, Is there any open source GUI available for Ansible? We have recently implemented Ansible 2.5.0, but the team new to it is not comfortable using CLI. Thank you, Dinesh

---

## [Sending a variable info. to AWX by python](https://forum.ansible.com/t/sending-a-variable-info-to-awx-by-python/27448)

<div class="topic-metadata">

**Author:** [@YK\_K](https://forum.ansible.com/u/YK_K)\
**Replies:** 1\
**Last updated:** [May 4, 2018, 2:02am UTC](https://forum.ansible.com/t/sending-a-variable-info-to-awx-by-python/27448 "2018-05-04T02:02:40Z")

</div>

Hello I send Interface name(variable) to AWX through Python code, and AWX execute a template by receiving the information as extra\_vas. However, the following error is displayed on the AWX UI. Both of these codes fai…

---

## [Ansible Software Baseline - Legacy Projects](https://forum.ansible.com/t/ansible-software-baseline-legacy-projects/27449)

<div class="topic-metadata">

**Author:** [@David\_Stubbersfield](https://forum.ansible.com/u/David_Stubbersfield)\
**Replies:** 0\
**Last updated:** [May 4, 2018, 1:43am UTC](https://forum.ansible.com/t/ansible-software-baseline-legacy-projects/27449 "2018-05-04T01:43:16Z")

</div>

Hi, I stumbled across the Ansible article below which is very relevant to a situation in my workplace; we have a need to configure server hosts in accordance with an approved software baseline (e.g. config.baseline file…

---

## [Triggering AWS Lambda with Cloudwatch Events and/or S3 Events](https://forum.ansible.com/t/triggering-aws-lambda-with-cloudwatch-events-and-or-s3-events/27447)

<div class="topic-metadata">

**Author:** [@pkaeding](https://forum.ansible.com/u/pkaeding)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 10:37pm UTC](https://forum.ansible.com/t/triggering-aws-lambda-with-cloudwatch-events-and-or-s3-events/27447 "2018-05-03T22:37:40Z")

</div>

I’m trying to set up some AWS Lambda jobs, some of which should be triggered by new objects being put in S3, and some of which should be triggered by CloudWatch Events. I’ve successfully created the lambda job, IAM role…

---

## [Copy files with hostname to respective hosts](https://forum.ansible.com/t/copy-files-with-hostname-to-respective-hosts/27436)

<div class="topic-metadata">

**Author:** [@Bubul\_Medhi](https://forum.ansible.com/u/Bubul_Medhi)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 10:05pm UTC](https://forum.ansible.com/t/copy-files-with-hostname-to-respective-hosts/27436 "2018-05-03T22:05:00Z")

</div>

Hi, I have three files, host1.zip, host2.zip, host3.zip which are in the ansible server itself in a directory named “deploy”. And I have to copy the files the respective hosts. host1.zip -----to-----\> host1 host2.zi…

---

## [Ansible 2.6 Release Schedule and Freeze Dates](https://forum.ansible.com/t/ansible-2-6-release-schedule-and-freeze-dates/27445)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 9:47pm UTC](https://forum.ansible.com/t/ansible-2-6-release-schedule-and-freeze-dates/27445 "2018-05-03T21:47:58Z")

</div>

Hi everyone, We’ve finalized the release schedule for the upcoming Ansible 2.6 release. The roadmap contains details and dates for the release. Key dates from the schedule are: 2018-05-17 Core Freeze (Core Engine and…

---

## [Ansible: multiple users to run playbook without sudo access to target machines](https://forum.ansible.com/t/ansible-multiple-users-to-run-playbook-without-sudo-access-to-target-machines/27442)

<div class="topic-metadata">

**Author:** [@Ayad](https://forum.ansible.com/u/Ayad)\
**Replies:** 2\
**Last updated:** [May 3, 2018, 9:45pm UTC](https://forum.ansible.com/t/ansible-multiple-users-to-run-playbook-without-sudo-access-to-target-machines/27442 "2018-05-03T21:45:42Z")

</div>

Hi All i’m trying to give a few users access to an an Ansible server to run playbooks to do Application recycle on a few servers, these users should not have access to the target servers for security reason, so there is…

---

## [Ansible 2.5 virtual cpu and socket not work to gather , as well customvalues](https://forum.ansible.com/t/ansible-2-5-virtual-cpu-and-socket-not-work-to-gather-as-well-customvalues/27443)

<div class="topic-metadata">

**Author:** [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 6:22pm UTC](https://forum.ansible.com/t/ansible-2-5-virtual-cpu-and-socket-not-work-to-gather-as-well-customvalues/27443 "2018-05-03T18:22:01Z")

</div>

1- Same code with customvalue works for me in ansible 2.4 but does not work on ansible 2.5. 2- Ansible 2.5 ony take one option at a time, num\_cpus or cpu\_cores\_per\_sockets Any idea folks I am report this error second t…

---

## [ansible adhoc command did not return](https://forum.ansible.com/t/ansible-adhoc-command-did-not-return/27433)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 4:35pm UTC](https://forum.ansible.com/t/ansible-adhoc-command-did-not-return/27433 "2018-05-03T16:35:24Z")

</div>

Hello folks, This morning I run the following ansible adhoc command to update some of my hosts using ansible 2.5.2: \` ansible host1,host2,host3 -m yum -a “name=‘\*’ state=‘latest’” host2 | SUCCESS =\> { “changed”: fal…

---

## [Does Ansible have any plans to build a separate set of modules for IOS-XE?](https://forum.ansible.com/t/does-ansible-have-any-plans-to-build-a-separate-set-of-modules-for-ios-xe/27415)

<div class="topic-metadata">

**Author:** [@mfish82](https://forum.ansible.com/u/mfish82)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 3:06pm UTC](https://forum.ansible.com/t/does-ansible-have-any-plans-to-build-a-separate-set-of-modules-for-ios-xe/27415 "2018-05-03T15:06:31Z")

</div>

As my team and I have been going through and writing various scripts using Ansible, we have noticed that we encounter quite a few issues where we should be able to use the ios\_XXXX module, but it fails in the IOS-XE envi…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/27440)

<div class="topic-metadata">

**Author:** [@Ruslan\_Dzhumaiev](https://forum.ansible.com/u/Ruslan_Dzhumaiev)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 2:43pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/27440 "2018-05-03T14:43:26Z")

</div>

Ruslan Dzhumaiev +380634341249 Telegram, WhatsApp, Viber

---

## [ansible vmware\_guest customvalues and annotation](https://forum.ansible.com/t/ansible-vmware-guest-customvalues-and-annotation/27439)

<div class="topic-metadata">

**Author:** [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 2:42pm UTC](https://forum.ansible.com/t/ansible-vmware-guest-customvalues-and-annotation/27439 "2018-05-03T14:42:39Z")

</div>

Hello Folks , I upgrade ansible 2.4 to 2.5 but my customvalue option stop working. My annotation attributes already defined in template, and i have the following syntax. I downgrade my ansible 2.4 and annotation start w…

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

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