# Latest

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

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

**Page:** 596

---

## [setting environment](https://forum.ansible.com/t/setting-environment/26371)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 0\
**Last updated:** [December 23, 2017, 4:39am UTC](https://forum.ansible.com/t/setting-environment/26371 "2017-12-23T04:39:44Z")

</div>

I am trying to load the environment variables from multiple files like variable1.yml , variable2.yml,variable3.yml…variable24.yml, this files contains two variables say (ptr\_image and ver\_number: Vsomeversion)…this files…

---

## [docker\_container and etc\_hosts](https://forum.ansible.com/t/docker-container-and-etc-hosts/26370)

<div class="topic-metadata">

**Author:** [@Matt\_Butch](https://forum.ansible.com/u/Matt_Butch)\
**Replies:** 0\
**Last updated:** [December 23, 2017, 2:34am UTC](https://forum.ansible.com/t/docker-container-and-etc-hosts/26370 "2017-12-23T02:34:47Z")

</div>

I have another playbook that sets up a docker container, and now I want to add to the hosts file. Why does this not work? name: Add host entry docker\_container: name: “{{ item }}” etc\_hosts: “{‘server.place.com’: ‘{…

---

## [Run a .json file via command line](https://forum.ansible.com/t/run-a-json-file-via-command-line/26368)

<div class="topic-metadata">

**Author:** [@lpescatore](https://forum.ansible.com/u/lpescatore)\
**Replies:** 3\
**Last updated:** [December 22, 2017, 11:07pm UTC](https://forum.ansible.com/t/run-a-json-file-via-command-line/26368 "2017-12-22T23:07:56Z")

</div>

Hi, I want to start a json (gcloud) file via command line (win 10 pc) in ansible. What I am trying now is: name: run command win\_command: C:\\Windows\\System32\\cmd.exe gcloud auth activate-service-account --key-file=C:\\…

---

## [ec2 exact\_count and stopped instances](https://forum.ansible.com/t/ec2-exact-count-and-stopped-instances/17874)

<div class="topic-metadata">

**Author:** [@Steven\_Ringo](https://forum.ansible.com/u/Steven_Ringo)\
**Replies:** 5\
**Last updated:** [December 22, 2017, 6:57pm UTC](https://forum.ansible.com/t/ec2-exact-count-and-stopped-instances/17874 "2017-12-22T18:57:32Z")

</div>

Hi, Machines that are powered off but match the tags in the EC2 module are not recognised by exact\_count. Consider: A script provisioning an instance with exact\_count of 1 and associated tags is run. When run a secon…

---

## [Basic solution wanted - Start IE url](https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 3\
**Last updated:** [December 22, 2017, 6:16pm UTC](https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319 "2017-12-22T18:16:16Z")

</div>

Hi there, I’ve tried: script module - powershell script win\_command module - start.exe starting iexplore.exe with url Nothing works. I guess the first command doesn’t work because ansible uses another user to start p…

---

## [Imported Playbook does not run](https://forum.ansible.com/t/imported-playbook-does-not-run/26367)

<div class="topic-metadata">

**Author:** [@Marco\_Aurelio](https://forum.ansible.com/u/Marco_Aurelio)\
**Replies:** 6\
**Last updated:** [December 22, 2017, 4:25pm UTC](https://forum.ansible.com/t/imported-playbook-does-not-run/26367 "2017-12-22T16:25:01Z")

</div>

Hi all, Before going to GitHub, I’d like to confirm whether what I’m facing is the correct, expected behavior or not. I have two playbooks, one that clones a git repository to the local machine and one that looks for f…

---

## [unable to install pywinrm on Centos 6.5](https://forum.ansible.com/t/unable-to-install-pywinrm-on-centos-6-5/26183)

<div class="topic-metadata">

**Author:** [@Afroz\_Hussain](https://forum.ansible.com/u/Afroz_Hussain)\
**Replies:** 3\
**Last updated:** [December 22, 2017, 12:34pm UTC](https://forum.ansible.com/t/unable-to-install-pywinrm-on-centos-6-5/26183 "2017-12-22T12:34:05Z")

</div>

Hello everyone, I am facing an issue while installing “pywinrm” for managing my windows host via Ansible, I am getting following errors: Collecting pywinrm Using cached pywinrm-0.2.2-py2.py3-none-any.whl Requirement …

---

## [Difficulties using jump host, ssh demands for password of unexpected user](https://forum.ansible.com/t/difficulties-using-jump-host-ssh-demands-for-password-of-unexpected-user/26369)

<div class="topic-metadata">

**Author:** [@Urs\_Lamprecht](https://forum.ansible.com/u/Urs_Lamprecht)\
**Replies:** 0\
**Last updated:** [December 22, 2017, 9:40am UTC](https://forum.ansible.com/t/difficulties-using-jump-host-ssh-demands-for-password-of-unexpected-user/26369 "2017-12-22T09:40:22Z")

</div>

I took inspiration from the FAQ which describes how to use jump hosts / ssh proxies in combination with ansible playbooks. In order to connect to servers I have to use a syntax like this: ssh myuser@technicaluser@targe…

---

## [s3 Unable to locate credentials](https://forum.ansible.com/t/s3-unable-to-locate-credentials/26363)

<div class="topic-metadata">

**Author:** [@John\_Scancella](https://forum.ansible.com/u/John_Scancella)\
**Replies:** 1\
**Last updated:** [December 22, 2017, 2:45am UTC](https://forum.ansible.com/t/s3-unable-to-locate-credentials/26363 "2017-12-22T02:45:24Z")

</div>

Hello, No matter what I do, I can’t seem to get the aws\_s3 module to work, it keeps complaining that it can’t find credentials. Yet I have them set via my environment variables \` \[jscancella@johns-air chronam-deployme…

---

## [Ansible loop, set different variables](https://forum.ansible.com/t/ansible-loop-set-different-variables/26360)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [December 22, 2017, 2:42am UTC](https://forum.ansible.com/t/ansible-loop-set-different-variables/26360 "2017-12-22T02:42:40Z")

</div>

I need to check if certain paths exists. More than one path may exist on a server: /home/user1/Scripts /home/user2/Scripts /home/user3/Scripts If it exists, I want to define a variable. For user1, variable user1 will…

---

## [s3\_sync exclude parameter does not work with folders](https://forum.ansible.com/t/s3-sync-exclude-parameter-does-not-work-with-folders/26354)

<div class="topic-metadata">

**Author:** [@Erik\_Daritan](https://forum.ansible.com/u/Erik_Daritan)\
**Replies:** 1\
**Last updated:** [December 22, 2017, 12:02am UTC](https://forum.ansible.com/t/s3-sync-exclude-parameter-does-not-work-with-folders/26354 "2017-12-22T00:02:50Z")

</div>

I am trying to use s3\_sync to upload files from local git repository to S3 without the .git directory. I tried the exclude parameter with different variations such as “.git,.git/,.git\*/\*” This is the line that I tested …

---

## [ansible azure storage bug](https://forum.ansible.com/t/ansible-azure-storage-bug/26361)

<div class="topic-metadata">

**Author:** [@Niloofar\_Radafshar](https://forum.ansible.com/u/Niloofar_Radafshar)\
**Replies:** 1\
**Last updated:** [December 21, 2017, 10:12pm UTC](https://forum.ansible.com/t/ansible-azure-storage-bug/26361 "2017-12-21T22:12:51Z")

</div>

Hi, I am using ansible 2.4.2 and azure\_rm\_storageaccount module is throwing an error: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: msrest.exceptions.SerializationErro…

---

## [Feature needed: option to disable syslog logging](https://forum.ansible.com/t/feature-needed-option-to-disable-syslog-logging/26366)

<div class="topic-metadata">

**Author:** [@piotr.karbowski](https://forum.ansible.com/u/piotr.karbowski)\
**Replies:** 1\
**Last updated:** [December 21, 2017, 9:09pm UTC](https://forum.ansible.com/t/feature-needed-option-to-disable-syslog-logging/26366 "2017-12-21T21:09:52Z")

</div>

Hi, Currently ansible will spam syslog with all of the execution logs. Setting no\_log: True in ansible.cfg is too global and disable much more than the syslog. It seems that extending a condition in log function of bas…

---

## [Ansible for windows and Linux](https://forum.ansible.com/t/ansible-for-windows-and-linux/26362)

<div class="topic-metadata">

**Author:** [@Abhilash\_Goud](https://forum.ansible.com/u/Abhilash_Goud)\
**Replies:** 1\
**Last updated:** [December 21, 2017, 8:47pm UTC](https://forum.ansible.com/t/ansible-for-windows-and-linux/26362 "2017-12-21T20:47:31Z")

</div>

Can we install ansible for linux and windows on a single linux machine. We have ansible in linux which supports for ssh connections, so want to check whether i can install winrm also on same machines

---

## [Issue with running Ansible playbook against windows.](https://forum.ansible.com/t/issue-with-running-ansible-playbook-against-windows/26297)

<div class="topic-metadata">

**Author:** [@Alexmil\_Reyes](https://forum.ansible.com/u/Alexmil_Reyes)\
**Replies:** 9\
**Last updated:** [December 21, 2017, 8:23pm UTC](https://forum.ansible.com/t/issue-with-running-ansible-playbook-against-windows/26297 "2017-12-21T20:23:21Z")

</div>

Hi, Thank you in advance to anyone who helps here. So am unable to run playbooks against our windows AWS instances. I was able to perform a win\_ping but when I attempt to run this task on the same instances that I am ab…

---

## [Replace Config](https://forum.ansible.com/t/replace-config/26365)

<div class="topic-metadata">

**Author:** [@Anagha\_Kelkar](https://forum.ansible.com/u/Anagha_Kelkar)\
**Replies:** 0\
**Last updated:** [December 21, 2017, 8:13pm UTC](https://forum.ansible.com/t/replace-config/26365 "2017-12-21T20:13:04Z")

</div>

My customer is using Ansible, Python v2.7 and is trying to replace the config but he is unable to replace the Cisco IOS XR config, he can only merge it Will adding the “replace: config” help? Is it supported? Thanks n…

---

## [Changing credentials between tasks](https://forum.ansible.com/t/changing-credentials-between-tasks/26250)

<div class="topic-metadata">

**Author:** [@Kevin\_Phillips](https://forum.ansible.com/u/Kevin_Phillips)\
**Replies:** 2\
**Last updated:** [December 21, 2017, 4:24pm UTC](https://forum.ansible.com/t/changing-credentials-between-tasks/26250 "2017-12-21T16:24:43Z")

</div>

Hi all. I was redirected here from the Ansible issue tracker on Github. I am having difficulties with a specific use case I’m hoping to get help with. I am trying to find a way to programatically change SSH credentials …

---

## [deploy\_helper and parallel execution](https://forum.ansible.com/t/deploy-helper-and-parallel-execution/26358)

<div class="topic-metadata">

**Author:** [@Frank\_Thilo\_Rohl](https://forum.ansible.com/u/Frank_Thilo_Rohl)\
**Replies:** 0\
**Last updated:** [December 21, 2017, 4:08pm UTC](https://forum.ansible.com/t/deploy-helper-and-parallel-execution/26358 "2017-12-21T16:08:07Z")

</div>

Hi, im using an instance of deploy helper. This creates a subdirectory with a timestamp and then creates a link to this subdirectory. I have seen cases where this link is created to a target which does not exists - onl…

---

## [Ansible startup performance & time spent loading in ConfigManager](https://forum.ansible.com/t/ansible-startup-performance-time-spent-loading-in-configmanager/26356)

<div class="topic-metadata">

**Author:** [@hercules888](https://forum.ansible.com/u/hercules888)\
**Replies:** 2\
**Last updated:** [December 21, 2017, 3:34pm UTC](https://forum.ansible.com/t/ansible-startup-performance-time-spent-loading-in-configmanager/26356 "2017-12-21T15:34:52Z")

</div>

Hi all, I’m using ansible to deploy my home lab. It’s running CentOS 7.4 AArch on a pine64 board, so it has a slow ARM cpu. Executing ansible is slow (10 sec without any playbook), and I started to look where time got…

---

## [Job Isolation and AWX](https://forum.ansible.com/t/job-isolation-and-awx/26348)

<div class="topic-metadata">

**Author:** [@Robin\_Miller](https://forum.ansible.com/u/Robin_Miller)\
**Replies:** 1\
**Last updated:** [December 21, 2017, 3:23pm UTC](https://forum.ansible.com/t/job-isolation-and-awx/26348 "2017-12-21T15:23:43Z")

</div>

I’m confused about the Job Isolation functionality in AWX. The documentation indicates that it should be on by default (https://github.com/ansible/awx/blob/devel/docs/process\_isolation.md), but in practice it seems to be…

---

## [absolute import error for centos 5 environment](https://forum.ansible.com/t/absolute-import-error-for-centos-5-environment/26343)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 2\
**Last updated:** [December 21, 2017, 1:27pm UTC](https://forum.ansible.com/t/absolute-import-error-for-centos-5-environment/26343 "2017-12-21T13:27:55Z")

</div>

Hi, While i am just testing ping adhoc command for my Centos5 environment below is the error i got $ ansible all -i tmp3.txt -m ping -u root -k TESTSRV | FAILED! =\> { “changed”: false, “failed”: true, “module\_stder…

---

## [ansible docker\_service does not support Stacks and Swarms. When will it?](https://forum.ansible.com/t/ansible-docker-service-does-not-support-stacks-and-swarms-when-will-it/26357)

<div class="topic-metadata">

**Author:** [@Jean\_Roux](https://forum.ansible.com/u/Jean_Roux)\
**Replies:** 0\
**Last updated:** [December 21, 2017, 11:47am UTC](https://forum.ansible.com/t/ansible-docker-service-does-not-support-stacks-and-swarms-when-will-it/26357 "2017-12-21T11:47:20Z")

</div>

Does anybody know when Ansible will support stacks and swarms?

---

## [when clause with lookup plugn works for template but not for uri](https://forum.ansible.com/t/when-clause-with-lookup-plugn-works-for-template-but-not-for-uri/26344)

<div class="topic-metadata">

**Author:** [@Mark\_Eisenblatter](https://forum.ansible.com/u/Mark_Eisenblatter)\
**Replies:** 3\
**Last updated:** [December 21, 2017, 8:56am UTC](https://forum.ansible.com/t/when-clause-with-lookup-plugn-works-for-template-but-not-for-uri/26344 "2017-12-21T08:56:51Z")

</div>

hello list, i have a strage problem. \` do we need to readd server to cluster in case of rebuild name: get etcd server set\_fact: etcd\_server: “{{ lookup(‘get\_serverip\_by\_group’, zone, ‘kubernetes\_etcd’, wantlist=Tru…

---

## [using mutiple times same values](https://forum.ansible.com/t/using-mutiple-times-same-values/26338)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 2\
**Last updated:** [December 21, 2017, 4:00am UTC](https://forum.ansible.com/t/using-mutiple-times-same-values/26338 "2017-12-21T04:00:51Z")

</div>

I am trying to create multiple different directory structure using the with\_items and again i need to refer the same directory structure in the other plays in the playbook. for example file: name=/jenkins/data/{{item.…

---

## [module not found when running playbook from awx](https://forum.ansible.com/t/module-not-found-when-running-playbook-from-awx/26353)

<div class="topic-metadata">

**Author:** [@Ben\_Donnaloia](https://forum.ansible.com/u/Ben_Donnaloia)\
**Replies:** 1\
**Last updated:** [December 20, 2017, 10:55pm UTC](https://forum.ansible.com/t/module-not-found-when-running-playbook-from-awx/26353 "2017-12-20T22:55:12Z")

</div>

FATAL: The module ‘testmodule’ was not found in configured module paths When I run the playbook from AWX with verbose=3, I see that it is using the following config file: /var/lib/awx/projects/\_7\_\_ansible\_repo/ansible.…

---

## [Ansible 2.4.3 Beta 2 is ready for testing (was Re: Ansible 2.4.0 RC1 is ready for testing)](https://forum.ansible.com/t/ansible-2-4-3-beta-2-is-ready-for-testing-was-re-ansible-2-4-0-rc1-is-ready-for-testing/26352)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [December 20, 2017, 10:14pm UTC](https://forum.ansible.com/t/ansible-2-4-3-beta-2-is-ready-for-testing-was-re-ansible-2-4-0-rc1-is-ready-for-testing/26352 "2017-12-20T22:14:56Z")

</div>

Sigh, Corrected subject as above :wink:

---

## [Ansible 2.4.0 RC1 is ready for testing](https://forum.ansible.com/t/ansible-2-4-0-rc1-is-ready-for-testing/26351)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [December 20, 2017, 10:06pm UTC](https://forum.ansible.com/t/ansible-2-4-0-rc1-is-ready-for-testing/26351 "2017-12-20T22:06:50Z")

</div>

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

---

## [Ansible 2.3.3 has been released](https://forum.ansible.com/t/ansible-2-3-3-has-been-released/26349)

<div class="topic-metadata">

**Author:** [@jimi](https://forum.ansible.com/u/jimi)\
**Replies:** 0\
**Last updated:** [December 20, 2017, 9:19pm UTC](https://forum.ansible.com/t/ansible-2-3-3-has-been-released/26349 "2017-12-20T21:19:52Z")

</div>

On behalf of the entire Ansible open source community, we are very happy to announce that Ansible 2.3.3 has been released! This release includes many bugfixes to the 2.3 codebase. For full details, please see the Chan…

---

## [Migrating to Ansible](https://forum.ansible.com/t/migrating-to-ansible/26346)

<div class="topic-metadata">

**Author:** [@Justin2](https://forum.ansible.com/u/Justin2)\
**Replies:** 0\
**Last updated:** [December 20, 2017, 8:38pm UTC](https://forum.ansible.com/t/migrating-to-ansible/26346 "2017-12-20T20:38:23Z")

</div>

I wanted to see if anyone had some tips on how to migrate a current production environment to ansible? Currently ~30 servers are running in AWS. A few autoscaling groups that come up from golden ami’s. Ive been playing w…

---

## [get verbosity at runtime](https://forum.ansible.com/t/get-verbosity-at-runtime/26342)

<div class="topic-metadata">

**Author:** [@William\_McKenzie](https://forum.ansible.com/u/William_McKenzie)\
**Replies:** 4\
**Last updated:** [December 20, 2017, 4:58pm UTC](https://forum.ansible.com/t/get-verbosity-at-runtime/26342 "2017-12-20T16:58:13Z")

</div>

Is there a builtin variable that holds the verbosity passed in -vvvv ? I want to suppress output unless it is above a certain level. So, in a task, i’d like to write: no\_log: “{{ verbosity \<= 2 }}” thanks, ~Bill

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

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