# Latest

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

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

**Page:** 797

---

## [How do I get a module to work with --diff?](https://forum.ansible.com/t/how-do-i-get-a-module-to-work-with-diff/20318)

<div class="topic-metadata">

**Author:** [@Tobias\_Wolf](https://forum.ansible.com/u/Tobias_Wolf)\
**Replies:** 10\
**Last updated:** [February 2, 2016, 4:14pm UTC](https://forum.ansible.com/t/how-do-i-get-a-module-to-work-with-diff/20318 "2016-02-02T16:14:32Z")

</div>

So, I want to get --diff to output something useful when using the synchronize module. As I understand it so far, making a diff for changes entails returning a list of ‘before’ and ‘after’ pairs in result\[‘diff’\]. These…

---

## [Unarchive](https://forum.ansible.com/t/unarchive/20421)

<div class="topic-metadata">

**Author:** [@Graham\_Hay](https://forum.ansible.com/u/Graham_Hay)\
**Replies:** 0\
**Last updated:** [February 2, 2016, 3:31pm UTC](https://forum.ansible.com/t/unarchive/20421 "2016-02-02T15:31:18Z")

</div>

I’m using the unarchive module for deployment. I’d like to take advantage of the diff feature to avoid uploading the tarball, if nothing has changed; but I’m wary of leaving remnants of the previous version (a lesson I’v…

---

## [ansible\_distribution\_major\_version on the CLI](https://forum.ansible.com/t/ansible-distribution-major-version-on-the-cli/20411)

<div class="topic-metadata">

**Author:** [@Reece\_Webb](https://forum.ansible.com/u/Reece_Webb)\
**Replies:** 2\
**Last updated:** [February 2, 2016, 3:24pm UTC](https://forum.ansible.com/t/ansible-distribution-major-version-on-the-cli/20411 "2016-02-02T15:24:35Z")

</div>

Greets, Hopefully this is a ridiculously simple question… I’m trying to put together a one-liner (# ansible all -m copy…) that will copy a file to a linux host only if the OS is a specific version… RHEL7, for example, …

---

## [Ssh connection](https://forum.ansible.com/t/ssh-connection/20417)

<div class="topic-metadata">

**Author:** [@Milet\_Francis](https://forum.ansible.com/u/Milet_Francis)\
**Replies:** 1\
**Last updated:** [February 2, 2016, 3:20pm UTC](https://forum.ansible.com/t/ssh-connection/20417 "2016-02-02T15:20:46Z")

</div>

Hi… I want to establish a ssh connection between 10 servers at the same time.Is it possible to use ansible to automate this process.If not do u have any other option. Regards, Milet

---

## [with\_inventory\_hostname error](https://forum.ansible.com/t/with-inventory-hostname-error/20418)

<div class="topic-metadata">

**Author:** [@Aurel](https://forum.ansible.com/u/Aurel)\
**Replies:** 3\
**Last updated:** [February 2, 2016, 2:49pm UTC](https://forum.ansible.com/t/with-inventory-hostname-error/20418 "2016-02-02T14:49:25Z")

</div>

Hello, The documentation mentions “with\_inventory\_hostname” (http://docs.ansible.com/ansible/playbooks\_loops.html#looping-over-the-inventory) as an attribute for a task : # show all the hosts in the inventory - debug: …

---

## [bigip\_virtual\_server](https://forum.ansible.com/t/bigip-virtual-server/20409)

<div class="topic-metadata">

**Author:** [@Heinrich\_Piard](https://forum.ansible.com/u/Heinrich_Piard)\
**Replies:** 7\
**Last updated:** [February 2, 2016, 1:43pm UTC](https://forum.ansible.com/t/bigip-virtual-server/20409 "2016-02-02T13:43:30Z")

</div>

I managed to use all bigip functionality (adding nodes, pools etc.) via ansible. However, when I try to create a virtual server it is throwing an exception and I am not sure how to resolve it. ansible-playbook playbooks…

---

## [Is it possible to run playbook with wildcard tags](https://forum.ansible.com/t/is-it-possible-to-run-playbook-with-wildcard-tags/20393)

<div class="topic-metadata">

**Author:** [@user46](https://forum.ansible.com/u/user46)\
**Replies:** 4\
**Last updated:** [February 2, 2016, 1:28pm UTC](https://forum.ansible.com/t/is-it-possible-to-run-playbook-with-wildcard-tags/20393 "2016-02-02T13:28:43Z")

</div>

Is it possible to run playbook with wildcard tags ? for example: ansible-playbook … playbook.yml --tags db\_\* which expects db\_\* matches db\_install, db\_configure etc. thanks

---

## [Ansible: apt problem with the colon (packet name)](https://forum.ansible.com/t/ansible-apt-problem-with-the-colon-packet-name/20367)

<div class="topic-metadata">

**Author:** [@AS1](https://forum.ansible.com/u/AS1)\
**Replies:** 3\
**Last updated:** [February 2, 2016, 11:45am UTC](https://forum.ansible.com/t/ansible-apt-problem-with-the-colon-packet-name/20367 "2016-02-02T11:45:23Z")

</div>

Do you guys know whether the colon is supported on packet names with Ansible’s apt module? Currently running ansible 2.0.0.2 and tried numerous different escape character combinations but the error is always same. few …

---

## [Ansible 2.0 installation on Ubuntu](https://forum.ansible.com/t/ansible-2-0-installation-on-ubuntu/20369)

<div class="topic-metadata">

**Author:** [@Yoel](https://forum.ansible.com/u/Yoel)\
**Replies:** 1\
**Last updated:** [February 2, 2016, 8:55am UTC](https://forum.ansible.com/t/ansible-2-0-installation-on-ubuntu/20369 "2016-02-02T08:55:22Z")

</div>

Hi, I’m trying to install ansible 2.0 on an Ubuntu Ubuntu 14.04.3 LTS (trusty) . I’m a little confused I followed the installation guide bellow: $ sudo apt-get install software-properties-common $ sudo apt-add-repos…

---

## [Struggling to make ec2\_vpc Idempotent](https://forum.ansible.com/t/struggling-to-make-ec2-vpc-idempotent/20396)

<div class="topic-metadata">

**Author:** [@Ryan\_Mes](https://forum.ansible.com/u/Ryan_Mes)\
**Replies:** 1\
**Last updated:** [February 2, 2016, 7:12am UTC](https://forum.ansible.com/t/struggling-to-make-ec2-vpc-idempotent/20396 "2016-02-02T07:12:29Z")

</div>

down votefavorite | I am creating a VPC in AWS using Ansible. The following play is run \<br\>- name: create vpc with multi-az subnets\<br\> ec2\_vpc:\<br\> region: "{{ region }}"\<br\> cidr\_block: "{{ vpc\_ci…

---

## [inserting JSON blob into ec2 user\_data](https://forum.ansible.com/t/inserting-json-blob-into-ec2-user-data/20416)

<div class="topic-metadata">

**Author:** [@christopherlove68](https://forum.ansible.com/u/christopherlove68)\
**Replies:** 0\
**Last updated:** [February 2, 2016, 5:01am UTC](https://forum.ansible.com/t/inserting-json-blob-into-ec2-user-data/20416 "2016-02-02T05:01:10Z")

</div>

I’m developing a playbook with Ansible 2.0 where I want to insert a blob of JSON data (read from a file) into the user\_data segment of an EC2 instance. The task looks like this: name: Create Instance local\_action: m…

---

## [Cloudformation module does not read the template file with .json extension](https://forum.ansible.com/t/cloudformation-module-does-not-read-the-template-file-with-json-extension/20410)

<div class="topic-metadata">

**Author:** [@Bhotu](https://forum.ansible.com/u/Bhotu)\
**Replies:** 10\
**Last updated:** [February 1, 2016, 11:10pm UTC](https://forum.ansible.com/t/cloudformation-module-does-not-read-the-template-file-with-json-extension/20410 "2016-02-01T23:10:27Z")

</div>

I am working with the following script and I have got an error. Saying that your file is not found. Although my file is already there. What could be the possible problem ? Script: … cas\_cloud.yml

---

## [galaxy support for fedora 23 as a supported OS config in meta/main.yml](https://forum.ansible.com/t/galaxy-support-for-fedora-23-as-a-supported-os-config-in-meta-main-yml/20412)

<div class="topic-metadata">

**Author:** [@andrewrothstein](https://forum.ansible.com/u/andrewrothstein)\
**Replies:** 0\
**Last updated:** [February 1, 2016, 11:02pm UTC](https://forum.ansible.com/t/galaxy-support-for-fedora-23-as-a-supported-os-config-in-meta-main-yml/20412 "2016-02-01T23:02:41Z")

</div>

the galaxy doesn’t seem to like declaring that my role works on Fedora 23 in meta/main.yml. It’s fine with 22 and 21. Can 23 please be white listed? -Andrew

---

## [Ansible OS provisioning for AIX](https://forum.ansible.com/t/ansible-os-provisioning-for-aix/20403)

<div class="topic-metadata">

**Author:** [@SM1986](https://forum.ansible.com/u/SM1986)\
**Replies:** 6\
**Last updated:** [February 1, 2016, 10:32pm UTC](https://forum.ansible.com/t/ansible-os-provisioning-for-aix/20403 "2016-02-01T22:32:51Z")

</div>

Is there the ability to provision AIX with Ansible. If so, is there any blog/run-through that can walk me through it? Appreciate it, SM

---

## [ERROR! need more than 2 values to unpack while using ansible commands](https://forum.ansible.com/t/error-need-more-than-2-values-to-unpack-while-using-ansible-commands/20408)

<div class="topic-metadata">

**Author:** [@bryan.yu](https://forum.ansible.com/u/bryan.yu)\
**Replies:** 0\
**Last updated:** [February 1, 2016, 6:11pm UTC](https://forum.ansible.com/t/error-need-more-than-2-values-to-unpack-while-using-ansible-commands/20408 "2016-02-01T18:11:13Z")

</div>

Upgraded to Ansible 2.0.0.2 via brew and can’t run any of the core ansible commands on OSX. ansible localhost -m ping -vvvv Using /Users/bryanyu/Projects/data-repo/ansible/ansible.cfg as config file ERROR! need more…

---

## [Transform a json list](https://forum.ansible.com/t/transform-a-json-list/20401)

<div class="topic-metadata">

**Author:** [@Yoel](https://forum.ansible.com/u/Yoel)\
**Replies:** 1\
**Last updated:** [February 1, 2016, 5:36pm UTC](https://forum.ansible.com/t/transform-a-json-list/20401 "2016-02-01T17:36:22Z")

</div>

Hi, my variable contains this Json “grafana\_datasources.json”: \[ { “access”: “proxy”, “basicAuth”: false, “basicAuthPassword”: “”, “basicAuthUser”: “”, “database”: “databaseName”, “id”: 2, “isDefault”: false, …

---

## [ansible --version and pip list](https://forum.ansible.com/t/ansible-version-and-pip-list/20407)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 0\
**Last updated:** [February 1, 2016, 5:31pm UTC](https://forum.ansible.com/t/ansible-version-and-pip-list/20407 "2016-02-01T17:31:19Z")

</div>

Both report ansible 2.0.0.0 no matter what 2.x version I really have installed, 2.0.0.0-1, 2.0.0.2, doesn’t matter. Is this an error with ansible, or an error on the part of the pip packager?

---

## [Can't Reference Array Variables](https://forum.ansible.com/t/cant-reference-array-variables/20406)

<div class="topic-metadata">

**Author:** [@jordantkj](https://forum.ansible.com/u/jordantkj)\
**Replies:** 0\
**Last updated:** [February 1, 2016, 5:27pm UTC](https://forum.ansible.com/t/cant-reference-array-variables/20406 "2016-02-01T17:27:15Z")

</div>

Hi, I am trying to reference elements in the “from” array from using the following Jinja2 structure. What I want to do is create a separate line for each of the “from” terms. firewall: filters: - name: protect-re fa…

---

## [Assemble module - local src file not found](https://forum.ansible.com/t/assemble-module-local-src-file-not-found/20404)

<div class="topic-metadata">

**Author:** [@Arthur\_Francis](https://forum.ansible.com/u/Arthur_Francis)\
**Replies:** 0\
**Last updated:** [February 1, 2016, 4:41pm UTC](https://forum.ansible.com/t/assemble-module-local-src-file-not-found/20404 "2016-02-01T16:41:33Z")

</div>

Hi All, I am experimenting with the Assemble module to join two files together but not having much luck: \`

---

## [Running ansible with inventories where hosts are overlapping](https://forum.ansible.com/t/running-ansible-with-inventories-where-hosts-are-overlapping/20398)

<div class="topic-metadata">

**Author:** [@Ilan\_NG](https://forum.ansible.com/u/Ilan_NG)\
**Replies:** 1\
**Last updated:** [February 1, 2016, 3:17pm UTC](https://forum.ansible.com/t/running-ansible-with-inventories-where-hosts-are-overlapping/20398 "2016-02-01T15:17:05Z")

</div>

Hi, I have several inventories i use for my different environments (test, ci, production, etc.). in my inventory files i use static IP addresses as hosts (this is required, although i’m not sure it matters for my questi…

---

## [Running playbook from a cron jobs fails](https://forum.ansible.com/t/running-playbook-from-a-cron-jobs-fails/20350)

<div class="topic-metadata">

**Author:** [@Uwe\_Kruse](https://forum.ansible.com/u/Uwe_Kruse)\
**Replies:** 4\
**Last updated:** [February 1, 2016, 12:18pm UTC](https://forum.ansible.com/t/running-playbook-from-a-cron-jobs-fails/20350 "2016-02-01T12:18:35Z")

</div>

Hello, i try to run an ansible playbook every day and i use cron. i get the following error: sshpass -p xxxxxxxxx ansible-playbook -i all\_actual\_sp3\_hosts.txt uk\_key.yml --ask-pass -c paramiko Traceback (most recent …

---

## [Creating an ec2 instance with custom secusity group and public ip](https://forum.ansible.com/t/creating-an-ec2-instance-with-custom-secusity-group-and-public-ip/20189)

<div class="topic-metadata">

**Author:** [@Danishka\_Navin](https://forum.ansible.com/u/Danishka_Navin)\
**Replies:** 1\
**Last updated:** [February 1, 2016, 11:17am UTC](https://forum.ansible.com/t/creating-an-ec2-instance-with-custom-secusity-group-and-public-ip/20189 "2016-02-01T11:17:24Z")

</div>

Hi, I was trying to create an ec2 instance with custom secusity group and public ip. But when the instance create, only default security group attached but not custom security groups. And also there is no public IP at …

---

## [Skip or fail in check mode with missing dependencies?](https://forum.ansible.com/t/skip-or-fail-in-check-mode-with-missing-dependencies/20397)

<div class="topic-metadata">

**Author:** [@mattclay](https://forum.ansible.com/u/mattclay)\
**Replies:** 0\
**Last updated:** [February 1, 2016, 10:14am UTC](https://forum.ansible.com/t/skip-or-fail-in-check-mode-with-missing-dependencies/20397 "2016-02-01T10:14:47Z")

</div>

When running in check mode, should a module report skipped or failed if it has dependencies which cannot be satisfied? For example, the apt\_repository module requires python-apt, which it will automatically install, exc…

---

## [Some important features in Ansible that I'd like to see ('creates', 'removes', 'run\_once\_by')](https://forum.ansible.com/t/some-important-features-in-ansible-that-id-like-to-see-creates-removes-run-once-by/20265)

<div class="topic-metadata">

**Author:** [@alexey.vazhnov](https://forum.ansible.com/u/alexey.vazhnov)\
**Replies:** 2\
**Last updated:** [February 1, 2016, 2:30am UTC](https://forum.ansible.com/t/some-important-features-in-ansible-that-id-like-to-see-creates-removes-run-once-by/20265 "2016-02-01T02:30:16Z")

</div>

Hi! I want to suggest a few major and valuable, as I see it, features and invite community to discuss: Add ‘creates’ and ‘removes’ parameters for any task, not only for modules like ‘shell’, as it works now. Add ‘run\_…

---

## [Using the git module with HTTP/S creds](https://forum.ansible.com/t/using-the-git-module-with-http-s-creds/16260)

<div class="topic-metadata">

**Author:** [@JCM](https://forum.ansible.com/u/JCM)\
**Replies:** 2\
**Last updated:** [January 31, 2016, 8:17pm UTC](https://forum.ansible.com/t/using-the-git-module-with-http-s-creds/16260 "2016-01-31T20:17:19Z")

</div>

Hi all - I've hit a blocker when using the git module in combination with Github's token method: https://developer.github.com/guides/managing-deploy-keys/#https-cloning-with-oauth-tokens. This email also outlines an …

---

## [High CPU usage with Ansible 2.0.0.2](https://forum.ansible.com/t/high-cpu-usage-with-ansible-2-0-0-2/20389)

<div class="topic-metadata">

**Author:** [@Budric](https://forum.ansible.com/u/Budric)\
**Replies:** 3\
**Last updated:** [January 31, 2016, 11:15am UTC](https://forum.ansible.com/t/high-cpu-usage-with-ansible-2-0-0-2/20389 "2016-01-31T11:15:51Z")

</div>

Hi, After upgrading to 2.0.0.2 I notice that there are 2 python processes “python /usr/bin/ansible-playbook stress.yml” taking up ~20% of the CPU each on the host machine that ran the playbook. Eating up resources like …

---

## [delegate\_to and with\_items together: only the first item is executed/looped](https://forum.ansible.com/t/delegate-to-and-with-items-together-only-the-first-item-is-executed-looped/20387)

<div class="topic-metadata">

**Author:** [@Henri\_Volotinen](https://forum.ansible.com/u/Henri_Volotinen)\
**Replies:** 2\
**Last updated:** [January 30, 2016, 10:57am UTC](https://forum.ansible.com/t/delegate-to-and-with-items-together-only-the-first-item-is-executed-looped/20387 "2016-01-30T10:57:16Z")

</div>

Hey, I have Ansible version 2.0.0.2 running in OS X. I have noticed that when delegate\_to is used together with with\_items, only the first item in the list is executed and the rest are just ignored (although they show …

---

## [gather tag name about instance](https://forum.ansible.com/t/gather-tag-name-about-instance/20390)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 0\
**Last updated:** [January 29, 2016, 11:40pm UTC](https://forum.ansible.com/t/gather-tag-name-about-instance/20390 "2016-01-29T23:40:32Z")

</div>

Hey, So I want to access the tag name I set at initial ec2 creation to use it as my hostname throughout the server. To set the tag\_name, I use a dictionary / sub\_list as such: \` server\_group\_settings: integ: securit…

---

## [custom action module include\_dir](https://forum.ansible.com/t/custom-action-module-include-dir/20313)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 1\
**Last updated:** [January 29, 2016, 8:33pm UTC](https://forum.ansible.com/t/custom-action-module-include-dir/20313 "2016-01-29T20:33:16Z")

</div>

Hey, I am currently using ansible v1. I have created a custom action module in v1 that is based on include\_vars that loads directory of yaml into an array. And we just started upgrading to ansible v2 So I have to port …

---

## ["Cannot start container" when running docker task](https://forum.ansible.com/t/cannot-start-container-when-running-docker-task/20378)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 2\
**Last updated:** [January 29, 2016, 8:25pm UTC](https://forum.ansible.com/t/cannot-start-container-when-running-docker-task/20378 "2016-01-29T20:25:23Z")

</div>

I occasionally get the following error in some of my docker tasks, which stops ansible-playbook dead: “changed”: true, “failed”: true, “msg”: “Docker API Error: Cannot start container 1117bfd50795c71278d75e6f97ef1a1d67b…

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

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