# Latest

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

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

**Page:** 538

---

## [Configuring Switch which doesn't have python installed.](https://forum.ansible.com/t/configuring-switch-which-doesnt-have-python-installed/28076)

<div class="topic-metadata">

**Author:** [@churchill\_davidson](https://forum.ansible.com/u/churchill_davidson)\
**Replies:** 3\
**Last updated:** [July 19, 2018, 8:11am UTC](https://forum.ansible.com/t/configuring-switch-which-doesnt-have-python-installed/28076 "2018-07-19T08:11:36Z")

</div>

I am writing a custom module in python to configure a networking device(switch).If python is installed in the remote node then i can directly execute the script in the remote node and i have written the code accordingly. …

---

## [How to compare a file on a host with a local file](https://forum.ansible.com/t/how-to-compare-a-file-on-a-host-with-a-local-file/28081)

<div class="topic-metadata">

**Author:** [@Sebastian\_Gedin](https://forum.ansible.com/u/Sebastian_Gedin)\
**Replies:** 3\
**Last updated:** [July 19, 2018, 7:44am UTC](https://forum.ansible.com/t/how-to-compare-a-file-on-a-host-with-a-local-file/28081 "2018-07-19T07:44:19Z")

</div>

Hello, Is there any nice way of comparing a file on a host with a local file in Ansible? I don’t just want to know if they are different but also how they differ. Something like the output of the Linux diff command. The…

---

## [Abridged summary of ansible-project@googlegroups.com - 35 updates in 10 topics](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-35-updates-in-10-topics/28088)

<div class="topic-metadata">

**Author:** [@Radoslav\_Stefanov](https://forum.ansible.com/u/Radoslav_Stefanov)\
**Replies:** 0\
**Last updated:** [July 19, 2018, 7:15am UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-35-updates-in-10-topics/28088 "2018-07-19T07:15:41Z")

</div>

A

---

## [Null Check before loop](https://forum.ansible.com/t/null-check-before-loop/28080)

<div class="topic-metadata">

**Author:** [@tommy.lin](https://forum.ansible.com/u/tommy.lin)\
**Replies:** 3\
**Last updated:** [July 19, 2018, 3:16am UTC](https://forum.ansible.com/t/null-check-before-loop/28080 "2018-07-19T03:16:41Z")

</div>

Hi Everyone, How can i do a null check before going into the loop to avoid “obj must be a list of dicts or a nested dict” error Thanks

---

## [AWX upgrade](https://forum.ansible.com/t/awx-upgrade/25524)

<div class="topic-metadata">

**Author:** [@Christer\_Hemgren](https://forum.ansible.com/u/Christer_Hemgren)\
**Replies:** 12\
**Last updated:** [July 19, 2018, 1:26am UTC](https://forum.ansible.com/t/awx-upgrade/25524 "2018-07-19T01:26:58Z")

</div>

Hi I have a working AWX lab on Centos 7 with local docker. How do I upgrade AWX or new ansible ex 2.4? Do I “git rebase origin” and run the install agin? Will it keep my AWX settings/history? Tanks Christer

---

## [docker\_container module always falsely report 'changed' and 'kernel\_memory' attribute seems to be the culprit](https://forum.ansible.com/t/docker-container-module-always-falsely-report-changed-and-kernel-memory-attribute-seems-to-be-the-culprit/28026)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 6\
**Last updated:** [July 18, 2018, 8:21pm UTC](https://forum.ansible.com/t/docker-container-module-always-falsely-report-changed-and-kernel-memory-attribute-seems-to-be-the-culprit/28026 "2018-07-18T20:21:08Z")

</div>

I have a playbook which in the end ensure that a docker container with provided attributes is started. So consider this task below (stripped off some of the stuff) \` name: Start container docker\_container: name: “{{…

---

## [Ansible playbook error {\\\[Juniper SRX220\]](https://forum.ansible.com/t/ansible-playbook-error-juniper-srx220/28084)

<div class="topic-metadata">

**Author:** [@Jongwon\_Kim](https://forum.ansible.com/u/Jongwon_Kim)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 8:12pm UTC](https://forum.ansible.com/t/ansible-playbook-error-juniper-srx220/28084 "2018-07-18T20:12:35Z")

</div>

One of our SRX can’t gathering get-facts . jkim3@MRAC-BH-RTR\> show version Hostname: MRAC-BH-RTR Model: srx220h2 JUNOS Software Release \[12.1X44-D35.5\] An exception occurred during task execution. To see the full tr…

---

## [editing python configobj format config files](https://forum.ansible.com/t/editing-python-configobj-format-config-files/28083)

<div class="topic-metadata">

**Author:** [@Vince\_Skahan](https://forum.ansible.com/u/Vince_Skahan)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 8:11pm UTC](https://forum.ansible.com/t/editing-python-configobj-format-config-files/28083 "2018-07-18T20:11:10Z")

</div>

I’m trying to figure out how to reliably edit a configobj format (link) file that unfortunately has a bunch of blocks with the same “key = value” combinations initially after the piece of software is installed, so a simp…

---

## [Module (user) is missing interpreter line](https://forum.ansible.com/t/module-user-is-missing-interpreter-line/28044)

<div class="topic-metadata">

**Author:** [@Anurag\_Mali](https://forum.ansible.com/u/Anurag_Mali)\
**Replies:** 1\
**Last updated:** [July 18, 2018, 7:36pm UTC](https://forum.ansible.com/t/module-user-is-missing-interpreter-line/28044 "2018-07-18T19:36:35Z")

</div>

I have been trying to run a Ansible playbook on a checkpoint management console but run into this error every time. Ansible version = 2.6.1 python version = 2.7.12 I have already got a reply: In any case, the probl…

---

## [apt-get --with-new-pkgs upgrade ?](https://forum.ansible.com/t/apt-get-with-new-pkgs-upgrade/28082)

<div class="topic-metadata">

**Author:** [@Kumu](https://forum.ansible.com/u/Kumu)\
**Replies:** 1\
**Last updated:** [July 18, 2018, 4:41pm UTC](https://forum.ansible.com/t/apt-get-with-new-pkgs-upgrade/28082 "2018-07-18T16:41:56Z")

</div>

Hi, Is there a way to do sudo apt-get --with-new-pkgs upgrade with Ansible’s apt module?

---

## [yum group install failed/does not update?](https://forum.ansible.com/t/yum-group-install-failed-does-not-update/28069)

<div class="topic-metadata">

**Author:** [@Love](https://forum.ansible.com/u/Love)\
**Replies:** 10\
**Last updated:** [July 18, 2018, 4:06pm UTC](https://forum.ansible.com/t/yum-group-install-failed-does-not-update/28069 "2018-07-18T16:06:49Z")

</div>

Hello Experts, Could you please look at the code and see what’s missing, I’m unable to find, when I execute below playbook hosts: test tasks: name: Install yum packages with\_items ignore\_errors: yes become: tru…

---

## [How to install the not released stable branch](https://forum.ansible.com/t/how-to-install-the-not-released-stable-branch/28072)

<div class="topic-metadata">

**Author:** [@Jesus\_Gomez](https://forum.ansible.com/u/Jesus_Gomez)\
**Replies:** 2\
**Last updated:** [July 18, 2018, 12:49pm UTC](https://forum.ansible.com/t/how-to-install-the-not-released-stable-branch/28072 "2018-07-18T12:49:22Z")

</div>

Hello. I need a bugfix backported to the stable branch. I installed ansible with pip. Can I use pip to upgrade ansible to use what is in the stable branch? When will be the 2.6.2 version released? Just for informatio…

---

## [How to support diff mode with keeping backward compatibilities?](https://forum.ansible.com/t/how-to-support-diff-mode-with-keeping-backward-compatibilities/28079)

<div class="topic-metadata">

**Author:** [@hitsumabushi1](https://forum.ansible.com/u/hitsumabushi1)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 10:50am UTC](https://forum.ansible.com/t/how-to-support-diff-mode-with-keeping-backward-compatibilities/28079 "2018-07-18T10:50:36Z")

</div>

Hi, I’ve currently used vyos\_config module and, for CI/CD, I want to get config differences before applying. However, vyos\_config doesn’t output config diffs, even in diff mode. For outputting diff, the module has to …

---

## [Pull request check](https://forum.ansible.com/t/pull-request-check/28078)

<div class="topic-metadata">

**Author:** [@Christopher\_Perrin](https://forum.ansible.com/u/Christopher_Perrin)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 10:49am UTC](https://forum.ansible.com/t/pull-request-check/28078 "2018-07-18T10:49:11Z")

</div>

Hey, I have create a PR and I wanted to know if my work was done now and it is fine as it is or if I needed to do anything more. https://github.com/ansible/ansible/pull/42400 Regards Chris

---

## [Unable to start JBoss EAP using ansible](https://forum.ansible.com/t/unable-to-start-jboss-eap-using-ansible/28073)

<div class="topic-metadata">

**Author:** [@Shankar\_Shiva](https://forum.ansible.com/u/Shankar_Shiva)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 3:35am UTC](https://forum.ansible.com/t/unable-to-start-jboss-eap-using-ansible/28073 "2018-07-18T03:35:59Z")

</div>

Hi, I had created below ansible structure : -rw-rw-r-- 1 packt packt 1841 Jun 3 18:36 README.md -rw-rw-r-- 1 packt packt 217 Jun 3 18:36 LICENSE.md -rw-rw-r-- 1 packt packt 123 Jul 12 17:57 ansible.cfg -rw-rw-r-- 1 pac…

---

## [One server is slow to respond to ansible (but does) gather\_facts](https://forum.ansible.com/t/one-server-is-slow-to-respond-to-ansible-but-does-gather-facts/28071)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [July 17, 2018, 6:11pm UTC](https://forum.ansible.com/t/one-server-is-slow-to-respond-to-ansible-but-does-gather-facts/28071 "2018-07-17T18:11:20Z")

</div>

In my experience this is always because of IO (some mount point gone stale) Gather facts is running a lot of different commands like df, lvm, mount, swap, nfs and other network filesystems and many more. You could logi…

---

## [Two questions related to action\_plugins](https://forum.ansible.com/t/two-questions-related-to-action-plugins/28059)

<div class="topic-metadata">

**Author:** [@Marcus\_B](https://forum.ansible.com/u/Marcus_B)\
**Replies:** 4\
**Last updated:** [July 17, 2018, 1:19pm UTC](https://forum.ansible.com/t/two-questions-related-to-action-plugins/28059 "2018-07-17T13:19:39Z")

</div>

I’m currently developing a fairly involved action\_plugin (which ideally would be shipped with a role, but could also be added to the appropriate path in ansible.cfg), and it seems there are a few limitations. is it po…

---

## [Expected Release Date for 2.6.2](https://forum.ansible.com/t/expected-release-date-for-2-6-2/28068)

<div class="topic-metadata">

**Author:** [@Ali\_Khawaja](https://forum.ansible.com/u/Ali_Khawaja)\
**Replies:** 1\
**Last updated:** [July 17, 2018, 1:16pm UTC](https://forum.ansible.com/t/expected-release-date-for-2-6-2/28068 "2018-07-17T13:16:13Z")

</div>

Hello Everyone - what is the expected release date for next build of ansible? i am running it from the source right now due to to breaking changes in win\_reboot (https://github.com/ansible/ansible/issues/42294) which ha…

---

## [Get JSONObject with a key in variable](https://forum.ansible.com/t/get-jsonobject-with-a-key-in-variable/28067)

<div class="topic-metadata">

**Author:** [@tommy.lin](https://forum.ansible.com/u/tommy.lin)\
**Replies:** 2\
**Last updated:** [July 17, 2018, 12:53pm UTC](https://forum.ansible.com/t/get-jsonobject-with-a-key-in-variable/28067 "2018-07-17T12:53:16Z")

</div>

Hi Everyone, May I is there a way to get an object/value from a JSONObject like this {{ result\[’ {{ keyName }} '\] }} For example: result: { “key1”: “value1”, “key2”: “value2” } keyName: “key1” Then the response fo…

---

## [Ansible search string in stdout\_lines and user later as variable](https://forum.ansible.com/t/ansible-search-string-in-stdout-lines-and-user-later-as-variable/28046)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 3\
**Last updated:** [July 17, 2018, 12:36pm UTC](https://forum.ansible.com/t/ansible-search-string-in-stdout-lines-and-user-later-as-variable/28046 "2018-07-17T12:36:18Z")

</div>

I have the following output of a command output \` “failed”: false, “rc”: 0, “start”: “2018-07-13 18:05:48.354496”, “stderr”: “”, “stderr\_lines”: , “stdout”: “"\[2018-07-13 13:25:01\]: Updating version file",\\n"\[2018…

---

## [yum groupinstall failed with "with\_items"](https://forum.ansible.com/t/yum-groupinstall-failed-with-with-items/28064)

<div class="topic-metadata">

**Author:** [@Imam\_Toufique](https://forum.ansible.com/u/Imam_Toufique)\
**Replies:** 1\
**Last updated:** [July 17, 2018, 11:51am UTC](https://forum.ansible.com/t/yum-groupinstall-failed-with-with-items/28064 "2018-07-17T11:51:46Z")

</div>

Hi, I am having a bit of trouble understanding why the yum module is not working when I use “with\_items”. I am using ansible 2.5.4 So, here is what works: \` name: Install Yum Group Packages in Login Nodes yum: “nam…

---

## [Window Host without password](https://forum.ansible.com/t/window-host-without-password/28022)

<div class="topic-metadata">

**Author:** [@tommy.lin](https://forum.ansible.com/u/tommy.lin)\
**Replies:** 5\
**Last updated:** [July 17, 2018, 11:36am UTC](https://forum.ansible.com/t/window-host-without-password/28022 "2018-07-17T11:36:17Z")

</div>

Hi all, May I know how should I configure the vars while I am going to connect to a windows host which has no password Regards

---

## [getting ansible results with the job api.](https://forum.ansible.com/t/getting-ansible-results-with-the-job-api/28066)

<div class="topic-metadata">

**Author:** [@Serge\_Zajac](https://forum.ansible.com/u/Serge_Zajac)\
**Replies:** 0\
**Last updated:** [July 17, 2018, 11:17am UTC](https://forum.ansible.com/t/getting-ansible-results-with-the-job-api/28066 "2018-07-17T11:17:14Z")

</div>

My question is simple : how a playbook can have results that can be directly available in the api (jobs) Something like a coupe myResult1, myResult1Value myResult2, myResult2Value Example : you have to reserve an IP ad…

---

## [ESXi upgrade ansible](https://forum.ansible.com/t/esxi-upgrade-ansible/28062)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 1\
**Last updated:** [July 17, 2018, 8:06am UTC](https://forum.ansible.com/t/esxi-upgrade-ansible/28062 "2018-07-17T08:06:38Z")

</div>

Hi Experts, I would like to do esxi upgrade through Ansible playbook same ways of VUM. Can some one help me how to do this . I’m very new to ansible

---

## [vmware\_guest:  Stop Customisation Running](https://forum.ansible.com/t/vmware-guest-stop-customisation-running/28065)

<div class="topic-metadata">

**Author:** [@ewoelkerling](https://forum.ansible.com/u/ewoelkerling)\
**Replies:** 0\
**Last updated:** [July 17, 2018, 8:01am UTC](https://forum.ansible.com/t/vmware-guest-stop-customisation-running/28065 "2018-07-17T08:01:40Z")

</div>

Hi, We’ve recently upgraded from Ansible 2.4-\>2.6 and make extensive us of the vmware\_guest module. Our previous installation did not use the vmware customization component (variety of reasons), however after the upgrad…

---

## [ESXi upgrade by using Ansible](https://forum.ansible.com/t/esxi-upgrade-by-using-ansible/28061)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 0\
**Last updated:** [July 16, 2018, 7:24pm UTC](https://forum.ansible.com/t/esxi-upgrade-by-using-ansible/28061 "2018-07-16T19:24:38Z")

</div>

Hi, I want to do esxi upgrade by using ansible playbook. Can you guys help me on this. Or can I pass powercli script in ansible . Does it help ? Requirements steps for upgrade. Disable host alarms VMs migration from…

---

## [Ansible works with hyper-v. permission denied](https://forum.ansible.com/t/ansible-works-with-hyper-v-permission-denied/28057)

<div class="topic-metadata">

**Author:** [@mli103](https://forum.ansible.com/u/mli103)\
**Replies:** 1\
**Last updated:** [July 16, 2018, 7:15pm UTC](https://forum.ansible.com/t/ansible-works-with-hyper-v-permission-denied/28057 "2018-07-16T19:15:40Z")

</div>

I would like to export vm running on hyper-v to a remote shared file system. I make it manually, by saying that is I right clicked powershell and choosing “run as administrator” and run the command in the cmd. But I fail…

---

## [The instructional link on this makefile option is a treat.](https://forum.ansible.com/t/the-instructional-link-on-this-makefile-option-is-a-treat/28060)

<div class="topic-metadata">

**Author:** [@Raymond\_Ferguson](https://forum.ansible.com/u/Raymond_Ferguson)\
**Replies:** 0\
**Last updated:** [July 16, 2018, 6:36pm UTC](https://forum.ansible.com/t/the-instructional-link-on-this-makefile-option-is-a-treat/28060 "2018-07-16T18:36:14Z")

</div>

Alternate approach to tmux to run all development tasks specified in Procfile. https://youtu.be/OPMgaibszjk honcho: @if \[ “$(VENV\_BASE)” \]; then . $(VENV\_BASE)/awx/bin/activate; fi; honcho start -f tools/docker-co…

---

## [Troubleshooting Ansible Playbook Errors](https://forum.ansible.com/t/troubleshooting-ansible-playbook-errors/28058)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 5\
**Last updated:** [July 16, 2018, 5:59pm UTC](https://forum.ansible.com/t/troubleshooting-ansible-playbook-errors/28058 "2018-07-16T17:59:44Z")

</div>

Hey all, so I’m trying to run this playbook that I found on github for implementing DOD STIG’s on RHEL. https://github.com/MindPointGroup/RHEL7-STIG It works well but there are several that fail and while I’m very new …

---

## [Configuration Management - How to Ensure Server Configuration is not changed and if changed revert back?](https://forum.ansible.com/t/configuration-management-how-to-ensure-server-configuration-is-not-changed-and-if-changed-revert-back/28053)

<div class="topic-metadata">

**Author:** [@endace.francis.mondi](https://forum.ansible.com/u/endace.francis.mondi)\
**Replies:** 2\
**Last updated:** [July 16, 2018, 3:17pm UTC](https://forum.ansible.com/t/configuration-management-how-to-ensure-server-configuration-is-not-changed-and-if-changed-revert-back/28053 "2018-07-16T15:17:02Z")

</div>

Hi All, This seems to be a dumb question to question to ask, but I can’t seem to find what I’m looking for. Apologies in advance. Basically, I want to ensure that changes to configuration on ansible-managed servers are…

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

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