# Latest

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

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

**Page:** 730

---

## [Running ansible from python](https://forum.ansible.com/t/running-ansible-from-python/22447)

<div class="topic-metadata">

**Author:** [@ankur.cool](https://forum.ansible.com/u/ankur.cool)\
**Replies:** 0\
**Last updated:** [September 1, 2016, 10:26am UTC](https://forum.ansible.com/t/running-ansible-from-python/22447 "2016-09-01T10:26:39Z")

</div>

Hi I have a need to call ansible from python. I was looking at http://docs.ansible.com/ansible/developing\_api.html#python-api-2-0 but doc doesn’t seem to be very clear. I need to execute a module or a playbook which ev…

---

## [unable to evaluate conditional](https://forum.ansible.com/t/unable-to-evaluate-conditional/22427)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 4\
**Last updated:** [September 1, 2016, 8:55am UTC](https://forum.ansible.com/t/unable-to-evaluate-conditional/22427 "2016-09-01T08:55:26Z")

</div>

Hello, I don’t understand where I am doing wrong in this simple tasks: name: Search for bin directory stat: path: /{{ Directoryname }}/{{ item }}/bin register: previous with\_items: “{{ shr4you\_inst.stdout\_lines }…

---

## [ansible 2.2.0 - ios\_facts module](https://forum.ansible.com/t/ansible-2-2-0-ios-facts-module/22409)

<div class="topic-metadata">

**Author:** [@Rukka\_Pal](https://forum.ansible.com/u/Rukka_Pal)\
**Replies:** 2\
**Last updated:** [September 1, 2016, 7:51am UTC](https://forum.ansible.com/t/ansible-2-2-0-ios-facts-module/22409 "2016-09-01T07:51:14Z")

</div>

I am a newbie and would like to use Ansible to automate network operation tasks, right now I am only interested in fact collection. I have been using the “raw” module which is not very flexible, hence I decided to instal…

---

## [EC2 dynamic inventory: SSH rules](https://forum.ansible.com/t/ec2-dynamic-inventory-ssh-rules/22416)

<div class="topic-metadata">

**Author:** [@Soren\_Olegnowicz](https://forum.ansible.com/u/Soren_Olegnowicz)\
**Replies:** 5\
**Last updated:** [September 1, 2016, 6:30am UTC](https://forum.ansible.com/t/ec2-dynamic-inventory-ssh-rules/22416 "2016-09-01T06:30:31Z")

</div>

Hey guys I need to connect to my ec2 instances in various ways using the ec2.ini provided. Right now my I can only get my ec2.ini to connect to my instances via their private or public IP alone, but I need to connect to …

---

## [Updating existing AWS cloud modules to boto3](https://forum.ansible.com/t/updating-existing-aws-cloud-modules-to-boto3/22441)

<div class="topic-metadata">

**Author:** [@Nick\_Aslanidis](https://forum.ansible.com/u/Nick_Aslanidis)\
**Replies:** 2\
**Last updated:** [September 1, 2016, 3:12am UTC](https://forum.ansible.com/t/updating-existing-aws-cloud-modules-to-boto3/22441 "2016-09-01T03:12:30Z")

</div>

Hi, I’m currently using a lot of extras and core AWS modules and have written a few myself. I’m wondering what is the etiquette for getting older modules using the older API’s (API’s that are no longer developed or supp…

---

## [Missing something with host directory/file paths](https://forum.ansible.com/t/missing-something-with-host-directory-file-paths/22440)

<div class="topic-metadata">

**Author:** [@Jon\_Langemak](https://forum.ansible.com/u/Jon_Langemak)\
**Replies:** 3\
**Last updated:** [September 1, 2016, 1:54am UTC](https://forum.ansible.com/t/missing-something-with-host-directory-file-paths/22440 "2016-09-01T01:54:07Z")

</div>

It’s been awhile since I played with Ansible and right now Im tearing my hair out on this copy problem. Im trying to copy a directory on a Linux host to a new location. In ad-hoc ansible, it looks like this… ansible -m …

---

## [Iterating through a list of names to create EC2 instances](https://forum.ansible.com/t/iterating-through-a-list-of-names-to-create-ec2-instances/13959)

<div class="topic-metadata">

**Author:** [@Renaud\_Guerin](https://forum.ansible.com/u/Renaud_Guerin)\
**Replies:** 14\
**Last updated:** [September 1, 2016, 12:03am UTC](https://forum.ansible.com/t/iterating-through-a-list-of-names-to-create-ec2-instances/13959 "2016-09-01T00:03:32Z")

</div>

Hello, The EC2 module’s docs show how to create several instances at once using the “count” variable, and register the results into another variable (“ec2”). You can then iterate on the created instances and do stuff (…

---

## [How do I pass a password as an argument?](https://forum.ansible.com/t/how-do-i-pass-a-password-as-an-argument/20714)

<div class="topic-metadata">

**Author:** [@Gilberto\_Valentin](https://forum.ansible.com/u/Gilberto_Valentin)\
**Replies:** 8\
**Last updated:** [August 31, 2016, 11:03pm UTC](https://forum.ansible.com/t/how-do-i-pass-a-password-as-an-argument/20714 "2016-08-31T23:03:41Z")

</div>

I have a playbook that installs the appropriate packages for Active Directory Authentication. When it gets to the “join” portion, Ansible just sits there because the join process is asking the user for the password of th…

---

## [yum module not updating package when installing from local file](https://forum.ansible.com/t/yum-module-not-updating-package-when-installing-from-local-file/21689)

<div class="topic-metadata">

**Author:** [@Shay\_Rybak](https://forum.ansible.com/u/Shay_Rybak)\
**Replies:** 6\
**Last updated:** [August 31, 2016, 9:16pm UTC](https://forum.ansible.com/t/yum-module-not-updating-package-when-installing-from-local-file/21689 "2016-08-31T21:16:25Z")

</div>

Hi, I’m trying to build new versions of my code into rpm’s then pushing them and install with ansible. All stages up to the yum install work and I have my new version rpm in the local directory. However when I run the…

---

## [become:yes for local connection: when and how often is sudo called?](https://forum.ansible.com/t/become-yes-for-local-connection-when-and-how-often-is-sudo-called/22438)

<div class="topic-metadata">

**Author:** [@David\_Resnick](https://forum.ansible.com/u/David_Resnick)\
**Replies:** 0\
**Last updated:** [August 31, 2016, 7:11pm UTC](https://forum.ansible.com/t/become-yes-for-local-connection-when-and-how-often-is-sudo-called/22438 "2016-08-31T19:11:44Z")

</div>

Hi, I’m trying to understand when ansible uses sudo in a scenario where a playbook with become:yes is running with a local connection. I have a playbook where I need to change the default execution PATH in sudoers for …

---

## [Can I define my inventory in my playbook directory?](https://forum.ansible.com/t/can-i-define-my-inventory-in-my-playbook-directory/22370)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 5\
**Last updated:** [August 31, 2016, 6:42pm UTC](https://forum.ansible.com/t/can-i-define-my-inventory-in-my-playbook-directory/22370 "2016-08-31T18:42:02Z")

</div>

Management Node: CentOs 6 Ansible 2.1 Remote Node: Windows 7 Powershell 3.0 My playbooks are all saved in /home/username/playbooks. My inventory file is saved as /etc/ansible/hosts. And I also use the…

---

## [Unable to install Ansible on Redhat 6.6 (RHEL) - missing dependency python-six](https://forum.ansible.com/t/unable-to-install-ansible-on-redhat-6-6-rhel-missing-dependency-python-six/22428)

<div class="topic-metadata">

**Author:** [@rbooth](https://forum.ansible.com/u/rbooth)\
**Replies:** 1\
**Last updated:** [August 31, 2016, 5:27pm UTC](https://forum.ansible.com/t/unable-to-install-ansible-on-redhat-6-6-rhel-missing-dependency-python-six/22428 "2016-08-31T17:27:24Z")

</div>

I am unable to install Ansible on Redhat 6.6 (RHEL) due to a missing dependency for python-six. When I try to install python-six, I get this response. “No package python-six available.” These are the steps I use to repli…

---

## [How to automate post deployment activity in Ansible](https://forum.ansible.com/t/how-to-automate-post-deployment-activity-in-ansible/22430)

<div class="topic-metadata">

**Author:** [@vinod\_kumar1](https://forum.ansible.com/u/vinod_kumar1)\
**Replies:** 1\
**Last updated:** [August 31, 2016, 4:49pm UTC](https://forum.ansible.com/t/how-to-automate-post-deployment-activity-in-ansible/22430 "2016-08-31T16:49:40Z")

</div>

Dear All, How to automate post deployment activity in Ansible? We have module URI but only for limited call http://docs.ansible.com/ansible/uri\_module.html. In more details: Want to login into gmail 1.1 Open the htt…

---

## [Work with Jinja/template issue](https://forum.ansible.com/t/work-with-jinja-template-issue/22405)

<div class="topic-metadata">

**Author:** [@lupindeterd](https://forum.ansible.com/u/lupindeterd)\
**Replies:** 1\
**Last updated:** [August 31, 2016, 3:00pm UTC](https://forum.ansible.com/t/work-with-jinja-template-issue/22405 "2016-08-31T15:00:11Z")

</div>

Hi, I want to gather all the NICs and its IP address from facts. So I tried iterating to all interfaces, i.e {% for nic in ansible\_interfaces %} {% set present\_nic = ‘facter\_ipaddress\_%s’ | format( nic ) %} {{ nic }…

---

## [wrong order of variable loading](https://forum.ansible.com/t/wrong-order-of-variable-loading/22431)

<div class="topic-metadata">

**Author:** [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Replies:** 0\
**Last updated:** [August 31, 2016, 1:41pm UTC](https://forum.ansible.com/t/wrong-order-of-variable-loading/22431 "2016-08-31T13:41:52Z")

</div>

Hey, we are experiencing problems related to the variable load order. Anyone having issues with the order again? Would be nice if we get a fix soon since this is critical, there is no workaround available and its diffe…

---

## [ActionModule Update hostvars for specific hosts](https://forum.ansible.com/t/actionmodule-update-hostvars-for-specific-hosts/22350)

<div class="topic-metadata">

**Author:** [@Jim\_Ficarra](https://forum.ansible.com/u/Jim_Ficarra)\
**Replies:** 3\
**Last updated:** [August 31, 2016, 11:32am UTC](https://forum.ansible.com/t/actionmodule-update-hostvars-for-specific-hosts/22350 "2016-08-31T11:32:47Z")

</div>

Hi, I am building an ActionModule (bypassing the host loop) to query an internal REST service that provides bulk metrics for a bunch of hosts at once (for the hosts that are in play). After getting the data back from th…

---

## [display a message at the end of a ansible playbook](https://forum.ansible.com/t/display-a-message-at-the-end-of-a-ansible-playbook/22418)

<div class="topic-metadata">

**Author:** [@synova.marketing](https://forum.ansible.com/u/synova.marketing)\
**Replies:** 1\
**Last updated:** [August 31, 2016, 9:46am UTC](https://forum.ansible.com/t/display-a-message-at-the-end-of-a-ansible-playbook/22418 "2016-08-31T09:46:14Z")

</div>

Hi, Is there a way to display a message on the screen at the end of the script (for example: you can now connect to http://xyz.com/setup.php to finish installation) Best regards

---

## [HowTo: combine two lists in vars section/file](https://forum.ansible.com/t/howto-combine-two-lists-in-vars-section-file/21017)

<div class="topic-metadata">

**Author:** [@Jard\_Leex](https://forum.ansible.com/u/Jard_Leex)\
**Replies:** 5\
**Last updated:** [August 31, 2016, 6:59am UTC](https://forum.ansible.com/t/howto-combine-two-lists-in-vars-section-file/21017 "2016-08-31T06:59:41Z")

</div>

Hello together, i’d like to combine two lists directly in a vars section/file. I’ve tried the combine filter but as i understood it, it is for dicts and not lists. Also the union filter did not worked for me as i trie…

---

## [Always append a '/' to variable whose value is supplied as extra vars](https://forum.ansible.com/t/always-append-a-to-variable-whose-value-is-supplied-as-extra-vars/22411)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 2\
**Last updated:** [August 31, 2016, 6:28am UTC](https://forum.ansible.com/t/always-append-a-to-variable-whose-value-is-supplied-as-extra-vars/22411 "2016-08-31T06:28:43Z")

</div>

I have a variable config\_src which i use in a lot many places (host vars, inventory file, playbook) and its value is supplied at the run time as extra vars (-e) This variable is actually a path variable, so i need to en…

---

## [Issues when using jinja "include" directive](https://forum.ansible.com/t/issues-when-using-jinja-include-directive/22426)

<div class="topic-metadata">

**Author:** [@Filipe\_Felisbino](https://forum.ansible.com/u/Filipe_Felisbino)\
**Replies:** 0\
**Last updated:** [August 30, 2016, 10:25pm UTC](https://forum.ansible.com/t/issues-when-using-jinja-include-directive/22426 "2016-08-30T22:25:51Z")

</div>

Hello I was testing the latest devel version and one of my playbooks stopped working due to TemplateNotFound error on a jinja template. The problem is happening because my template includes another template ( {% include…

---

## [Controlling the STDOUT/STDERR output of plays / suppressing output](https://forum.ansible.com/t/controlling-the-stdout-stderr-output-of-plays-suppressing-output/22400)

<div class="topic-metadata">

**Author:** [@John\_Leo\_Huetter](https://forum.ansible.com/u/John_Leo_Huetter)\
**Replies:** 3\
**Last updated:** [August 30, 2016, 7:50pm UTC](https://forum.ansible.com/t/controlling-the-stdout-stderr-output-of-plays-suppressing-output/22400 "2016-08-30T19:50:22Z")

</div>

Hello, I am getting ready to have our general populace execute patches using Ansible. We are running playbooks with wrapper shell scripts at the moment and do not have Tower evaluated yet. I would like to control what …

---

## [2.2 Feature Freeze and upcoming Schedule](https://forum.ansible.com/t/2-2-feature-freeze-and-upcoming-schedule/22424)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 0\
**Last updated:** [August 30, 2016, 6:46pm UTC](https://forum.ansible.com/t/2-2-feature-freeze-and-upcoming-schedule/22424 "2016-08-30T18:46:01Z")

</div>

All, This is a reminder that Ansible Core 2.2 will be in feature freeze on 05 SEPTEMBER 2016. All Ansible Core features must be frozen, and testing begins at that time. For modules all major features (parameter changes,…

---

## [The differences between callback types?](https://forum.ansible.com/t/the-differences-between-callback-types/22423)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 1\
**Last updated:** [August 30, 2016, 4:28pm UTC](https://forum.ansible.com/t/the-differences-between-callback-types/22423 "2016-08-30T16:28:16Z")

</div>

I have to rework my callback plugin. I noticed there’s a variable called “CALLBACK\_TYPE” and depending on which one you use, you can grab certain values. Where the heck can I find more documentation regarding this?

---

## [Validating performance expectations: 10x overhead on ssh?](https://forum.ansible.com/t/validating-performance-expectations-10x-overhead-on-ssh/22421)

<div class="topic-metadata">

**Author:** [@Chris\_West](https://forum.ansible.com/u/Chris_West)\
**Replies:** 0\
**Last updated:** [August 30, 2016, 12:59pm UTC](https://forum.ansible.com/t/validating-performance-expectations-10x-overhead-on-ssh/22421 "2016-08-30T12:59:51Z")

</div>

Our “go off and do everything” playbook is now taking an uncomfortable number of minutes to run against a single host, even when there are no changes. This feels like a lot to me. I have pipelining and ControlPersist en…

---

## [HOstname always change](https://forum.ansible.com/t/hostname-always-change/22413)

<div class="topic-metadata">

**Author:** [@Pietro\_Leone](https://forum.ansible.com/u/Pietro_Leone)\
**Replies:** 1\
**Last updated:** [August 30, 2016, 7:59am UTC](https://forum.ansible.com/t/hostname-always-change/22413 "2016-08-30T07:59:28Z")

</div>

Hi, I created this playbook:

---

## [How to use the copy mode in python API.](https://forum.ansible.com/t/how-to-use-the-copy-mode-in-python-api/22417)

<div class="topic-metadata">

**Author:** [@PP\_letter](https://forum.ansible.com/u/PP_letter)\
**Replies:** 0\
**Last updated:** [August 30, 2016, 2:30am UTC](https://forum.ansible.com/t/how-to-use-the-copy-mode-in-python-api/22417 "2016-08-30T02:30:29Z")

</div>

\` #!/usr/bin/env python # -\*- coding: UTF-8 -\*- from collections import namedtuple from ansible.parsing.dataloader import DataLoader from ansible.vars import VariableManager from ansible.inventory import Inventory from …

---

## [Configuring AWS EC2 instance after it's created through Ansible](https://forum.ansible.com/t/configuring-aws-ec2-instance-after-its-created-through-ansible/22392)

<div class="topic-metadata">

**Author:** [@Michael\_Ludvig](https://forum.ansible.com/u/Michael_Ludvig)\
**Replies:** 1\
**Last updated:** [August 30, 2016, 1:03am UTC](https://forum.ansible.com/t/configuring-aws-ec2-instance-after-its-created-through-ansible/22392 "2016-08-30T01:03:35Z")

</div>

Hi there I’ve got a play that creates an AWS EC2 instance through a CloudFormation template. After it’s created I would like to configure it - I can use the AWS tools to do that but I prefer to use Ansible to be consist…

---

## [Any tips on how to get started?](https://forum.ansible.com/t/any-tips-on-how-to-get-started/22382)

<div class="topic-metadata">

**Author:** [@Theo\_Vasileiadis](https://forum.ansible.com/u/Theo_Vasileiadis)\
**Replies:** 1\
**Last updated:** [August 29, 2016, 8:45pm UTC](https://forum.ansible.com/t/any-tips-on-how-to-get-started/22382 "2016-08-29T20:45:12Z")

</div>

Hi, I’d like to contribute to Ansible and I’m looking for some guidelines to help me get familiar with the project and start working.

---

## [Random SSH unreachables using delegation in Ansible 2.1.0](https://forum.ansible.com/t/random-ssh-unreachables-using-delegation-in-ansible-2-1-0/22374)

<div class="topic-metadata">

**Author:** [@Soren\_Olegnowicz](https://forum.ansible.com/u/Soren_Olegnowicz)\
**Replies:** 2\
**Last updated:** [August 29, 2016, 8:09pm UTC](https://forum.ansible.com/t/random-ssh-unreachables-using-delegation-in-ansible-2-1-0/22374 "2016-08-29T20:09:04Z")

</div>

So I have a task that delegates a template deployed to one server to a different server. When this task is run on just a single server I get no errors. However if I try running this delegation task on all the servers (16…

---

## [How to install specific version of things?](https://forum.ansible.com/t/how-to-install-specific-version-of-things/22415)

<div class="topic-metadata">

**Author:** [@Cann](https://forum.ansible.com/u/Cann)\
**Replies:** 0\
**Last updated:** [August 29, 2016, 8:01pm UTC](https://forum.ansible.com/t/how-to-install-specific-version-of-things/22415 "2016-08-29T20:01:51Z")

</div>

Hello Everyone, I have a ubuntu 14 server and I simply want to have latest version of php 5 on my machine. I add a PPA repo and I ran following playbook to install my php extensions but my PHP version is keep getting u…

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

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