# Ansible Project

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

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

**Page:** 247

---

## [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

---

## [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…

---

## [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…

---

## [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

---

## [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…

---

## [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…

---

## [\[Help\] Could not match supplied host pattern](https://forum.ansible.com/t/help-could-not-match-supplied-host-pattern/28052)

<div class="topic-metadata">

**Author:** [@Deanosim](https://forum.ansible.com/u/Deanosim)\
**Replies:** 7\
**Last updated:** [July 16, 2018, 1:26pm UTC](https://forum.ansible.com/t/help-could-not-match-supplied-host-pattern/28052 "2018-07-16T13:26:52Z")

</div>

I’m learning Ansible and other things from this guide https://github.com/Artemmkin/infrastructure-as-code-tutorial/blob/master/docs/06-ansible.md Only problem is whenever I try and run deply.yml I get \` \[WARNING\]: pro…

---

## [ansible book / tutorial for expertise level](https://forum.ansible.com/t/ansible-book-tutorial-for-expertise-level/28049)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 1\
**Last updated:** [July 16, 2018, 12:09pm UTC](https://forum.ansible.com/t/ansible-book-tutorial-for-expertise-level/28049 "2018-07-16T12:09:21Z")

</div>

Hi, Please suggest me a ansible book / tutorial for expertise level like how to manage large scale project, How to integrate ansible with CI, CD, CT, CM, container / Kubernetes and AWS with IoC approach, rolling update …

---

## [VMs migration through Ansible](https://forum.ansible.com/t/vms-migration-through-ansible/28051)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 0\
**Last updated:** [July 15, 2018, 12:20pm UTC](https://forum.ansible.com/t/vms-migration-through-ansible/28051 "2018-07-15T12:20:43Z")

</div>

Hi I’m searching a sample play book to migrate VMs from one host to another host . Can anyone share me a sample play book . Thank you

---

## [register only matched value by filter.](https://forum.ansible.com/t/register-only-matched-value-by-filter/28048)

<div class="topic-metadata">

**Author:** [@Konstantin\_R](https://forum.ansible.com/u/Konstantin_R)\
**Replies:** 0\
**Last updated:** [July 15, 2018, 6:43am UTC](https://forum.ansible.com/t/register-only-matched-value-by-filter/28048 "2018-07-15T06:43:23Z")

</div>

Hello, I’m searching for a cluster in vmware with module vmware\_cluster\_facts. Filter is corrent, but when I register a value: \` hosts: 127.0.0.1 tasks: name: Load variables include\_vars: file: vars/vcenter.yaml …

---

## [Trigger a new jenkins job through ansible](https://forum.ansible.com/t/trigger-a-new-jenkins-job-through-ansible/25260)

<div class="topic-metadata">

**Author:** [@Seeram\_Venkatesh](https://forum.ansible.com/u/Seeram_Venkatesh)\
**Replies:** 4\
**Last updated:** [July 14, 2018, 6:18pm UTC](https://forum.ansible.com/t/trigger-a-new-jenkins-job-through-ansible/25260 "2018-07-14T18:18:09Z")

</div>

Hi Techies, I’m looking for a solution where I want to trigger a Jenkins build through Ansible. I went through a module called jenkins\_job from which I can connect to the jenkins server but not able to trigger a new bu…

---

## [scope](https://forum.ansible.com/t/scope/28045)

<div class="topic-metadata">

**Author:** [@Kallu\_Srikanth](https://forum.ansible.com/u/Kallu_Srikanth)\
**Replies:** 0\
**Last updated:** [July 13, 2018, 5:32pm UTC](https://forum.ansible.com/t/scope/28045 "2018-07-13T17:32:10Z")

</div>

update CI informaton on servie now automatically by running playbook Get VM information from vcenter like CPU, RAM, DISK IP etc Check if VM is powered on and exist in AVID, update snow CI If VM is off exist in AVID (ign…

---

## [Deprecation warnings to a log](https://forum.ansible.com/t/deprecation-warnings-to-a-log/28042)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 2\
**Last updated:** [July 13, 2018, 2:08pm UTC](https://forum.ansible.com/t/deprecation-warnings-to-a-log/28042 "2018-07-13T14:08:29Z")

</div>

Is it possible to have deprecation warnings written to the logs? Reason being is that it would make upgrading to newer Ansible versions far easier if we had a log of what would be deprecated in current running playbooks. …

---

## [Hi - ansible with libvirt(kvm) hosts deployments](https://forum.ansible.com/t/hi-ansible-with-libvirt-kvm-hosts-deployments/28034)

<div class="topic-metadata">

**Author:** [@francois\_P](https://forum.ansible.com/u/francois_P)\
**Replies:** 3\
**Last updated:** [July 13, 2018, 2:07pm UTC](https://forum.ansible.com/t/hi-ansible-with-libvirt-kvm-hosts-deployments/28034 "2018-07-13T14:07:12Z")

</div>

hello all, I’m working with many virsh VM (libvirt), so ansible is very usefull to manage them & deploy applications & so on of course. Currently I use jinja2 template over xml to be able to import vm profile, this st…

---

## [ansible 2.5 with centos 5](https://forum.ansible.com/t/ansible-2-5-with-centos-5/28043)

<div class="topic-metadata">

**Author:** [@Fatima\_Elfakih](https://forum.ansible.com/u/Fatima_Elfakih)\
**Replies:** 2\
**Last updated:** [July 13, 2018, 2:06pm UTC](https://forum.ansible.com/t/ansible-2-5-with-centos-5/28043 "2018-07-13T14:06:00Z")

</div>

Hi, I hope manage my centos 5 machine with ansible 2.5 , any solution plz?

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

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