# Latest

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

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

**Page:** 639

---

## [vyos\_config and VTI](https://forum.ansible.com/t/vyos-config-and-vti/25076)

<div class="topic-metadata">

**Author:** [@Karl\_Latiss](https://forum.ansible.com/u/Karl_Latiss)\
**Replies:** 0\
**Last updated:** [July 25, 2017, 6:54am UTC](https://forum.ansible.com/t/vyos-config-and-vti/25076 "2017-07-25T06:54:25Z")

</div>

Ansible version “ansible-2.3.1.0-1.el7.noarch” VyOS 1.1.7 When using vyos\_config to add VTI configuration it hangs indefinitely when the VTI has not yet been associated with any VPN. When adding the VTI interface dire…

---

## [playbook fails testing connection from loadbalancer (nginix) to 2 backend webhosts (apache2)](https://forum.ansible.com/t/playbook-fails-testing-connection-from-loadbalancer-nginix-to-2-backend-webhosts-apache2/22334)

<div class="topic-metadata">

**Author:** [@James\_Lovato](https://forum.ansible.com/u/James_Lovato)\
**Replies:** 2\
**Last updated:** [July 25, 2017, 3:16am UTC](https://forum.ansible.com/t/playbook-fails-testing-connection-from-loadbalancer-nginix-to-2-backend-webhosts-apache2/22334 "2017-07-25T03:16:06Z")

</div>

The test to the loadbalancer itself never fails, and serves the same content as the websites (although host and metadata are a bit different), and I can’t for the life of me figure out the disconnect. If someone can poi…

---

## [Compare CloudFormer tasks in Ansible](https://forum.ansible.com/t/compare-cloudformer-tasks-in-ansible/25071)

<div class="topic-metadata">

**Author:** [@Sreekanth\_Kannan](https://forum.ansible.com/u/Sreekanth_Kannan)\
**Replies:** 4\
**Last updated:** [July 25, 2017, 2:57am UTC](https://forum.ansible.com/t/compare-cloudformer-tasks-in-ansible/25071 "2017-07-25T02:57:56Z")

</div>

Hello I have a need and I am trying to find if there is a module in Ansible that could help me with it. The scenario and the need is: We have AWS Infrastructure setup and Applications built and running in AWS. We …

---

## [Best way to differentiate configurations](https://forum.ansible.com/t/best-way-to-differentiate-configurations/25061)

<div class="topic-metadata">

**Author:** [@Peter\_Ankerstal](https://forum.ansible.com/u/Peter_Ankerstal)\
**Replies:** 1\
**Last updated:** [July 24, 2017, 10:46pm UTC](https://forum.ansible.com/t/best-way-to-differentiate-configurations/25061 "2017-07-24T22:46:06Z")

</div>

Hi! I pretty new to ansible and I have tried to read the docs on how to best differentiate configurations. Everything seems very clean if every server have a very specific purpose like “dbserver” or something. But Im h…

---

## [os\_port module](https://forum.ansible.com/t/os-port-module/25074)

<div class="topic-metadata">

**Author:** [@keith\_patton](https://forum.ansible.com/u/keith_patton)\
**Replies:** 0\
**Last updated:** [July 24, 2017, 10:23pm UTC](https://forum.ansible.com/t/os-port-module/25074 "2017-07-24T22:23:31Z")

</div>

Hi all, I’m using ansible to create vm instances and all was good. UNTIL… I need to create an instance that uses SRIOV. typically in order to do this you create the port and tell it that the vnic\_type is direct. I found…

---

## [default value vs default value defined by user](https://forum.ansible.com/t/default-value-vs-default-value-defined-by-user/25073)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 0\
**Last updated:** [July 24, 2017, 10:21pm UTC](https://forum.ansible.com/t/default-value-vs-default-value-defined-by-user/25073 "2017-07-24T22:21:21Z")

</div>

Hi I wanted to bring awareness of a little patch I submitted a while ago (3 lines change to the basic module\_utils helper. (I even would call it a bug fix). https://github.com/ansible/ansible/pull/16492 Currently, f…

---

## [Building a list from complex YAML](https://forum.ansible.com/t/building-a-list-from-complex-yaml/25072)

<div class="topic-metadata">

**Author:** [@Francois\_Herbet](https://forum.ansible.com/u/Francois_Herbet)\
**Replies:** 1\
**Last updated:** [July 24, 2017, 9:09pm UTC](https://forum.ansible.com/t/building-a-list-from-complex-yaml/25072 "2017-07-24T21:09:41Z")

</div>

Hi Guys need some advice on this case here’s my hostvars

---

## [netapp - na\_cdot\_user\_role](https://forum.ansible.com/t/netapp-na-cdot-user-role/23803)

<div class="topic-metadata">

**Author:** [@e-on\_mytube](https://forum.ansible.com/u/e-on_mytube)\
**Replies:** 4\
**Last updated:** [July 24, 2017, 5:46pm UTC](https://forum.ansible.com/t/netapp-na-cdot-user-role/23803 "2017-07-24T17:46:04Z")

</div>

Hi, i try to set role on my storagebox by using module: https://docs.ansible.com/ansible/na\_cdot\_user\_role\_module.html but run in following issue: \` ERROR! ‘na\_cdot\_user\_role’ is not a valid attribute for a Play Th…

---

## ["msg": "error connecting to the device: Unexpected session close" -While connecting to cisco ios-xr router with netconf](https://forum.ansible.com/t/msg-error-connecting-to-the-device-unexpected-session-close-while-connecting-to-cisco-ios-xr-router-with-netconf/25069)

<div class="topic-metadata">

**Author:** [@jaychandran\_subraman](https://forum.ansible.com/u/jaychandran_subraman)\
**Replies:** 1\
**Last updated:** [July 24, 2017, 5:24pm UTC](https://forum.ansible.com/t/msg-error-connecting-to-the-device-unexpected-session-close-while-connecting-to-cisco-ios-xr-router-with-netconf/25069 "2017-07-24T17:24:02Z")

</div>

Hi , I tried using netconf/XML rpc with ansible for netconf\_config to cisco ios\_xr router and we got the below error “msg”: “error connecting to the device: Unexpected session close” Ansible version we are using is 2.…

---

## [Up-to-date guide for debugging locally executing modules using an IDE (e.g. pycharm)?](https://forum.ansible.com/t/up-to-date-guide-for-debugging-locally-executing-modules-using-an-ide-e-g-pycharm/25070)

<div class="topic-metadata">

**Author:** [@Tom\_Paine1](https://forum.ansible.com/u/Tom_Paine1)\
**Replies:** 0\
**Last updated:** [July 24, 2017, 4:36pm UTC](https://forum.ansible.com/t/up-to-date-guide-for-debugging-locally-executing-modules-using-an-ide-e-g-pycharm/25070 "2017-07-24T16:36:59Z")

</div>

Am struggling to debug the ‘rds’ module using PyCharm, which is executing locally on my OS X machine. Have gone through a handful of guides, trying to emulate their suggestions for remote debugging on vagrant machines l…

---

## [support for multiple vault passwords / https://github.com/ansible/ansible/pull/22756](https://forum.ansible.com/t/support-for-multiple-vault-passwords-https-github-com-ansible-ansible-pull-22756/25068)

<div class="topic-metadata">

**Author:** [@alikins](https://forum.ansible.com/u/alikins)\
**Replies:** 0\
**Last updated:** [July 24, 2017, 3:20pm UTC](https://forum.ansible.com/t/support-for-multiple-vault-passwords-https-github-com-ansible-ansible-pull-22756/25068 "2017-07-24T15:20:20Z")

</div>

I've been working on some vault related 2.4 roadmap\[1\] features, namely "Support for multiple vault passwords. ". The current pr is at https://github.com/ansible/ansible/pull/22756 The roadmap feature is based on RFE …

---

## [Ansible modifies PYTHONPATH which causes Python commands to fail](https://forum.ansible.com/t/ansible-modifies-pythonpath-which-causes-python-commands-to-fail/25041)

<div class="topic-metadata">

**Author:** [@jrvilda](https://forum.ansible.com/u/jrvilda)\
**Replies:** 3\
**Last updated:** [July 24, 2017, 2:41pm UTC](https://forum.ansible.com/t/ansible-modifies-pythonpath-which-causes-python-commands-to-fail/25041 "2017-07-24T14:41:59Z")

</div>

Ansible appears to modify PYTHONPATH internally to vendored versions of some modules. This causes Python scripts executed within playbooks to potentially fail if there are module conflicts. # ansible-playbook -e “ansible…

---

## [Failed Deploy (Updating Ubunto) broken modul, please help !!](https://forum.ansible.com/t/failed-deploy-updating-ubunto-broken-modul-please-help/25059)

<div class="topic-metadata">

**Author:** [@Restu\_Nursobah](https://forum.ansible.com/u/Restu_Nursobah)\
**Replies:** 1\
**Last updated:** [July 24, 2017, 1:56pm UTC](https://forum.ansible.com/t/failed-deploy-updating-ubunto-broken-modul-please-help/25059 "2017-07-24T13:56:02Z")

</div>

I in research project, i now im stuck here cause this message. Did anyone know how to fix this ? and this is the roles

---

## [What traces does Ansible leave on remote hosts and how can I remove them?](https://forum.ansible.com/t/what-traces-does-ansible-leave-on-remote-hosts-and-how-can-i-remove-them/24884)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 4\
**Last updated:** [July 24, 2017, 1:53pm UTC](https://forum.ansible.com/t/what-traces-does-ansible-leave-on-remote-hosts-and-how-can-i-remove-them/24884 "2017-07-24T13:53:25Z")

</div>

I noticed that Ansible keeps a ~/.ansible directory. How can I delete it? Are there other traces of Ansible on the VM being configured?

---

## [service module doesnt work](https://forum.ansible.com/t/service-module-doesnt-work/25055)

<div class="topic-metadata">

**Author:** [@Gaurav1212](https://forum.ansible.com/u/Gaurav1212)\
**Replies:** 3\
**Last updated:** [July 24, 2017, 1:11pm UTC](https://forum.ansible.com/t/service-module-doesnt-work/25055 "2017-07-24T13:11:14Z")

</div>

Hi, I am trying to restart the cron and httpd services, but unable to do so with ansible. Output shows OK, but changed=0. See below output. \[root@slc09vev ansible\]# ansible-playbook restart.cron.pb.yml PLAY \[This is …

---

## [Change in location of Ansible packages](https://forum.ansible.com/t/change-in-location-of-ansible-packages/25050)

<div class="topic-metadata">

**Author:** [@Jason\_McKerr](https://forum.ansible.com/u/Jason_McKerr)\
**Replies:** 2\
**Last updated:** [July 24, 2017, 1:09pm UTC](https://forum.ansible.com/t/change-in-location-of-ansible-packages/25050 "2017-07-24T13:09:13Z")

</div>

In order to align better with Red Hat processes, the Ansible team will be making some changes in how Ansible packages are distributed to the community. For users of RHEL/CentOS/Scientific Linux version 7, the Ansible pa…

---

## [My first steps: apt module](https://forum.ansible.com/t/my-first-steps-apt-module/25067)

<div class="topic-metadata">

**Author:** [@Peter\_Kaagman](https://forum.ansible.com/u/Peter_Kaagman)\
**Replies:** 3\
**Last updated:** [July 24, 2017, 12:42pm UTC](https://forum.ansible.com/t/my-first-steps-apt-module/25067 "2017-07-24T12:42:53Z")

</div>

Hi there group, I’m making my first baby steps with ansible. After fooling around with ad-hoc command I thought I’d make the steps to playbooks. Looks promissing :smiley: Ultimate goal is managing my switches, have bee…

---

## [ldap\_attr stops processing entries and hangs the playbook run](https://forum.ansible.com/t/ldap-attr-stops-processing-entries-and-hangs-the-playbook-run/25063)

<div class="topic-metadata">

**Author:** [@Asil](https://forum.ansible.com/u/Asil)\
**Replies:** 1\
**Last updated:** [July 24, 2017, 12:15pm UTC](https://forum.ansible.com/t/ldap-attr-stops-processing-entries-and-hangs-the-playbook-run/25063 "2017-07-24T12:15:33Z")

</div>

Hi, I’m seemingly having an issue with the ldap\_attr module - it just stops processing ldap atrributes. I’m defining multiple dictionaries then adding them to a list of lists to process them, e.g: \` VARS Define list o…

---

## [is log\_driver must even for "json-file"?](https://forum.ansible.com/t/is-log-driver-must-even-for-json-file/25064)

<div class="topic-metadata">

**Author:** [@kavya\_KULSHRESHTHA](https://forum.ansible.com/u/kavya_KULSHRESHTHA)\
**Replies:** 0\
**Last updated:** [July 24, 2017, 10:02am UTC](https://forum.ansible.com/t/is-log-driver-must-even-for-json-file/25064 "2017-07-24T10:02:28Z")

</div>

Hi, I started a container using ansible without specifying log-driver as “json-file” is the default one, but I added below log\_options: log\_options: max-size: “10m” max-file: “2” Ansible version: 2.2.1.0 What I exp…

---

## [Powershell V2 deprecated soon](https://forum.ansible.com/t/powershell-v2-deprecated-soon/25062)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 1\
**Last updated:** [July 24, 2017, 8:14am UTC](https://forum.ansible.com/t/powershell-v2-deprecated-soon/25062 "2017-07-24T08:14:24Z")

</div>

https://mobile.twitter.com/jsnover/status/889153919527419905

---

## [How Ansible is  different from shell  or  perl scripting?](https://forum.ansible.com/t/how-ansible-is-different-from-shell-or-perl-scripting/25057)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 2\
**Last updated:** [July 23, 2017, 6:15pm UTC](https://forum.ansible.com/t/how-ansible-is-different-from-shell-or-perl-scripting/25057 "2017-07-23T18:15:44Z")

</div>

Hi All, could you please tell in layman language how ansible different from Shell or pearl scripting apart from Ansible Orchestration and Ansible Tower Regards Kanna

---

## [Help passing test for Google Cloud module](https://forum.ansible.com/t/help-passing-test-for-google-cloud-module/25060)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 0\
**Last updated:** [July 23, 2017, 5:19pm UTC](https://forum.ansible.com/t/help-passing-test-for-google-cloud-module/25060 "2017-07-23T17:19:34Z")

</div>

I have created a pull request and I cannot get make the last failed tests pass. All are basically the same: 'ansible-test sanity --test import --python xxx Locally, I have verified that the Provider class is successful…

---

## [Help testing new module](https://forum.ansible.com/t/help-testing-new-module/25058)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 5\
**Last updated:** [July 23, 2017, 5:16pm UTC](https://forum.ansible.com/t/help-testing-new-module/25058 "2017-07-23T17:16:31Z")

</div>

I have created a pull request for a module for google cloud (PR 27194). There are 4 tests that fail, basically all the same: ansible-test sanity --test import --python xxx I have no idea how to fix this. The module nee…

---

## [Ansible "file" module and attributes in 2.3.1.0](https://forum.ansible.com/t/ansible-file-module-and-attributes-in-2-3-1-0/25046)

<div class="topic-metadata">

**Author:** [@dan\_linder](https://forum.ansible.com/u/dan_linder)\
**Replies:** 2\
**Last updated:** [July 23, 2017, 4:26pm UTC](https://forum.ansible.com/t/ansible-file-module-and-attributes-in-2-3-1-0/25046 "2017-07-23T16:26:08Z")

</div>

I’ve got a set of systems that have a configuration file with the “immutable” flag set on them by a previous setup process. The “lsattr /etc/security/access.conf” on a RHEL 6 system shows the “i” flag set. Manually doing…

---

## [What do the verbose levels enable in Ansible?](https://forum.ansible.com/t/what-do-the-verbose-levels-enable-in-ansible/25054)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 2\
**Last updated:** [July 23, 2017, 3:23pm UTC](https://forum.ansible.com/t/what-do-the-verbose-levels-enable-in-ansible/25054 "2017-07-23T15:23:26Z")

</div>

I am asking mainly the difference among -v, -vv and -vvv. I know -vvvv enables connection output.

---

## [Environment variables understood by Ansible](https://forum.ansible.com/t/environment-variables-understood-by-ansible/25053)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 2\
**Last updated:** [July 23, 2017, 3:22pm UTC](https://forum.ansible.com/t/environment-variables-understood-by-ansible/25053 "2017-07-23T15:22:56Z")

</div>

Where can I find a list of environment variables that modify Ansible parameters? I am talking about the environment variables one sets before calling Ansible, eg ‘ENV\_VAR1=something ansible -i …’.

---

## [Run playbook in --check mode from the target](https://forum.ansible.com/t/run-playbook-in-check-mode-from-the-target/25004)

<div class="topic-metadata">

**Author:** [@gforster](https://forum.ansible.com/u/gforster)\
**Replies:** 1\
**Last updated:** [July 22, 2017, 1:40pm UTC](https://forum.ansible.com/t/run-playbook-in-check-mode-from-the-target/25004 "2017-07-22T13:40:34Z")

</div>

Is there any way from the target machine to run it’s playbook(s) in --check mode and display output on the target machine? I’m hoping for something smoother than ssh’ing to the control machine, running intended playbook(…

---

## [Creating environmental variable in ansible playbook](https://forum.ansible.com/t/creating-environmental-variable-in-ansible-playbook/24986)

<div class="topic-metadata">

**Author:** [@Prakash\_Khadka](https://forum.ansible.com/u/Prakash_Khadka)\
**Replies:** 5\
**Last updated:** [July 22, 2017, 1:21pm UTC](https://forum.ansible.com/t/creating-environmental-variable-in-ansible-playbook/24986 "2017-07-22T13:21:33Z")

</div>

I have created a playbook. I want to define environmental variables when I execute a task. name: Executing scripts shell: sh /root/something.sh register: shell environment: SOMETHING: something This is not working…

---

## [Lineinfile - replacing regex instead of placing text after insertafter](https://forum.ansible.com/t/lineinfile-replacing-regex-instead-of-placing-text-after-insertafter/24586)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 6\
**Last updated:** [July 22, 2017, 1:14pm UTC](https://forum.ansible.com/t/lineinfile-replacing-regex-instead-of-placing-text-after-insertafter/24586 "2017-07-22T13:14:29Z")

</div>

Hi guys, I have some problems with the lineinfile module. I try to add ‘inserted\_text’ after ‘#insertbelow’ when ‘this’ has been found in /etc/ansible/lineinfile/lol. This is my task:

---

## [Ten Steps To Get Ansible Working With Windows Machines](https://forum.ansible.com/t/ten-steps-to-get-ansible-working-with-windows-machines/25056)

<div class="topic-metadata">

**Author:** [@T.J\_Yang](https://forum.ansible.com/u/T.J_Yang)\
**Replies:** 0\
**Last updated:** [July 22, 2017, 10:34am UTC](https://forum.ansible.com/t/ten-steps-to-get-ansible-working-with-windows-machines/25056 "2017-07-22T10:34:38Z")

</div>

@skinnedknuckles Just want to say thanks for your kindess to provide this step-by-step procedure. This is very useful for ansible new comer like me. tj |

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

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