# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=578

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

**Page:** 579

---

## [Have a script start running at a certain tag and run for every task that follows](https://forum.ansible.com/t/have-a-script-start-running-at-a-certain-tag-and-run-for-every-task-that-follows/21839)

<div class="topic-metadata">

**Author:** [@mgoldsb](https://forum.ansible.com/u/mgoldsb)\
**Replies:** 2\
**Last updated:** [June 23, 2016, 2:19pm UTC](https://forum.ansible.com/t/have-a-script-start-running-at-a-certain-tag-and-run-for-every-task-that-follows/21839 "2016-06-23T14:19:13Z")

</div>

Hi. I’m trying to implement an ad-hoc “restart” functionality in Ansible Tower similar to what is in the core Ansible CLI. My idea is that, if a deployment fails, I can restart it at the tag that it failed at–however, if…

---

## [Run a script with a space in its path?](https://forum.ansible.com/t/run-a-script-with-a-space-in-its-path/21824)

<div class="topic-metadata">

**Author:** [@Kenny\_Evitt](https://forum.ansible.com/u/Kenny_Evitt)\
**Replies:** 5\
**Last updated:** [June 23, 2016, 2:17pm UTC](https://forum.ansible.com/t/run-a-script-with-a-space-in-its-path/21824 "2016-06-23T14:17:50Z")

</div>

I’m trying to run a (PowerShell) script with a path in its name: - name: Run a script script: '"./files/name of a script.ps1" -Param1 {{ variable\_name }}' The above is only the latest attempting at quoting/escaping I…

---

## [Support for Solaris Service Management Facility](https://forum.ansible.com/t/support-for-solaris-service-management-facility/12083)

<div class="topic-metadata">

**Author:** [@Boyd\_Adamson](https://forum.ansible.com/u/Boyd_Adamson)\
**Replies:** 5\
**Last updated:** [June 23, 2016, 10:29am UTC](https://forum.ansible.com/t/support-for-solaris-service-management-facility/12083 "2016-06-23T10:29:37Z")

</div>

I’d like to get support for Solaris’ SMF into the core, but I think there will be some discussion involved as to the implementation strategy. I’ve got a module ready for testing at https://github.com/brontitall/ansible/…

---

## [insert in a specific role .](https://forum.ansible.com/t/insert-in-a-specific-role/21843)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 0\
**Last updated:** [June 23, 2016, 9:38am UTC](https://forum.ansible.com/t/insert-in-a-specific-role/21843 "2016-06-23T09:38:43Z")

</div>

Hello , i have a global playbook that contain some roles , i want to declare variables in a specific role which tag i can use ? thank you in advance .

---

## [Ansible - VMware deploy](https://forum.ansible.com/t/ansible-vmware-deploy/21840)

<div class="topic-metadata">

**Author:** [@Kevin-Ian\_Giermann](https://forum.ansible.com/u/Kevin-Ian_Giermann)\
**Replies:** 0\
**Last updated:** [June 23, 2016, 8:35am UTC](https://forum.ansible.com/t/ansible-vmware-deploy/21840 "2016-06-23T08:35:35Z")

</div>

Hi together, i am new in the world of ansible. We are testing it at our company, if this is the right tool for us. I am searching for a solution for a problem: i would like to deploy a simple VM via ansible on put VMw…

---

## [with\_dict expects a dict...can a dict be too large](https://forum.ansible.com/t/with-dict-expects-a-dict-can-a-dict-be-too-large/21838)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 6\
**Last updated:** [June 23, 2016, 2:24am UTC](https://forum.ansible.com/t/with-dict-expects-a-dict-can-a-dict-be-too-large/21838 "2016-06-23T02:24:45Z")

</div>

I messed up and deleted my first post. Sorry! I think I need another pair of eyes here. I am attempting to run a dict of users through an ipa user-add command, but it fails with the error “with\_dict expects a dict.” I b…

---

## [ec2 host variables lost with refresh\_inventory](https://forum.ansible.com/t/ec2-host-variables-lost-with-refresh-inventory/21796)

<div class="topic-metadata">

**Author:** [@Jeff\_Hardy](https://forum.ansible.com/u/Jeff_Hardy)\
**Replies:** 2\
**Last updated:** [June 23, 2016, 1:26am UTC](https://forum.ansible.com/t/ec2-host-variables-lost-with-refresh-inventory/21796 "2016-06-23T01:26:03Z")

</div>

Hello all, I have been working with a few different patterns for launching and configuring ec2 hosts, first with add\_host, and more recently working with refresh\_inventory. The problem I am having is that all ec2\_ host …

---

## [How to handle variables](https://forum.ansible.com/t/how-to-handle-variables/21825)

<div class="topic-metadata">

**Author:** [@john.shao](https://forum.ansible.com/u/john.shao)\
**Replies:** 1\
**Last updated:** [June 22, 2016, 11:27pm UTC](https://forum.ansible.com/t/how-to-handle-variables/21825 "2016-06-22T23:27:53Z")

</div>

Looking for some help on a variable scenario We have a lot of variables defined in the group\_vars/all file which set the default variable that is used across multiple roles/playbook For each environment, we have an ini…

---

## [Module for managing comment delimited sections in configuration files?](https://forum.ansible.com/t/module-for-managing-comment-delimited-sections-in-configuration-files/21823)

<div class="topic-metadata">

**Author:** [@Alan\_Langford](https://forum.ansible.com/u/Alan_Langford)\
**Replies:** 1\
**Last updated:** [June 22, 2016, 8:10pm UTC](https://forum.ansible.com/t/module-for-managing-comment-delimited-sections-in-configuration-files/21823 "2016-06-22T20:10:19Z")

</div>

I have a couple of situations where there are informal sections in a configuration file that are delimited by comments, and I’d like to update these with Ansible. Is there a module for this? For example, the file some.c…

---

## [Write multiple lines to a file using local\_action](https://forum.ansible.com/t/write-multiple-lines-to-a-file-using-local-action/21836)

<div class="topic-metadata">

**Author:** [@jamesvader13](https://forum.ansible.com/u/jamesvader13)\
**Replies:** 1\
**Last updated:** [June 22, 2016, 7:08pm UTC](https://forum.ansible.com/t/write-multiple-lines-to-a-file-using-local-action/21836 "2016-06-22T19:08:47Z")

</div>

I am using the command: local\_action: copy content=“The installation failed” dest=~/ansible/ansible\_log.txt However, when I do it again: local\_action: copy content=“Contact me for assistance” dest=~/ansible/ansible\_…

---

## [ansible ping failing intermittently "send fds failed\\r\\nlost connection\\n"](https://forum.ansible.com/t/ansible-ping-failing-intermittently-send-fds-failed-r-nlost-connection-n/21675)

<div class="topic-metadata">

**Author:** [@Robert\_Haskins](https://forum.ansible.com/u/Robert_Haskins)\
**Replies:** 7\
**Last updated:** [June 22, 2016, 5:18pm UTC](https://forum.ansible.com/t/ansible-ping-failing-intermittently-send-fds-failed-r-nlost-connection-n/21675 "2016-06-22T17:18:15Z")

</div>

I am having an issue with Ansible ping failing intermittently. My environment is as follows: version: ansible 2.2.0 (devel 643a7ec01d) last updated 2016/06/03 13:22:45 (GMT -400) config settings (changed from defaults):…

---

## [It looks to me as though 127.0.0.1 unreachable!](https://forum.ansible.com/t/it-looks-to-me-as-though-127-0-0-1-unreachable/21827)

<div class="topic-metadata">

**Author:** [@Graham\_Goldstein](https://forum.ansible.com/u/Graham_Goldstein)\
**Replies:** 2\
**Last updated:** [June 22, 2016, 3:13pm UTC](https://forum.ansible.com/t/it-looks-to-me-as-though-127-0-0-1-unreachable/21827 "2016-06-22T15:13:33Z")

</div>

I’ve written quite a few Ansible roles now and feel like I have a good grasp of what’s going on, but recently I’ve come across a strange response to my attempt to run a local shell command. Here’s my complete {{ role }}/…

---

## [Looping over roles ?](https://forum.ansible.com/t/looping-over-roles/13850)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc1](https://forum.ansible.com/u/Michel_Blanc1)\
**Replies:** 13\
**Last updated:** [June 22, 2016, 2:59pm UTC](https://forum.ansible.com/t/looping-over-roles/13850 "2016-06-22T14:59:35Z")

</div>

Fellows, I trying to wrap my head around a simple problem. I have a playbook (role) that installs ruby with rbenv. Actually, it uses ruby.version host/group variable to install the correct ruby version : group\_vars/…

---

## [using JSON files vs YAML for host vars](https://forum.ansible.com/t/using-json-files-vs-yaml-for-host-vars/21832)

<div class="topic-metadata">

**Author:** [@Eric\_Marquez](https://forum.ansible.com/u/Eric_Marquez)\
**Replies:** 2\
**Last updated:** [June 22, 2016, 1:42pm UTC](https://forum.ansible.com/t/using-json-files-vs-yaml-for-host-vars/21832 "2016-06-22T13:42:42Z")

</div>

Is it possible to use a JSON file instead of writing the file as YAML? Will Ansible use the two interchangeable or do you need to provide an additional setting when it’s called from Ansible-play? In my Host Vars file co…

---

## [Jira Module broken?](https://forum.ansible.com/t/jira-module-broken/21829)

<div class="topic-metadata">

**Author:** [@Ivo\_Hechmann](https://forum.ansible.com/u/Ivo_Hechmann)\
**Replies:** 0\
**Last updated:** [June 22, 2016, 10:21am UTC](https://forum.ansible.com/t/jira-module-broken/21829 "2016-06-22T10:21:21Z")

</div>

Hello Team ansible Since updating Ansible to 2.1.0.0, the jira module does not succeed anymore, creating an issue Ends in fatal: \[hostname\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “dictionary update seque…

---

## [Use Ansible to build VMware VSphere ESXi Hosts](https://forum.ansible.com/t/use-ansible-to-build-vmware-vsphere-esxi-hosts/21828)

<div class="topic-metadata">

**Author:** [@Mike\_Barden](https://forum.ansible.com/u/Mike_Barden)\
**Replies:** 0\
**Last updated:** [June 22, 2016, 10:20am UTC](https://forum.ansible.com/t/use-ansible-to-build-vmware-vsphere-esxi-hosts/21828 "2016-06-22T10:20:16Z")

</div>

I have been reading all about Ansible being used to deploy new VM guests from CLI and playbooks etc I understand that layer of automation and the benefits. What I am not sure about is the benefits and whether Ansible c…

---

## [Hello -- I'd like to get involved](https://forum.ansible.com/t/hello-id-like-to-get-involved/21713)

<div class="topic-metadata">

**Author:** [@Tristan\_Marks](https://forum.ansible.com/u/Tristan_Marks)\
**Replies:** 2\
**Last updated:** [June 22, 2016, 5:28am UTC](https://forum.ansible.com/t/hello-id-like-to-get-involved/21713 "2016-06-22T05:28:19Z")

</div>

Hello, My name is Tristan Marks. I’m a Python developer of modest skill who gets called upon to do system administration work quite often (I guess that makes me DevOps more or less) and I’m looking to get involved in an…

---

## [Re-implement tar support using native tarfile module](https://forum.ansible.com/t/re-implement-tar-support-using-native-tarfile-module/21826)

<div class="topic-metadata">

**Author:** [@Usman\_Ehtesham](https://forum.ansible.com/u/Usman_Ehtesham)\
**Replies:** 0\
**Last updated:** [June 22, 2016, 5:25am UTC](https://forum.ansible.com/t/re-implement-tar-support-using-native-tarfile-module/21826 "2016-06-22T05:25:07Z")

</div>

Hello ansible-dev team, Hope you are doing well. Though I do not use ansible, I started looking into the source code and learnt alot on how to deal with certain automation tasks. The ansible team in IRC were also really…

---

## [Create multiple VMware guests with a Playbook?](https://forum.ansible.com/t/create-multiple-vmware-guests-with-a-playbook/20831)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 15\
**Last updated:** [June 22, 2016, 1:30am UTC](https://forum.ansible.com/t/create-multiple-vmware-guests-with-a-playbook/20831 "2016-06-22T01:30:04Z")

</div>

Hi Is it at all possible to create multiple VMware VM’s using an Ansible playbook? Giving each VM a unique name (server1, server2, server3, server4)? I can see anyway of doing this using the following playbooks, as it …

---

## [Bootstrap Ansible Master in EC2 ?](https://forum.ansible.com/t/bootstrap-ansible-master-in-ec2/21822)

<div class="topic-metadata">

**Author:** [@Matthew\_Kettlewell](https://forum.ansible.com/u/Matthew_Kettlewell)\
**Replies:** 1\
**Last updated:** [June 21, 2016, 5:19pm UTC](https://forum.ansible.com/t/bootstrap-ansible-master-in-ec2/21822 "2016-06-21T17:19:21Z")

</div>

Hello - I’ve been trying to wrap my head around the best approach to bootstrapping and provisioning an Ansible master node in ec2, and let it provision the rest of the network from inside ec2 ( vs controlling things fro…

---

## [Unsure how to merge this dict/list into a single dict/list](https://forum.ansible.com/t/unsure-how-to-merge-this-dict-list-into-a-single-dict-list/21816)

<div class="topic-metadata">

**Author:** [@pporada](https://forum.ansible.com/u/pporada)\
**Replies:** 1\
**Last updated:** [June 21, 2016, 3:21pm UTC](https://forum.ansible.com/t/unsure-how-to-merge-this-dict-list-into-a-single-dict-list/21816 "2016-06-21T15:21:36Z")

</div>

\` name: Jinja Example Playbook hosts: localhost connection: local vars\_files: test-role/defaults/container.yml test-role/defaults/container\_env.yml vars: combined\_containers: “{{ (containers + container\_env) | un…

---

## [Weird: Passing variables to roles](https://forum.ansible.com/t/weird-passing-variables-to-roles/21787)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 6\
**Last updated:** [June 21, 2016, 2:46pm UTC](https://forum.ansible.com/t/weird-passing-variables-to-roles/21787 "2016-06-21T14:46:32Z")

</div>

Hi, I have this weird situation where a role doesn’t pick up configured variables, hopefully someone can help me out. This is parts of my playbook: name: Deploy Elasticsearch VMs hosts: localhost tags: deploy vars…

---

## [Ansible raw module & Cisco WLC](https://forum.ansible.com/t/ansible-raw-module-cisco-wlc/21769)

<div class="topic-metadata">

**Author:** [@David\_Vavra](https://forum.ansible.com/u/David_Vavra)\
**Replies:** 6\
**Last updated:** [June 21, 2016, 2:36pm UTC](https://forum.ansible.com/t/ansible-raw-module-cisco-wlc/21769 "2016-06-21T14:36:57Z")

</div>

Hi, have anyone been succesful with at least logging in to Cisco WLC device with Ansible? I’m not able to make it work, most probably because of extra (nonstandard) prompt for User: (Cisco Controller) User: xxxxxxx Pa…

---

## [2.2 Roadmap is Posted for Feedback](https://forum.ansible.com/t/2-2-roadmap-is-posted-for-feedback/21663)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 12\
**Last updated:** [June 21, 2016, 1:22pm UTC](https://forum.ansible.com/t/2-2-roadmap-is-posted-for-feedback/21663 "2016-06-21T13:22:24Z")

</div>

Hello All, Now that 2.1 is out, we’re starting to work on what’s next in Ansible. We’ve done a couple of first passes on what we (Ansible/Red Hat) think we should propose for the next release, but we need your feedback.…

---

## [Include many vars in one go](https://forum.ansible.com/t/include-many-vars-in-one-go/21821)

<div class="topic-metadata">

**Author:** [@James\_Morgan](https://forum.ansible.com/u/James_Morgan)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 9:31am UTC](https://forum.ansible.com/t/include-many-vars-in-one-go/21821 "2016-06-21T09:31:34Z")

</div>

Hi, Is it possible to load many files in one go? In a similar way to the yum module? My issue is that I have ~80 application files that I load from vars. pre\_tasks: name: Load default application config include\_var…

---

## [Create a VM from a virtual disk file (vmdk)](https://forum.ansible.com/t/create-a-vm-from-a-virtual-disk-file-vmdk/21820)

<div class="topic-metadata">

**Author:** [@sterlij1](https://forum.ansible.com/u/sterlij1)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 9:01am UTC](https://forum.ansible.com/t/create-a-vm-from-a-virtual-disk-file-vmdk/21820 "2016-06-21T09:01:33Z")

</div>

Hi All, I’ve been given a vmdk file from a vendor and can successfully create a custom VM using my vsphere client manually by clicking through the ‘custom’ steps and pointing to the vmdk file. In all the ansible docume…

---

## [how to fixed update\_password ?](https://forum.ansible.com/t/how-to-fixed-update-password/21819)

<div class="topic-metadata">

**Author:** [@Daniel\_Lin](https://forum.ansible.com/u/Daniel_Lin)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 4:19am UTC](https://forum.ansible.com/t/how-to-fixed-update-password/21819 "2016-06-21T04:19:51Z")

</div>

\` name: Create Active User user: name: “{{ item }}” uid: “{{ management\_active\_users\[item\].uid | default(omit) }}” comment: “{{ management\_active\_users\[item\].full\_name | default(‘’) }}” createhome: “{{ management…

---

## [path not honored in requirements.yml for 2.1 ?](https://forum.ansible.com/t/path-not-honored-in-requirements-yml-for-2-1/21818)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 3:08am UTC](https://forum.ansible.com/t/path-not-honored-in-requirements-yml-for-2-1/21818 "2016-06-21T03:08:41Z")

</div>

Our requirements.yml had entries of the form: \` src: ansiblebit.oracle-java path: vendor/roles/ name: oracle-java \` But how when running galaxy-install these roles are no longer installed in the specified ./vendor…

---

## [How to fixed update\_password](https://forum.ansible.com/t/how-to-fixed-update-password/21817)

<div class="topic-metadata">

**Author:** [@Daniel\_Lin](https://forum.ansible.com/u/Daniel_Lin)\
**Replies:** 0\
**Last updated:** [June 21, 2016, 3:04am UTC](https://forum.ansible.com/t/how-to-fixed-update-password/21817 "2016-06-21T03:04:42Z")

</div>

I got a problem, I use ansible user module, when i set update\_password: on\_create, it’s not work,still will update\_password everytime, my code is below, and anyone know how to fixed it ? \` name: Create Active User u…

---

## [How do I use a symbolic user for a remote ansible task?](https://forum.ansible.com/t/how-do-i-use-a-symbolic-user-for-a-remote-ansible-task/21797)

<div class="topic-metadata">

**Author:** [@Tim\_Daley](https://forum.ansible.com/u/Tim_Daley)\
**Replies:** 1\
**Last updated:** [June 20, 2016, 8:30pm UTC](https://forum.ansible.com/t/how-do-i-use-a-symbolic-user-for-a-remote-ansible-task/21797 "2016-06-20T20:30:00Z")

</div>

I have the following snippet from my playbook. The hosts: substitutes just fine, but the user: gives "SSH Error: command-line line0: garbage at end of line; “{{ username }}”. Is substitution of the user possible? \` Ent…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=577)

[Next page](https://forum.ansible.com/c/archives/31.md?page=579)
