# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=206

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

**Page:** 207

---

## [ASG Volume tags](https://forum.ansible.com/t/asg-volume-tags/29670)

<div class="topic-metadata">

**Author:** [@James\_Morgan1](https://forum.ansible.com/u/James_Morgan1)\
**Replies:** 2\
**Last updated:** [February 15, 2019, 9:22am UTC](https://forum.ansible.com/t/asg-volume-tags/29670 "2019-02-15T09:22:30Z")

</div>

Hi, Does anybody know how to get tags applied to volumes associated with instances created as part of an ASG? Instances tags are propagated fine, just no way to tag the volumes that I can see Many thanks James

---

## [Parsing var list of dictionaries in json to Powershell - the term convert-fromjson is not recognized.....](https://forum.ansible.com/t/parsing-var-list-of-dictionaries-in-json-to-powershell-the-term-convert-fromjson-is-not-recognized/29687)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 4\
**Last updated:** [February 15, 2019, 9:15am UTC](https://forum.ansible.com/t/parsing-var-list-of-dictionaries-in-json-to-powershell-the-term-convert-fromjson-is-not-recognized/29687 "2019-02-15T09:15:44Z")

</div>

I’m not too sure if this is an issue with how I’m parsing to the PS script… or the PS script accepting the arg in json hence posting here sorry… I have a var that consists of a list of dictionaries. In my play I have a …

---

## [mounting addition disks issue on new instance types](https://forum.ansible.com/t/mounting-addition-disks-issue-on-new-instance-types/29686)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 0\
**Last updated:** [February 14, 2019, 5:55pm UTC](https://forum.ansible.com/t/mounting-addition-disks-issue-on-new-instance-types/29686 "2019-02-14T17:55:06Z")

</div>

the following play work on t2 instances, the issue I am running into is when I try to run it against a t3 instance it fails. it looks like the issue comes from the new instance types are using /dev/nvme0n1p1 for root an…

---

## [With\_filetree module Performance](https://forum.ansible.com/t/with-filetree-module-performance/29683)

<div class="topic-metadata">

**Author:** [@LAKSHMANA\_Kumar](https://forum.ansible.com/u/LAKSHMANA_Kumar)\
**Replies:** 0\
**Last updated:** [February 14, 2019, 4:14pm UTC](https://forum.ansible.com/t/with-filetree-module-performance/29683 "2019-02-14T16:14:03Z")

</div>

I have a template directory with 4 subdirectories and there are 150 files in total. I am using ansible version 2.7.5. With\_filetree modules takes nearly 20 minutes to templating those files. How the performance can be …

---

## [Request your help](https://forum.ansible.com/t/request-your-help/29682)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 0\
**Last updated:** [February 14, 2019, 4:12pm UTC](https://forum.ansible.com/t/request-your-help/29682 "2019-02-14T16:12:38Z")

</div>

Hi All, Request your help, below is the explanation of the issue that i have facing I have 2 task T1 and T1 T1 has to executed on SERVER1 ,2,3 T2 has to be executed only on SERVER1 My Inventory -1 \[ALL\] SERVER1 SE…

---

## [Two variables in one variable](https://forum.ansible.com/t/two-variables-in-one-variable/29681)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [February 14, 2019, 1:59pm UTC](https://forum.ansible.com/t/two-variables-in-one-variable/29681 "2019-02-14T13:59:40Z")

</div>

hi, How to put two variables in one variable please ? I want that my variable get value of two other variables. Exemple: var\_1: {{ var\_2 }} + {{ var\_3 }} or var\_1: {{ var\_2 }}\_{{ var\_3 }} Thank you very much !! …

---

## [Does not run against windows targets anymore](https://forum.ansible.com/t/does-not-run-against-windows-targets-anymore/29665)

<div class="topic-metadata">

**Author:** [@YvanM](https://forum.ansible.com/u/YvanM)\
**Replies:** 7\
**Last updated:** [February 14, 2019, 10:11am UTC](https://forum.ansible.com/t/does-not-run-against-windows-targets-anymore/29665 "2019-02-14T10:11:45Z")

</div>

Hi, I am running Ansible 2.7.6 on Debian testing/sid and regularly run a playbook against Windows 7 desktops. However, I can not connect anymore and receive the following error (see below for a more verbose output): nt…

---

## [Thu 21st Feb - Big PR review for Ansible hackathon](https://forum.ansible.com/t/thu-21st-feb-big-pr-review-for-ansible-hackathon/29680)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 0\
**Last updated:** [February 14, 2019, 10:00am UTC](https://forum.ansible.com/t/thu-21st-feb-big-pr-review-for-ansible-hackathon/29680 "2019-02-14T10:00:07Z")

</div>

Ansible is a very popular project by any metric. Our delightful community contributes numerous Pull Requests (PRs) every month. Unfortunately, the volume of incoming PRs means contributors often have to wait days, weeks,…

---

## [select one and two caracter of variable](https://forum.ansible.com/t/select-one-and-two-caracter-of-variable/29666)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 3\
**Last updated:** [February 14, 2019, 9:33am UTC](https://forum.ansible.com/t/select-one-and-two-caracter-of-variable/29666 "2019-02-14T09:33:19Z")

</div>

Hi all, I don’t now why this task not works: set\_fact: my\_variable: “{{ ansible\_user\[0 and 1\] + ‘gis’ if ansible\_user!=‘wildfly’ else ‘wildfly’ }}” But ansible\_user\[0\] + ansible\_user\[1\] works but i want one syntaxe …

---

## [lookup inside another dictionary](https://forum.ansible.com/t/lookup-inside-another-dictionary/29678)

<div class="topic-metadata">

**Author:** [@Reza\_Azimi](https://forum.ansible.com/u/Reza_Azimi)\
**Replies:** 0\
**Last updated:** [February 14, 2019, 4:30am UTC](https://forum.ansible.com/t/lookup-inside-another-dictionary/29678 "2019-02-14T04:30:33Z")

</div>

Hi, I have this playbook:

---

## [Ansible plugin and Number of parallel processes](https://forum.ansible.com/t/ansible-plugin-and-number-of-parallel-processes/29674)

<div class="topic-metadata">

**Author:** [@eric.dunn](https://forum.ansible.com/u/eric.dunn)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 8:34pm UTC](https://forum.ansible.com/t/ansible-plugin-and-number-of-parallel-processes/29674 "2019-02-13T20:34:59Z")

</div>

I’m using Jenkins with the ansible plugin. https://plugins.jenkins.io/ansible I’m trying to figure out why an ansible project run in Jenkins on 20 hosts is slower than running ansible on the command line. I tried the …

---

## [Ansible - write only specific output](https://forum.ansible.com/t/ansible-write-only-specific-output/29667)

<div class="topic-metadata">

**Author:** [@DM11](https://forum.ansible.com/u/DM11)\
**Replies:** 6\
**Last updated:** [February 13, 2019, 6:37pm UTC](https://forum.ansible.com/t/ansible-write-only-specific-output/29667 "2019-02-13T18:37:44Z")

</div>

How do you write to a file the output of a yaml? If possible, how do you only write to a file specific info if? Thanks

---

## [using json\_query against integers?](https://forum.ansible.com/t/using-json-query-against-integers/29673)

<div class="topic-metadata">

**Author:** [@Justin\_DynamicD](https://forum.ansible.com/u/Justin_DynamicD)\
**Replies:** 2\
**Last updated:** [February 13, 2019, 5:47pm UTC](https://forum.ansible.com/t/using-json-query-against-integers/29673 "2019-02-13T17:47:39Z")

</div>

Ill let a fast sample bit of code do the talking: \`

---

## [date module is not working as expected](https://forum.ansible.com/t/date-module-is-not-working-as-expected/29671)

<div class="topic-metadata">

**Author:** [@vinod93pop](https://forum.ansible.com/u/vinod93pop)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 4:08pm UTC](https://forum.ansible.com/t/date-module-is-not-working-as-expected/29671 "2019-02-13T16:08:02Z")

</div>

HI team, I have a below playbook, where it works fine if I enter dates manually in vars. but it fails when passing through register. tried max possibilities. need your help hosts: one become: true tasks: shell: " d…

---

## [ansible loop iteration on result](https://forum.ansible.com/t/ansible-loop-iteration-on-result/29654)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 1\
**Last updated:** [February 13, 2019, 3:33pm UTC](https://forum.ansible.com/t/ansible-loop-iteration-on-result/29654 "2019-02-13T15:33:06Z")

</div>

Hello All, I am trying to get ip address from ec2\_fact. So I have lists of tags. on the basis of tags, i am searching the ec2 using the ec2\_fact module and storing the result in the register variable. I am trying to g…

---

## [How to pass variable of in memory inventory to next plays using hostvars](https://forum.ansible.com/t/how-to-pass-variable-of-in-memory-inventory-to-next-plays-using-hostvars/29668)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 2:46pm UTC](https://forum.ansible.com/t/how-to-pass-variable-of-in-memory-inventory-to-next-plays-using-hostvars/29668 "2019-02-13T14:46:18Z")

</div>

How to pass variable of in memory inventory to following next plays using hostvars. “nfs\_server” variable to be passed from play 2 to play 3 and these plays are using in-memory inventories. Play:1 add\_host: name: “{…

---

## [Version Control playbooks and tasks](https://forum.ansible.com/t/version-control-playbooks-and-tasks/29663)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 1\
**Last updated:** [February 13, 2019, 12:48am UTC](https://forum.ansible.com/t/version-control-playbooks-and-tasks/29663 "2019-02-13T00:48:22Z")

</div>

Hi I would like to implement version control on my playbooks and on my task plays. What version control is recommended? I have heard of using git, however I have never used git before. Does anyone have experience with u…

---

## [Hosts with multiple users.](https://forum.ansible.com/t/hosts-with-multiple-users/29662)

<div class="topic-metadata">

**Author:** [@Eduardo\_Nunes\_Pereir](https://forum.ansible.com/u/Eduardo_Nunes_Pereir)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 11:04pm UTC](https://forum.ansible.com/t/hosts-with-multiple-users/29662 "2019-02-12T23:04:43Z")

</div>

Someone could help me with this case where I have multiple hosts and for these hosts I do not know which exact user but I have a list with some possible possible users. inside the hosts file I create the group: vars but …

---

## [win\_environment - setting variable to value starting with %](https://forum.ansible.com/t/win-environment-setting-variable-to-value-starting-with/29656)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 9:21pm UTC](https://forum.ansible.com/t/win-environment-setting-variable-to-value-starting-with/29656 "2019-02-12T21:21:43Z")

</div>

Hi I am trying to set some environment variables to make the value start with %, and I am getting errors. For example, if I wanted to set the TEMP environment to c:\\temp and then I want to set the PATH environment var…

---

## [problem: changing account password with ansible on aix](https://forum.ansible.com/t/problem-changing-account-password-with-ansible-on-aix/29661)

<div class="topic-metadata">

**Author:** [@jzmendo](https://forum.ansible.com/u/jzmendo)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 8:49pm UTC](https://forum.ansible.com/t/problem-changing-account-password-with-ansible-on-aix/29661 "2019-02-12T20:49:34Z")

</div>

Hi. i run my playbook to change user account password but this dont work , not change the password. iam using aix 6 and 7. this same playbook work fine on Linux. this is my simple playbook to change password on a user…

---

## [stop or start application ?](https://forum.ansible.com/t/stop-or-start-application/29648)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 5\
**Last updated:** [February 12, 2019, 6:32pm UTC](https://forum.ansible.com/t/stop-or-start-application/29648 "2019-02-12T18:32:32Z")

</div>

Hello, How to stop or start not a service but an application. This command works but I would like an “ansible syntax” : - name: “stop my application” command: home/ …/ …/my\_application stop This command works but i …

---

## [\--skip-tags equivalent inside playbooks](https://forum.ansible.com/t/skip-tags-equivalent-inside-playbooks/15625)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 23\
**Last updated:** [February 12, 2019, 5:37pm UTC](https://forum.ansible.com/t/skip-tags-equivalent-inside-playbooks/15625 "2019-02-12T17:37:35Z")

</div>

Hi everybody, http://docs.ansible.com/playbooks\_tags.html mentions several ways to use tags, one of which is: { role: A, tags: \[t1, t2\] } however cli interface allows for inversion via --skip-tags (which is great BTW…

---

## [Use Ansible jinja2 filter reject in stdout\_lines](https://forum.ansible.com/t/use-ansible-jinja2-filter-reject-in-stdout-lines/29660)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 5:35pm UTC](https://forum.ansible.com/t/use-ansible-jinja2-filter-reject-in-stdout-lines/29660 "2019-02-12T17:35:08Z")

</div>

I need to reject “" from stdout lines. all values from stdout\_lines except "” symbol to be saved to “nfs\_clients” variable "stdout\_lines": \[ "rchinnn01", "rchinnn02", "\*" \] - set\_fact…

---

## [Ansible Tower / AWX and project using roles/requirements.yml](https://forum.ansible.com/t/ansible-tower-awx-and-project-using-roles-requirements-yml/29655)

<div class="topic-metadata">

**Author:** [@ajfogg](https://forum.ansible.com/u/ajfogg)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 5:19pm UTC](https://forum.ansible.com/t/ansible-tower-awx-and-project-using-roles-requirements-yml/29655 "2019-02-12T17:19:04Z")

</div>

Hi all, I’m trying to figure out a development strategy for my team and how we produce our Ansible output. We are using Ansible Tower (v3.3.1 but moving to v3.4.1 shortly) and an instance of Github Enterprise to hold o…

---

## [ansible variable conditional tcheck](https://forum.ansible.com/t/ansible-variable-conditional-tcheck/29659)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 5:13pm UTC](https://forum.ansible.com/t/ansible-variable-conditional-tcheck/29659 "2019-02-12T17:13:31Z")

</div>

Hi, I have a new problem, When i want test exemple: debug: msg: “ca fonctionne” when: ansible\_user\[5\] == true it don’t works. I want show this message “ca fonctionne” when ansible\_user\[5\] exist So when ansible\_us…

---

## [problem meta: end\_play  with when conditional](https://forum.ansible.com/t/problem-meta-end-play-with-when-conditional/29658)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 5\
**Last updated:** [February 12, 2019, 5:00pm UTC](https://forum.ansible.com/t/problem-meta-end-play-with-when-conditional/29658 "2019-02-12T17:00:54Z")

</div>

Hi all, I have a problem, i think there is a bug in ansible 2.8.0 but when i run this task : pause: prompt: “Voulez-vous effectuer ce deploiement ? (o/n)” register: response debug: msg: “deploiement effectue” …

---

## [Prompt in ansible](https://forum.ansible.com/t/prompt-in-ansible/29657)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 3:58pm UTC](https://forum.ansible.com/t/prompt-in-ansible/29657 "2019-02-12T15:58:09Z")

</div>

Hi all, Why when i use prompt in playbook.yml it’s works but not in /roles/tasks/main.yml ?? - vars\_prompt: - name: reponse prompt: “Voulez-vous effectuer ce deploiement ? (o/n)” When i use prompt in my main playboo…

---

## [Ansible - save config - Small business SG 500](https://forum.ansible.com/t/ansible-save-config-small-business-sg-500/29544)

<div class="topic-metadata">

**Author:** [@Jean\_berjonneau](https://forum.ansible.com/u/Jean_berjonneau)\
**Replies:** 4\
**Last updated:** [February 12, 2019, 1:18pm UTC](https://forum.ansible.com/t/ansible-save-config-small-business-sg-500/29544 "2019-02-12T13:18:12Z")

</div>

Ansible version = 2.7.5 Hello all, I am using Ansible to save configurations of all my switches but they are CISCO small businesses. I am curently using a playbook like this : \`

---

## [PLAY RECAP -- Status](https://forum.ansible.com/t/play-recap-status/29651)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic](https://forum.ansible.com/u/Juraj_Papic)\
**Replies:** 7\
**Last updated:** [February 12, 2019, 11:32am UTC](https://forum.ansible.com/t/play-recap-status/29651 "2019-02-12T11:32:58Z")

</div>

Hi all, I need to execute a script every time PLAY RECAP failed=1, how can I configure my Ansible Playbook to do this? Thanks.

---

## [How can I pass extra variables to a shell script in my playbooks](https://forum.ansible.com/t/how-can-i-pass-extra-variables-to-a-shell-script-in-my-playbooks/29652)

<div class="topic-metadata">

**Author:** [@Conor\_Proud](https://forum.ansible.com/u/Conor_Proud)\
**Replies:** 1\
**Last updated:** [February 11, 2019, 8:37pm UTC](https://forum.ansible.com/t/how-can-i-pass-extra-variables-to-a-shell-script-in-my-playbooks/29652 "2019-02-11T20:37:53Z")

</div>

Hi, This looks like the right place for posting questions- but please point me in the right direction if not. I’m using the “extra variables” box on the awx web front-end to provide key-value pairs to a shell script in…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=205)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=207)
