# Ansible Project

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

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

**Page:** 231

---

## [ansible dynamic inventory script with gce is not working](https://forum.ansible.com/t/ansible-dynamic-inventory-script-with-gce-is-not-working/28737)

<div class="topic-metadata">

**Author:** [@Akash\_Agrawal](https://forum.ansible.com/u/Akash_Agrawal)\
**Replies:** 1\
**Last updated:** [October 8, 2018, 12:04pm UTC](https://forum.ansible.com/t/ansible-dynamic-inventory-script-with-gce-is-not-working/28737 "2018-10-08T12:04:41Z")

</div>

Hi, I am trying to test ansible dynamic inventory script with gce.py & gce.ini …as explained here: https://docs.ansible.com/ansible/2.5/scenario\_guides/guide\_gce.html#introduction When I run below instructions: $ ./g…

---

## [Use Ansible for post-provisioning setup?](https://forum.ansible.com/t/use-ansible-for-post-provisioning-setup/28738)

<div class="topic-metadata">

**Author:** [@ecrosby](https://forum.ansible.com/u/ecrosby)\
**Replies:** 4\
**Last updated:** [October 8, 2018, 7:21am UTC](https://forum.ansible.com/t/use-ansible-for-post-provisioning-setup/28738 "2018-10-08T07:21:34Z")

</div>

Hello, all. I hope this is the correct group to post this. I am trying to learn more about Ansible. I wanted to find if it is possible to use Ansible to remotely push configuration and software installs to machines wit…

---

## [Need help with ansible 2.7](https://forum.ansible.com/t/need-help-with-ansible-2-7/28728)

<div class="topic-metadata">

**Author:** [@Karthick\_Thanigaiman](https://forum.ansible.com/u/Karthick_Thanigaiman)\
**Replies:** 1\
**Last updated:** [October 6, 2018, 7:39am UTC](https://forum.ansible.com/t/need-help-with-ansible-2-7/28728 "2018-10-06T07:39:24Z")

</div>

Hi, We are using ansible 2.7 and in my yml file I ahave the below: include\_tasks: roles/common/tasks/os\_base.yml include\_tasks: roles/common/tasks/splunk\_base.yml include\_tasks: file: roles/common/tasks/splunk…

---

## [Expect module not working](https://forum.ansible.com/t/expect-module-not-working/28723)

<div class="topic-metadata">

**Author:** [@Krishan\_Chawla](https://forum.ansible.com/u/Krishan_Chawla)\
**Replies:** 9\
**Last updated:** [October 5, 2018, 12:42pm UTC](https://forum.ansible.com/t/expect-module-not-working/28723 "2018-10-05T12:42:09Z")

</div>

---

## [Ansible var files with replace module](https://forum.ansible.com/t/ansible-var-files-with-replace-module/28731)

<div class="topic-metadata">

**Author:** [@Justin\_Schmitz](https://forum.ansible.com/u/Justin_Schmitz)\
**Replies:** 0\
**Last updated:** [October 5, 2018, 9:08am UTC](https://forum.ansible.com/t/ansible-var-files-with-replace-module/28731 "2018-10-05T09:08:29Z")

</div>

I have the a group\_vars folder which contains: all.yml servergroup.yml I have a host\_vars folder which contains: serverA.yml These have a large amount of variables in each. The current project has the requirement o…

---

## [replace special charecters](https://forum.ansible.com/t/replace-special-charecters/28730)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 0\
**Last updated:** [October 5, 2018, 7:17am UTC](https://forum.ansible.com/t/replace-special-charecters/28730 "2018-10-05T07:17:30Z")

</div>

Hi All, I want to remove special character using ansible playbook, I can provide the sample data here below that I am trying to remove “\\nhostname username\\n”\\r I want to remove \\n and \\r. Looking forward for reply. …

---

## [how to display only debug on callback](https://forum.ansible.com/t/how-to-display-only-debug-on-callback/28727)

<div class="topic-metadata">

**Author:** [@Michael\_M1](https://forum.ansible.com/u/Michael_M1)\
**Replies:** 0\
**Last updated:** [October 5, 2018, 2:34am UTC](https://forum.ansible.com/t/how-to-display-only-debug-on-callback/28727 "2018-10-05T02:34:13Z")

</div>

Hi, I am looking for a way to have really as little stdout as possible. Ideally, all I would like to see returned are debug statements. Does anyone have a solution for this? Thank you in advance

---

## [ssh timeout when using winrm](https://forum.ansible.com/t/ssh-timeout-when-using-winrm/28724)

<div class="topic-metadata">

**Author:** [@aaldi](https://forum.ansible.com/u/aaldi)\
**Replies:** 2\
**Last updated:** [October 4, 2018, 9:37pm UTC](https://forum.ansible.com/t/ssh-timeout-when-using-winrm/28724 "2018-10-04T21:37:20Z")

</div>

Hi, I’m having trouble with using ansible and opening an ssh connection at the same time. It seems that whenever the server communicates to a windows machine using winrm, ssh communication is blocked from the windows ma…

---

## [increase local host performance for copy and template module](https://forum.ansible.com/t/increase-local-host-performance-for-copy-and-template-module/28726)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 0\
**Last updated:** [October 4, 2018, 3:55pm UTC](https://forum.ansible.com/t/increase-local-host-performance-for-copy-and-template-module/28726 "2018-10-04T15:55:39Z")

</div>

Hi all, I'm having a performance issue with local execution of the copy and template modules that are put into task files. Both modules are used in with\_nested loops where item\[0\] is about 100 elements and item\[1\] is a…

---

## [2.7.0 Final has been released!](https://forum.ansible.com/t/2-7-0-final-has-been-released/28725)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 4, 2018, 2:10pm UTC](https://forum.ansible.com/t/2-7-0-final-has-been-released/28725 "2018-10-04T14:10:07Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.7.0 is now available! How do you get it?

---

## [awx in kubernetes|| Installation issue](https://forum.ansible.com/t/awx-in-kubernetes-installation-issue/28722)

<div class="topic-metadata">

**Author:** [@Auto-mate](https://forum.ansible.com/u/Auto-mate)\
**Replies:** 0\
**Last updated:** [October 4, 2018, 12:01pm UTC](https://forum.ansible.com/t/awx-in-kubernetes-installation-issue/28722 "2018-10-04T12:01:16Z")

</div>

I have populated the kubernetes cluster context and namespace in the inventory file but when running the playbook to install it, it fails while wait for the management pod to start. Any idea why it may fail?

---

## [unsubscribe from Ansible project group](https://forum.ansible.com/t/unsubscribe-from-ansible-project-group/28721)

<div class="topic-metadata">

**Author:** [@Maha\_Sallam](https://forum.ansible.com/u/Maha_Sallam)\
**Replies:** 0\
**Last updated:** [October 4, 2018, 12:01pm UTC](https://forum.ansible.com/t/unsubscribe-from-ansible-project-group/28721 "2018-10-04T12:01:01Z")

</div>

unsubscribe from this group

---

## [Ansible Yaml Editor](https://forum.ansible.com/t/ansible-yaml-editor/28719)

<div class="topic-metadata">

**Author:** [@Maha\_Sallam](https://forum.ansible.com/u/Maha_Sallam)\
**Replies:** 3\
**Last updated:** [October 4, 2018, 11:57am UTC](https://forum.ansible.com/t/ansible-yaml-editor/28719 "2018-10-04T11:57:08Z")

</div>

Hello , I am new to Ansible and I am trying to follow the steps in the below links to to Install nginx and webserver but when I am copy the code as it is and run it , it gives me an error similar to “ERROR! Syntax Error…

---

## [customized message from anisble output](https://forum.ansible.com/t/customized-message-from-anisble-output/28720)

<div class="topic-metadata">

**Author:** [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Replies:** 0\
**Last updated:** [October 4, 2018, 11:42am UTC](https://forum.ansible.com/t/customized-message-from-anisble-output/28720 "2018-10-04T11:42:54Z")

</div>

Hi Is that really possible that I can have full customized messae instead of ansible json output. ? Can we have code like blow where instead of ansible output , only I need output as “cleaned” However below not workin…

---

## [Looking for playbook to Find and Copy recently modified file from remote machine folder to folder](https://forum.ansible.com/t/looking-for-playbook-to-find-and-copy-recently-modified-file-from-remote-machine-folder-to-folder/28710)

<div class="topic-metadata">

**Author:** [@Deepan\_M](https://forum.ansible.com/u/Deepan_M)\
**Replies:** 4\
**Last updated:** [October 4, 2018, 10:34am UTC](https://forum.ansible.com/t/looking-for-playbook-to-find-and-copy-recently-modified-file-from-remote-machine-folder-to-folder/28710 "2018-10-04T10:34:59Z")

</div>

Hello, I’m writing a playbook for patching and in that i required 2 modules to Find and Copy the recently modified file in remote machine , I have tried with below modules, but not working! if someone have an idea, kind…

---

## [Loop with Register and query output](https://forum.ansible.com/t/loop-with-register-and-query-output/28717)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 0\
**Last updated:** [October 4, 2018, 8:44am UTC](https://forum.ansible.com/t/loop-with-register-and-query-output/28717 "2018-10-04T08:44:01Z")

</div>

Hi there, I am trying to retrieve azure resources that are unknown. \` name: Get CAN resource group facts by tags azure\_rm\_resourcegroup\_facts: subscription\_id: “{{az\_customer\_subscription\_id}}” ad\_user: “{{ad\_use…

---

## [Ternary module not working for default value](https://forum.ansible.com/t/ternary-module-not-working-for-default-value/28701)

<div class="topic-metadata">

**Author:** [@Kunalsing\_Thakur](https://forum.ansible.com/u/Kunalsing_Thakur)\
**Replies:** 6\
**Last updated:** [October 4, 2018, 8:42am UTC](https://forum.ansible.com/t/ternary-module-not-working-for-default-value/28701 "2018-10-04T08:42:41Z")

</div>

\##### SUMMARY When I want to use skip the task if the extra-vars parameter is passed like default in playbook from the role ##### ISSUE TYPE - Bug Report ##### COMPONENT NAME ansible-core ##### ANSIBLE VERSION an…

---

## [datacenter inventory layout recommendations](https://forum.ansible.com/t/datacenter-inventory-layout-recommendations/23918)

<div class="topic-metadata">

**Author:** [@jerry1](https://forum.ansible.com/u/jerry1)\
**Replies:** 1\
**Last updated:** [October 4, 2018, 5:37am UTC](https://forum.ansible.com/t/datacenter-inventory-layout-recommendations/23918 "2018-10-04T05:37:26Z")

</div>

Hi, We are looking at deploying ansible as our new automation base. we currently have 1500-2000 machines to manage in multiple data centers. We also have 50+ app/services type that we have written internally as well as …

---

## [ansible-playbook shows encrypted data?](https://forum.ansible.com/t/ansible-playbook-shows-encrypted-data/28714)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 1\
**Last updated:** [October 4, 2018, 5:02am UTC](https://forum.ansible.com/t/ansible-playbook-shows-encrypted-data/28714 "2018-10-04T05:02:06Z")

</div>

I have encrypted some of my host\_vars data using ansible-vault. The data is encrypted properly. What is odd is that when I run the playbook that uses the data, the data is output, in plaintext, to the console. It does t…

---

## [PATH env](https://forum.ansible.com/t/path-env/28709)

<div class="topic-metadata">

**Author:** [@Jorge\_Duran](https://forum.ansible.com/u/Jorge_Duran)\
**Replies:** 3\
**Last updated:** [October 4, 2018, 12:03am UTC](https://forum.ansible.com/t/path-env/28709 "2018-10-04T00:03:50Z")

</div>

Hey guys, very new to ansible and still learning Linux. I am creating a playbook to setup an High Performance Cluster, but as part of it i need to add some folders to the path for all users on a bunch of RHEL 7 boxes. I…

---

## [Unable to remove user accounts from Cisco switches running IOS 12.x with Ansible module ios\_user:](https://forum.ansible.com/t/unable-to-remove-user-accounts-from-cisco-switches-running-ios-12-x-with-ansible-module-ios-user/28704)

<div class="topic-metadata">

**Author:** [@andrew.lemin](https://forum.ansible.com/u/andrew.lemin)\
**Replies:** 6\
**Last updated:** [October 3, 2018, 5:30pm UTC](https://forum.ansible.com/t/unable-to-remove-user-accounts-from-cisco-switches-running-ios-12-x-with-ansible-module-ios-user/28704 "2018-10-03T17:30:29Z")

</div>

Hi, I just want to quickly check a finding with the community, something which should be so trivial it must be me :slight\_smile: I have found that it is not possible to remove Cisco users from IOS 12.x using the Ansibl…

---

## [Having a hard time developing hosts file](https://forum.ansible.com/t/having-a-hard-time-developing-hosts-file/28712)

<div class="topic-metadata">

**Author:** [@Laurent\_Walker](https://forum.ansible.com/u/Laurent_Walker)\
**Replies:** 4\
**Last updated:** [October 3, 2018, 4:49pm UTC](https://forum.ansible.com/t/having-a-hard-time-developing-hosts-file/28712 "2018-10-03T16:49:19Z")

</div>

Below is part of the yaml host file I am trying to complete. I am having issues targeting specific groups. Most work when using ios modules but then when I use aireos modules it just skips right over and says nothing was…

---

## [Disk informatoin in target machine](https://forum.ansible.com/t/disk-informatoin-in-target-machine/28686)

<div class="topic-metadata">

**Author:** [@vinod93pop](https://forum.ansible.com/u/vinod93pop)\
**Replies:** 15\
**Last updated:** [October 3, 2018, 3:15pm UTC](https://forum.ansible.com/t/disk-informatoin-in-target-machine/28686 "2018-10-03T15:15:41Z")

</div>

HI all, I am trying to get the disk information of target machine. I want to check the newly added disk which is fully free, means there is no partition created. running a loop like /dev/sda to /dev/sdz and that shoul…

---

## [ansible fetch fails but creates zero-length file](https://forum.ansible.com/t/ansible-fetch-fails-but-creates-zero-length-file/28706)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 5\
**Last updated:** [October 3, 2018, 2:37pm UTC](https://forum.ansible.com/t/ansible-fetch-fails-but-creates-zero-length-file/28706 "2018-10-03T14:37:34Z")

</div>

When I use the fetch module (with or without using become, which is contra-indicated but I have no choice), and for whatever reason the file cannot be copied, the local machine still creates a zero-length file. Is there …

---

## [Assing tag to vmware VM](https://forum.ansible.com/t/assing-tag-to-vmware-vm/28711)

<div class="topic-metadata">

**Author:** [@MIke\_Drtikol](https://forum.ansible.com/u/MIke_Drtikol)\
**Replies:** 0\
**Last updated:** [October 3, 2018, 10:49am UTC](https://forum.ansible.com/t/assing-tag-to-vmware-vm/28711 "2018-10-03T10:49:33Z")

</div>

Hi, is there a way to assing tag to vmware vm please ? Thx Mike

---

## [replace module query](https://forum.ansible.com/t/replace-module-query/28691)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 5\
**Last updated:** [October 3, 2018, 6:08am UTC](https://forum.ansible.com/t/replace-module-query/28691 "2018-10-03T06:08:59Z")

</div>

Hi All, I have one query regarding ansible replace module, I wrote one ansible playbook and I used replace module in my ansible playbook, it is running successfully but without making any changes in file, replace: pa…

---

## [Dell OS9 upgrade using Ansible](https://forum.ansible.com/t/dell-os9-upgrade-using-ansible/28700)

<div class="topic-metadata">

**Author:** [@Dow\_Bennett](https://forum.ansible.com/u/Dow_Bennett)\
**Replies:** 3\
**Last updated:** [October 2, 2018, 8:51pm UTC](https://forum.ansible.com/t/dell-os9-upgrade-using-ansible/28700 "2018-10-02T20:51:15Z")

</div>

Hello! I am a noob in Ansible so please forgive me. I am trying to upgrade an OS9 switch using the dellos9\_command module (there is a method to upgrade OS10 via Roles but not OS9). playbook:

---

## [Accessing command line options as variables inside playbooks?](https://forum.ansible.com/t/accessing-command-line-options-as-variables-inside-playbooks/28708)

<div class="topic-metadata">

**Author:** [@Peter\_Marr](https://forum.ansible.com/u/Peter_Marr)\
**Replies:** 0\
**Last updated:** [October 2, 2018, 8:05pm UTC](https://forum.ansible.com/t/accessing-command-line-options-as-variables-inside-playbooks/28708 "2018-10-02T20:05:40Z")

</div>

Hello all, New to Ansible, so I apologize if there is a simple solution to this problem - but I have done a lot of searching and have not been able to find one. I am running Ansible 2.2.1.0 on a 2015 Macbook Pro using m…

---

## [how to use delegate\_to with Ansible tower](https://forum.ansible.com/t/how-to-use-delegate-to-with-ansible-tower/28707)

<div class="topic-metadata">

**Author:** [@Neetu](https://forum.ansible.com/u/Neetu)\
**Replies:** 0\
**Last updated:** [October 2, 2018, 6:05pm UTC](https://forum.ansible.com/t/how-to-use-delegate-to-with-ansible-tower/28707 "2018-10-02T18:05:34Z")

</div>

Hi, I have a task which I am delegating to a different host . Playbook is running on dev host, and the task is being delegated to qa host to run. name: “Delegate to qa” shell: " task " delegate\_to: “{{ qa\_host }}” …

---

## [ansible stat -- version?](https://forum.ansible.com/t/ansible-stat-version/28705)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 1\
**Last updated:** [October 2, 2018, 5:44pm UTC](https://forum.ansible.com/t/ansible-stat-version/28705 "2018-10-02T17:44:17Z")

</div>

So I ran the stat module on a local file, and it returned this: “havethefile”: { “changed”: false, “failed”: false, “stat”: { “atime”: 1538498295.4939597, “attr\_flags”: “e”, \[…\] “uid”: 505, “version”: “184467440…

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

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