# Latest

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

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

**Page:** 677

---

## [Ansible on Windows host with two FQDNs](https://forum.ansible.com/t/ansible-on-windows-host-with-two-fqdns/23901)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 2\
**Last updated:** [March 15, 2017, 2:26pm UTC](https://forum.ansible.com/t/ansible-on-windows-host-with-two-fqdns/23901 "2017-03-15T14:26:32Z")

</div>

Hi, I posted a similar question over on Stack Overflow but without any helpful replies so I thought I’d try this group too… I don’t think it is an Ansible question per se but has arisen from our use of Ansible We have …

---

## [Ansible Windows become\_user per task?](https://forum.ansible.com/t/ansible-windows-become-user-per-task/23857)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 3\
**Last updated:** [March 15, 2017, 2:22pm UTC](https://forum.ansible.com/t/ansible-windows-become-user-per-task/23857 "2017-03-15T14:22:09Z")

</div>

Is there a way to “become\_user” per task on a Windows? name: Install programs (win\_shell) win\_shell: “{{ item.dest }}/{{ item.program }} {{ item.arguments }}” register: cmd when: window\_packages is defined with\_ite…

---

## [Ansible - create limitless amount of instances from one ami](https://forum.ansible.com/t/ansible-create-limitless-amount-of-instances-from-one-ami/23978)

<div class="topic-metadata">

**Author:** [@Jaspis\_Praha](https://forum.ansible.com/u/Jaspis_Praha)\
**Replies:** 0\
**Last updated:** [March 15, 2017, 2:03pm UTC](https://forum.ansible.com/t/ansible-create-limitless-amount-of-instances-from-one-ami/23978 "2017-03-15T14:03:04Z")

</div>

Hi, I created and configured my instance and I woud like to create thousands of the same instances from the original one. I manualy created an image (ami) from my original instance and I would like to use following play…

---

## [Network Modules - dealing with Interactive prompts](https://forum.ansible.com/t/network-modules-dealing-with-interactive-prompts/23930)

<div class="topic-metadata">

**Author:** [@jb795333](https://forum.ansible.com/u/jb795333)\
**Replies:** 4\
**Last updated:** [March 15, 2017, 9:17am UTC](https://forum.ansible.com/t/network-modules-dealing-with-interactive-prompts/23930 "2017-03-15T09:17:02Z")

</div>

Hello, What is the best approach to dealing with interactive commands. I am attempting to use ansible to download a software file to a switch using a “copy scp://admin@1.1.1.1/sw/software\_file flash:software\_file”. I h…

---

## [Add cookie handling to the open\_url method in the urls lib](https://forum.ansible.com/t/add-cookie-handling-to-the-open-url-method-in-the-urls-lib/23974)

<div class="topic-metadata">

**Author:** [@Craig\_Smith](https://forum.ansible.com/u/Craig_Smith)\
**Replies:** 0\
**Last updated:** [March 15, 2017, 5:19am UTC](https://forum.ansible.com/t/add-cookie-handling-to-the-open-url-method-in-the-urls-lib/23974 "2017-03-15T05:19:38Z")

</div>

Hi, I am trying to avoid using a third party http libraries in a module I am building for a system that requires cookie handling. In open\_url’s current implementation I receive the following return code and message: ur…

---

## [Validate variables all at once](https://forum.ansible.com/t/validate-variables-all-at-once/23973)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 11:59pm UTC](https://forum.ansible.com/t/validate-variables-all-at-once/23973 "2017-03-14T23:59:43Z")

</div>

Has anyone ever written a script/playbook that will validate all of the variables in a template are defined in the vars.yml file without having to fail each time a missing one is found? I’d like to figure out a way to kn…

---

## [Ansible Command Module Error](https://forum.ansible.com/t/ansible-command-module-error/23972)

<div class="topic-metadata">

**Author:** [@Shyam\_Yenna](https://forum.ansible.com/u/Shyam_Yenna)\
**Replies:** 2\
**Last updated:** [March 14, 2017, 8:37pm UTC](https://forum.ansible.com/t/ansible-command-module-error/23972 "2017-03-14T20:37:46Z")

</div>

I am encountering issues while trying to execute below task in a playbook. name: Setup OpenDJ command: “setup --cli --propertiesFilePath /tmp/opendjsetup.props --no-prompt” args: chdir: “{{ install\_dir }}/opendj” c…

---

## [Apply Task for one Host](https://forum.ansible.com/t/apply-task-for-one-host/23862)

<div class="topic-metadata">

**Author:** [@Dennis\_Klein](https://forum.ansible.com/u/Dennis_Klein)\
**Replies:** 3\
**Last updated:** [March 14, 2017, 7:22pm UTC](https://forum.ansible.com/t/apply-task-for-one-host/23862 "2017-03-14T19:22:41Z")

</div>

Hello, i’m not sure if i understand the Ansible structure correctly and if Ansible is the best solution for us. Our scenario: We are a webhosting company with about 200 VMs (and counting) with mostly individual website…

---

## [Ansible Tower jobs failing after upgrade - SCM update failed](https://forum.ansible.com/t/ansible-tower-jobs-failing-after-upgrade-scm-update-failed/23970)

<div class="topic-metadata">

**Author:** [@Nicholas\_Chrysandrea](https://forum.ansible.com/u/Nicholas_Chrysandrea)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 6:09pm UTC](https://forum.ansible.com/t/ansible-tower-jobs-failing-after-upgrade-scm-update-failed/23970 "2017-03-14T18:09:10Z")

</div>

Hi, We are running ansible 2.2.1.0 and upgraded tower from 3.0.2 to 3.1.1 After the tower upgrade, when we run a job template, the job fails because the with “SCM Update failed for Ops with ID 46720” The issue I reali…

---

## [Failed to connect to github.com port 443](https://forum.ansible.com/t/failed-to-connect-to-github-com-port-443/23963)

<div class="topic-metadata">

**Author:** [@Pedro\_Ferro](https://forum.ansible.com/u/Pedro_Ferro)\
**Replies:** 1\
**Last updated:** [March 14, 2017, 5:20pm UTC](https://forum.ansible.com/t/failed-to-connect-to-github-com-port-443/23963 "2017-03-14T17:20:53Z")

</div>

Hi, I’m working in a VM, with Ubuntu 14.04, beyond a proxy. If I do this in the terminal I’ve success: \` sudo mkdir -p /usr/lib/ckan/default sudo chown whoami /usr/lib/ckan/default virtualenv --no-site-packages /us…

---

## [Tower jobs failing after upgrade - SCM update failed](https://forum.ansible.com/t/tower-jobs-failing-after-upgrade-scm-update-failed/23967)

<div class="topic-metadata">

**Author:** [@Nicholas\_Chrysandrea](https://forum.ansible.com/u/Nicholas_Chrysandrea)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 2:48pm UTC](https://forum.ansible.com/t/tower-jobs-failing-after-upgrade-scm-update-failed/23967 "2017-03-14T14:48:15Z")

</div>

Hi, We are running ansible 2.2.1.0 and upgraded tower from 3.0.2 to 3.1.1 After the tower upgrade, when we run a job template, the job fails because the with “SCM Update failed for Ops with ID 46720” The issue I reali…

---

## [tmpfs support for docker\_container](https://forum.ansible.com/t/tmpfs-support-for-docker-container/23966)

<div class="topic-metadata">

**Author:** [@Cedric\_Melange](https://forum.ansible.com/u/Cedric_Melange)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 2:01pm UTC](https://forum.ansible.com/t/tmpfs-support-for-docker-container/23966 "2017-03-14T14:01:47Z")

</div>

I added tmpfs support for the docker\_container module. tmpfs mounts temporary writable folders into a container with read-only root file system, which might be needed to run certain applications. (attachments)docker\_co…

---

## [ec2\_vol potential PR - could use some input (aws, boto, ec2\_vol)](https://forum.ansible.com/t/ec2-vol-potential-pr-could-use-some-input-aws-boto-ec2-vol/23950)

<div class="topic-metadata">

**Author:** [@Matthew\_Coltman](https://forum.ansible.com/u/Matthew_Coltman)\
**Replies:** 1\
**Last updated:** [March 14, 2017, 1:56pm UTC](https://forum.ansible.com/t/ec2-vol-potential-pr-could-use-some-input-aws-boto-ec2-vol/23950 "2017-03-14T13:56:23Z")

</div>

(re-posting to the correct list this time :slight\_smile: ) Hey all, This is my first time attempting to contribute here and I’m mainly after a bit of a sanity check. This is the issue I’m looking at: https://github.co…

---

## [Can i provide options for a module via a dict variable ?](https://forum.ansible.com/t/can-i-provide-options-for-a-module-via-a-dict-variable/23965)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 1:55pm UTC](https://forum.ansible.com/t/can-i-provide-options-for-a-module-via-a-dict-variable/23965 "2017-03-14T13:55:51Z")

</div>

Suppose i want to start a docker container and its parameters would differ based on a condition. Something like this: docker\_container: name: typeA image: typeA volumes: a1:a1 a2:a2 when: type == A docker\_contain…

---

## [log\_path and callback plugin](https://forum.ansible.com/t/log-path-and-callback-plugin/23964)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 1\
**Last updated:** [March 14, 2017, 11:50am UTC](https://forum.ansible.com/t/log-path-and-callback-plugin/23964 "2017-03-14T11:50:19Z")

</div>

Hello, I would like to log in a file the output of the display when running a playbook, this is set with the log\_path variable in logs/ansible.log But I would like the output to be dispatch in a logfile whose name woul…

---

## [Unable to union another list to a list variable](https://forum.ansible.com/t/unable-to-union-another-list-to-a-list-variable/23953)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 2\
**Last updated:** [March 14, 2017, 10:08am UTC](https://forum.ansible.com/t/unable-to-union-another-list-to-a-list-variable/23953 "2017-03-14T10:08:21Z")

</div>

I am trying to have a condition on a single item of a ‘with\_items’ list but as i cannot do it directly, i found the following snippet: name: prepare a list of common files that must be copied set\_fact: commonFiles=\[‘…

---

## [haw to create multi branch project in jenkins with ansible](https://forum.ansible.com/t/haw-to-create-multi-branch-project-in-jenkins-with-ansible/23962)

<div class="topic-metadata">

**Author:** [@Maher\_LEMSI](https://forum.ansible.com/u/Maher_LEMSI)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 9:36am UTC](https://forum.ansible.com/t/haw-to-create-multi-branch-project-in-jenkins-with-ansible/23962 "2017-03-14T09:36:40Z")

</div>

I’am trying to create a multi branch project using jenkins-job this is my role: name: creatjob jenkins\_job: name: assembly url: http://localhost:10104 user: "{{ user\_agent }}" password: "{{ pas…

---

## [How to make SSL connection with windows node using certificate validation](https://forum.ansible.com/t/how-to-make-ssl-connection-with-windows-node-using-certificate-validation/23941)

<div class="topic-metadata">

**Author:** [@Paresh\_Pendharkar](https://forum.ansible.com/u/Paresh_Pendharkar)\
**Replies:** 1\
**Last updated:** [March 14, 2017, 9:21am UTC](https://forum.ansible.com/t/how-to-make-ssl-connection-with-windows-node-using-certificate-validation/23941 "2017-03-14T09:21:36Z")

</div>

Hi All, I have below configuration - Ansible - version → 2.1.1.0 on Ubuntu 64 bit Python version → 2.7.12+ I am able to connect with my windows machine with winrm\_server\_cert\_validation=ignore variable set in hosts f…

---

## [I am new  in  ansible and want  to  create  a  playbook  that  stop  /start a full  platform](https://forum.ansible.com/t/i-am-new-in-ansible-and-want-to-create-a-playbook-that-stop-start-a-full-platform/23951)

<div class="topic-metadata">

**Author:** [@Jonay\_Herrera\_y\_Stee](https://forum.ansible.com/u/Jonay_Herrera_y_Stee)\
**Replies:** 1\
**Last updated:** [March 14, 2017, 9:17am UTC](https://forum.ansible.com/t/i-am-new-in-ansible-and-want-to-create-a-playbook-that-stop-start-a-full-platform/23951 "2017-03-14T09:17:03Z")

</div>

Hi, I am new with ansible and will try to automate the whole stop/start procedure of a platform but I don’t know how to start: this is the sequence: stop all client applications on appserver1,appserver2, appserver3,…

---

## [Format changes in Ansible 2.2?](https://forum.ansible.com/t/format-changes-in-ansible-2-2/23952)

<div class="topic-metadata">

**Author:** [@Meik\_Specht](https://forum.ansible.com/u/Meik_Specht)\
**Replies:** 3\
**Last updated:** [March 14, 2017, 9:10am UTC](https://forum.ansible.com/t/format-changes-in-ansible-2-2/23952 "2017-03-14T09:10:09Z")

</div>

I read in a journal (“Linux Magazin” 1/17) that Ansible 2.2 introduces some changes to Playbook formats for the sake of flexibility. I haven’t found any info on that topic in the changelogs, google or that journal thoug…

---

## [\[GSoC idea\] ansible plugin integrating NetJSON DeviceConfiguration](https://forum.ansible.com/t/gsoc-idea-ansible-plugin-integrating-netjson-deviceconfiguration/23961)

<div class="topic-metadata">

**Author:** [@Federico\_Capoano](https://forum.ansible.com/u/Federico_Capoano)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 9:05am UTC](https://forum.ansible.com/t/gsoc-idea-ansible-plugin-integrating-netjson-deviceconfiguration/23961 "2017-03-14T09:05:38Z")

</div>

Hi everyone, OpenWISP has been accepted as a mentoring organization for the Google Summer of Code 2017. We have an interesting project idea that may make it easier to manage the configuration of routers and embedded de…

---

## [\[GSoC idea\] ansible plugin integrating NetJSON DeviceConfiguration](https://forum.ansible.com/t/gsoc-idea-ansible-plugin-integrating-netjson-deviceconfiguration/23960)

<div class="topic-metadata">

**Author:** [@Federico\_Capoano](https://forum.ansible.com/u/Federico_Capoano)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 9:03am UTC](https://forum.ansible.com/t/gsoc-idea-ansible-plugin-integrating-netjson-deviceconfiguration/23960 "2017-03-14T09:03:29Z")

</div>

Hi everyone, OpenWISP has been accepted as a mentoring organization for the Google Summer of Code 2017. We have an interesting project idea that may make it easier to manage the configuration of routers and embedded de…

---

## [Ansible problem](https://forum.ansible.com/t/ansible-problem/23959)

<div class="topic-metadata">

**Author:** [@user28](https://forum.ansible.com/u/user28)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 3:53am UTC](https://forum.ansible.com/t/ansible-problem/23959 "2017-03-14T03:53:39Z")

</div>

hi guys: I use ansible run commadn on remote hosts,but some host was failed on below problem. I can ssh to host1 sucessfully. And i have 20 clients,2 was failed. I had already clean the ssh key 2 times, and re-add ho…

---

## [Exception("Cannot import pyOpenSSL")](https://forum.ansible.com/t/exception-cannot-import-pyopenssl/23958)

<div class="topic-metadata">

**Author:** [@Sumanth\_Reddy](https://forum.ansible.com/u/Sumanth_Reddy)\
**Replies:** 0\
**Last updated:** [March 14, 2017, 1:23am UTC](https://forum.ansible.com/t/exception-cannot-import-pyopenssl/23958 "2017-03-14T01:23:58Z")

</div>

I’m getting the below issue, Can someone please help me? ansible version: 1.9.4 python: 2.6 pyopenssl: 0.10 FAILED =\> Traceback (most recent call last): File “/usr/lib/python2.6/site-packages/ansible/runner/init.py”…

---

## [How to run commands on a host created by add\_host in a role run on localhost](https://forum.ansible.com/t/how-to-run-commands-on-a-host-created-by-add-host-in-a-role-run-on-localhost/23942)

<div class="topic-metadata">

**Author:** [@Zhu\_Wayne](https://forum.ansible.com/u/Zhu_Wayne)\
**Replies:** 1\
**Last updated:** [March 13, 2017, 11:13pm UTC](https://forum.ansible.com/t/how-to-run-commands-on-a-host-created-by-add-host-in-a-role-run-on-localhost/23942 "2017-03-13T23:13:50Z")

</div>

Here is my ansible playbook. I want to use role ec2\_jumphost to create an EC2 instance and format / mount attached EBS volumes. I used add\_host in the role to add the new EC2 instance as a host. How can I run commands in…

---

## [managing devices for lxc containers](https://forum.ansible.com/t/managing-devices-for-lxc-containers/23955)

<div class="topic-metadata">

**Author:** [@Spike1](https://forum.ansible.com/u/Spike1)\
**Replies:** 1\
**Last updated:** [March 13, 2017, 11:11pm UTC](https://forum.ansible.com/t/managing-devices-for-lxc-containers/23955 "2017-03-13T23:11:33Z")

</div>

Hi, is there a way to add more than one device to a container from a variable? I’d like to have something like this defined: lxc\_containers: name: c1 devices: name: eth0 type: nic … name: data type: disk … and…

---

## [private module\_utils](https://forum.ansible.com/t/private-module-utils/23440)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 2\
**Last updated:** [March 13, 2017, 10:23pm UTC](https://forum.ansible.com/t/private-module-utils/23440 "2017-03-13T22:23:38Z")

</div>

For hacking on new modules that will import libraries that are also being hacked on, there doesn’t appear to be a way currently to import. Digging around recently, I saw mentions that with the ziploader addition (which …

---

## [Need help on SSL connection with SSL cert validation](https://forum.ansible.com/t/need-help-on-ssl-connection-with-ssl-cert-validation/23943)

<div class="topic-metadata">

**Author:** [@Paresh\_Pendharkar](https://forum.ansible.com/u/Paresh_Pendharkar)\
**Replies:** 1\
**Last updated:** [March 13, 2017, 10:03pm UTC](https://forum.ansible.com/t/need-help-on-ssl-connection-with-ssl-cert-validation/23943 "2017-03-13T22:03:31Z")

</div>

Hi All, I would like to have SSL connection with my windows machine using SSL cert validation. Currently I am able to connect to Windows machine using winrm\_server\_cert\_validation variable as ignore. Below is the conf…

---

## [kubectl multiple clusters how to best handle inventory.](https://forum.ansible.com/t/kubectl-multiple-clusters-how-to-best-handle-inventory/23956)

<div class="topic-metadata">

**Author:** [@Matt\_Snoby1](https://forum.ansible.com/u/Matt_Snoby1)\
**Replies:** 0\
**Last updated:** [March 13, 2017, 7:58pm UTC](https://forum.ansible.com/t/kubectl-multiple-clusters-how-to-best-handle-inventory/23956 "2017-03-13T19:58:32Z")

</div>

Hi All, I need some suggestions, I have an Ansible project that I use to deploy Kubernetes with KOPS. The inventory file is very simple \[targets\] localhost ansible\_connection=local I also use this project to add addit…

---

## [getting stderr in slack callback plugin](https://forum.ansible.com/t/getting-stderr-in-slack-callback-plugin/23954)

<div class="topic-metadata">

**Author:** [@epiq\_sty](https://forum.ansible.com/u/epiq_sty)\
**Replies:** 0\
**Last updated:** [March 13, 2017, 6:37pm UTC](https://forum.ansible.com/t/getting-stderr-in-slack-callback-plugin/23954 "2017-03-13T18:37:37Z")

</div>

Hello, I am trying to setup notification to slack about failed ansible deploys. I am using slack callback plugin, but it’s show only top level stats, without failure reasons. I have found nice option in http://blog.cl…

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

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