# Latest

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

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

**Page:** 629

---

## [handler executing when it shouldn't be (variables)](https://forum.ansible.com/t/handler-executing-when-it-shouldnt-be-variables/25370)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [August 30, 2017, 5:35pm UTC](https://forum.ansible.com/t/handler-executing-when-it-shouldnt-be-variables/25370 "2017-08-30T17:35:20Z")

</div>

I have the following in my tasks/main.yml \` Enter code here.- name: Check if NetworkManager is running shell: “systemctl status NetworkManager” register: nm\_status changed\_when: false ignore\_errors: yes when: ansi…

---

## [Grep value from a dict of list of dict ...](https://forum.ansible.com/t/grep-value-from-a-dict-of-list-of-dict/25329)

<div class="topic-metadata">

**Author:** [@lovi](https://forum.ansible.com/u/lovi)\
**Replies:** 3\
**Last updated:** [August 30, 2017, 2:38pm UTC](https://forum.ansible.com/t/grep-value-from-a-dict-of-list-of-dict/25329 "2017-08-30T14:38:15Z")

</div>

Hello, I am struggling with this kind of structure : { “out.results”: \[ { “\_ansible\_item\_result”: true, “\_ansible\_no\_log”: false, “\_ansible\_parsed”: true, “changed”: false, “exitcode”: “NoChangeNeeded”, “featur…

---

## [Is the an equivalent of \`serial: 1\` looping over whole playbooks?](https://forum.ansible.com/t/is-the-an-equivalent-of-serial-1-looping-over-whole-playbooks/25368)

<div class="topic-metadata">

**Author:** [@nikobelia](https://forum.ansible.com/u/nikobelia)\
**Replies:** 0\
**Last updated:** [August 30, 2017, 2:01pm UTC](https://forum.ansible.com/t/is-the-an-equivalent-of-serial-1-looping-over-whole-playbooks/25368 "2017-08-30T14:01:25Z")

</div>

Hi Ansible list, I’m thinking my way through a solution to loop through a set of hosts and run a playbook against them one at a time. If the playbook had only one play in it that’d be easy: \` name: Do something again…

---

## [Ansible is in FREEZE for 2.4!](https://forum.ansible.com/t/ansible-is-in-freeze-for-2-4/25367)

<div class="topic-metadata">

**Author:** [@Jason\_McKerr](https://forum.ansible.com/u/Jason_McKerr)\
**Replies:** 0\
**Last updated:** [August 30, 2017, 12:59pm UTC](https://forum.ansible.com/t/ansible-is-in-freeze-for-2-4/25367 "2017-08-30T12:59:19Z")

</div>

Hello folks, To beat the drum again this week, we have solidified the release schedule for the next version of Ansible. For those interested, the roadmap for the next version can be found here. Core Engine Freeze and M…

---

## [Vmware\_guest](https://forum.ansible.com/t/vmware-guest/25350)

<div class="topic-metadata">

**Author:** [@olivier\_pouilly](https://forum.ansible.com/u/olivier_pouilly)\
**Replies:** 4\
**Last updated:** [August 30, 2017, 12:27pm UTC](https://forum.ansible.com/t/vmware-guest/25350 "2017-08-30T12:27:42Z")

</div>

Hi all, I recently discovered the module VMware\_guest for ansible. I would like to know how it’s work. Indeed I installed ansible version 2.3.2.0. and the module python 2.7.6 and PyVmomi. And when I run a ansible-playb…

---

## [Ansible playbook for accessing url](https://forum.ansible.com/t/ansible-playbook-for-accessing-url/25357)

<div class="topic-metadata">

**Author:** [@Seeram\_Venkatesh](https://forum.ansible.com/u/Seeram_Venkatesh)\
**Replies:** 2\
**Last updated:** [August 30, 2017, 11:52am UTC](https://forum.ansible.com/t/ansible-playbook-for-accessing-url/25357 "2017-08-30T11:52:20Z")

</div>

Hello Techies, I am improvising my Ansible skills in a very slow pace and I got stuck here: Is there anyway to hit my ticket management system (cherwell) url and login to it with credentials through Ansible? I’ve so fa…

---

## [azure\_rm.py: msrestazure.azure\_exceptions.CloudError: 403 Client Error](https://forum.ansible.com/t/azure-rm-py-msrestazure-azure-exceptions-clouderror-403-client-error/25366)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [August 30, 2017, 11:17am UTC](https://forum.ansible.com/t/azure-rm-py-msrestazure-azure-exceptions-clouderror-403-client-error/25366 "2017-08-30T11:17:35Z")

</div>

Hi, Ansible 2.4 git from 5 mins ago. Azure-SDK-for-python git from 20170824 I've created a Service Principal with Contributor role and am using a ~/.azure/credentials file. I've successfully launched a VM with Ansible…

---

## [how to get a list of upgradable packages from yum,apt or anothermodule](https://forum.ansible.com/t/how-to-get-a-list-of-upgradable-packages-from-yum-apt-or-anothermodule/25364)

<div class="topic-metadata">

**Author:** [@Karl\_Fiabeschi](https://forum.ansible.com/u/Karl_Fiabeschi)\
**Replies:** 1\
**Last updated:** [August 30, 2017, 7:25am UTC](https://forum.ansible.com/t/how-to-get-a-list-of-upgradable-packages-from-yum-apt-or-anothermodule/25364 "2017-08-30T07:25:13Z")

</div>

Hi there, is it possible with the yum or apt module to obtain a list of upgradable packages without upgrading them? Like the command “yum check-update” or “apt list --upgradable” Only output, json format is better …

---

## [problem on /r/ubuntu with installing weechat](https://forum.ansible.com/t/problem-on-r-ubuntu-with-installing-weechat/25363)

<div class="topic-metadata">

**Author:** [@hawk\_windesk](https://forum.ansible.com/u/hawk_windesk)\
**Replies:** 0\
**Last updated:** [August 30, 2017, 3:30am UTC](https://forum.ansible.com/t/problem-on-r-ubuntu-with-installing-weechat/25363 "2017-08-30T03:30:21Z")

</div>

Hiya guys, I donot wanna sound off-topic, but some-guy got onto /r/ubuntu https://redd.it/6wtj7m and needs a hands to guide him through using ansible on ubuntu for installing weechat. TBHonest that is our concern, d…

---

## [cloning a service for HA?](https://forum.ansible.com/t/cloning-a-service-for-ha/25326)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 9\
**Last updated:** [August 30, 2017, 12:02am UTC](https://forum.ansible.com/t/cloning-a-service-for-ha/25326 "2017-08-30T00:02:50Z")

</div>

when making a service thats set up remotely, in this case openvpn, id like to set it up on two machines that already have keepalived between them and have it listen on the floating address, so all requests will go to “ac…

---

## [Copy module can't find file, but normal cp command works correctly](https://forum.ansible.com/t/copy-module-cant-find-file-but-normal-cp-command-works-correctly/25361)

<div class="topic-metadata">

**Author:** [@Colin\_L](https://forum.ansible.com/u/Colin_L)\
**Replies:** 2\
**Last updated:** [August 29, 2017, 7:03pm UTC](https://forum.ansible.com/t/copy-module-cant-find-file-but-normal-cp-command-works-correctly/25361 "2017-08-29T19:03:15Z")

</div>

Hello, I am trying to use the copy module to do a simple copy; but I am getting an error that has me puzzled: Error that I get: AnsibleFileNotFound: Could not find or access ‘/root/Downloads/example.desktop’ I have c…

---

## [Attending the Ansible Contributor Conference in San Francisco](https://forum.ansible.com/t/attending-the-ansible-contributor-conference-in-san-francisco/25359)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg](https://forum.ansible.com/u/Greg_DeKoenigsberg)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 6:47pm UTC](https://forum.ansible.com/t/attending-the-ansible-contributor-conference-in-san-francisco/25359 "2017-08-29T18:47:20Z")

</div>

It seems like just a couple of months ago that we were all gathered together at AnsibleFest London…. Oh, right. It was just a couple of months ago! And here were are, just a week away from our next AnsibleFest. While t…

---

## [Connecting to Domain Controller without using a Domain Admin account](https://forum.ansible.com/t/connecting-to-domain-controller-without-using-a-domain-admin-account/25344)

<div class="topic-metadata">

**Author:** [@Adam\_Michaels](https://forum.ansible.com/u/Adam_Michaels)\
**Replies:** 2\
**Last updated:** [August 29, 2017, 6:41pm UTC](https://forum.ansible.com/t/connecting-to-domain-controller-without-using-a-domain-admin-account/25344 "2017-08-29T18:41:59Z")

</div>

Hello, I’ve been attempting to write playbooks that need to interact with Active Directory, I see now that a few official playbooks will be released in 2.4 that can manage AD groups and users which is sweet. My issue is…

---

## [Ansible playbook for accessing url](https://forum.ansible.com/t/ansible-playbook-for-accessing-url/25356)

<div class="topic-metadata">

**Author:** [@Seeram\_Venkatesh](https://forum.ansible.com/u/Seeram_Venkatesh)\
**Replies:** 3\
**Last updated:** [August 29, 2017, 5:53pm UTC](https://forum.ansible.com/t/ansible-playbook-for-accessing-url/25356 "2017-08-29T17:53:14Z")

</div>

Hello Techies, I am improvising my Ansible skills in a very slow pace and I got stuck here: Is there anyway to hit my ticket management system (cherwell) url and login to it with credentials through Ansible? I’ve so fa…

---

## [Not sure how to fix this](https://forum.ansible.com/t/not-sure-how-to-fix-this/25360)

<div class="topic-metadata">

**Author:** [@Jerry\_Eidson](https://forum.ansible.com/u/Jerry_Eidson)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 5:27pm UTC](https://forum.ansible.com/t/not-sure-how-to-fix-this/25360 "2017-08-29T17:27:31Z")

</div>

Hello All, I’ve been working with Ansible a few weeks. I am trying to create a list of yum file updates. I ordinarily run “sudo yum update --assume --changelog | tee /tmp/hostname | cut -d’.’ -f1\`.txt” to get the upda…

---

## [UNREACHABLE](https://forum.ansible.com/t/unreachable/25358)

<div class="topic-metadata">

**Author:** [@skippern999](https://forum.ansible.com/u/skippern999)\
**Replies:** 0\
**Last updated:** [August 29, 2017, 4:18pm UTC](https://forum.ansible.com/t/unreachable/25358 "2017-08-29T16:18:57Z")

</div>

Help! I start my ansible-playbook job and is running just fine, but then it throws the following error. fatal: \[xx.xx.103.60\]: UNREACHABLE! =\> {“changed”: false, “msg”: “Failed to connect to the host via ssh: Shared con…

---

## [Ansible evaluates all variables for each task and each iteration in the task despite the vars are not actually used](https://forum.ansible.com/t/ansible-evaluates-all-variables-for-each-task-and-each-iteration-in-the-task-despite-the-vars-are-not-actually-used/25353)

<div class="topic-metadata">

**Author:** [@Aleksandr\_Neshcheret](https://forum.ansible.com/u/Aleksandr_Neshcheret)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 2:03pm UTC](https://forum.ansible.com/t/ansible-evaluates-all-variables-for-each-task-and-each-iteration-in-the-task-despite-the-vars-are-not-actually-used/25353 "2017-08-29T14:03:19Z")

</div>

Hello everybody, I am using Ansible 2.3.1.1 with Jenkins. I have encountered the following issue - my playbook which uses variables from aws dynamic inventory becomes extremely slow. The most interesting case that if I …

---

## [cli based configuration via ansible](https://forum.ansible.com/t/cli-based-configuration-via-ansible/25355)

<div class="topic-metadata">

**Author:** [@raj\_kr](https://forum.ansible.com/u/raj_kr)\
**Replies:** 0\
**Last updated:** [August 29, 2017, 1:23pm UTC](https://forum.ansible.com/t/cli-based-configuration-via-ansible/25355 "2017-08-29T13:23:36Z")

</div>

I am trying to do some cli based config on a router via ansible, I can execute command on shell via ansible but is it possible to add any new config via cli command ?

---

## [Playbooks and diff](https://forum.ansible.com/t/playbooks-and-diff/25340)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 12:45pm UTC](https://forum.ansible.com/t/playbooks-and-diff/25340 "2017-08-29T12:45:38Z")

</div>

HI all, I have a simple playbook that only downloads configuration to a txt file, but where Im getting lost is that, when I finish the playbook I need that the txt files I download be compare against a master file, has …

---

## [How to use cpio related commands in playbooks?](https://forum.ansible.com/t/how-to-use-cpio-related-commands-in-playbooks/25354)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [August 29, 2017, 11:57am UTC](https://forum.ansible.com/t/how-to-use-cpio-related-commands-in-playbooks/25354 "2017-08-29T11:57:05Z")

</div>

AFAIK there isn't any module that can do this (yet). So you'd have to resort to command. Dick

---

## [Monit module doesn't seem to work as expected with ubuntu 16.04](https://forum.ansible.com/t/monit-module-doesnt-seem-to-work-as-expected-with-ubuntu-16-04/25339)

<div class="topic-metadata">

**Author:** [@naween](https://forum.ansible.com/u/naween)\
**Replies:** 2\
**Last updated:** [August 29, 2017, 11:54am UTC](https://forum.ansible.com/t/monit-module-doesnt-seem-to-work-as-expected-with-ubuntu-16-04/25339 "2017-08-29T11:54:48Z")

</div>

Hi, The monit module v2.1 seems to fail when I try to start/stop a process with it. It works however when I give the state as monitored/unmonitored. This is happening with ubuntu 16.04, but works fine with 14.04. Any s…

---

## [Unable to download the file using the get\_url](https://forum.ansible.com/t/unable-to-download-the-file-using-the-get-url/25352)

<div class="topic-metadata">

**Author:** [@vkishankalyan](https://forum.ansible.com/u/vkishankalyan)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 11:45am UTC](https://forum.ansible.com/t/unable-to-download-the-file-using-the-get-url/25352 "2017-08-29T11:45:42Z")

</div>

I am using the below playbook name: Downloading the file from URL get\_url: url: “http://{{url\_path\_with\_file\_name}}” dest: /tmp/ Command i used is ansible-playbook -vvvv test.ymal --extra-vars “url\_path\_with\_file\_…

---

## [Using with\_items with a dictionary](https://forum.ansible.com/t/using-with-items-with-a-dictionary/25347)

<div class="topic-metadata">

**Author:** [@Michael\_Bushey](https://forum.ansible.com/u/Michael_Bushey)\
**Replies:** 4\
**Last updated:** [August 29, 2017, 10:29am UTC](https://forum.ansible.com/t/using-with-items-with-a-dictionary/25347 "2017-08-29T10:29:48Z")

</div>

Hello, I have a dict that contains a list of sites. For each of these sites I would like to provide a list of symlinks to create provided by with\_items. Is this possible? I have Ansible 2.3.1.0. Thanks! Michael

---

## [How to make ansbile output ordered?](https://forum.ansible.com/t/how-to-make-ansbile-output-ordered/25349)

<div class="topic-metadata">

**Author:** [@guo\_tie](https://forum.ansible.com/u/guo_tie)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 7:08am UTC](https://forum.ansible.com/t/how-to-make-ansbile-output-ordered/25349 "2017-08-29T07:08:22Z")

</div>

I want ansbile output order as expect: For example, i hvae a group G with host A,B,C,D, If i use ansible G -m shell -a uname I want every time, the output host order is A ... B ... C ... D ...

---

## [delete the older files using Ansible play book](https://forum.ansible.com/t/delete-the-older-files-using-ansible-play-book/25328)

<div class="topic-metadata">

**Author:** [@bibhu](https://forum.ansible.com/u/bibhu)\
**Replies:** 4\
**Last updated:** [August 29, 2017, 1:51am UTC](https://forum.ansible.com/t/delete-the-older-files-using-ansible-play-book/25328 "2017-08-29T01:51:25Z")

</div>

I need to write an ansible script to solve the below requirement. i am trying to write script, few steps i have written but i am having some doubt how to lsit all the files older than 7 days, once we got the list of fies…

---

## [Issue using with\_items and git](https://forum.ansible.com/t/issue-using-with-items-and-git/25348)

<div class="topic-metadata">

**Author:** [@Shahar\_L](https://forum.ansible.com/u/Shahar_L)\
**Replies:** 2\
**Last updated:** [August 28, 2017, 9:58pm UTC](https://forum.ansible.com/t/issue-using-with-items-and-git/25348 "2017-08-28T21:58:44Z")

</div>

Hello, I’m trying to add my playbook step to clone from git repo and put the source repo’s and dest folder under group\_vars. group\_vars: \` repos: { src: “git@bitbucket.org:USER/REPO-Y.git”, dest: “/opt/REPO\_YYY/” } …

---

## [How should I avoid skipped tasks from displaying on the console](https://forum.ansible.com/t/how-should-i-avoid-skipped-tasks-from-displaying-on-the-console/21671)

<div class="topic-metadata">

**Author:** [@Tejas\_Gadaria1](https://forum.ansible.com/u/Tejas_Gadaria1)\
**Replies:** 11\
**Last updated:** [August 28, 2017, 9:43pm UTC](https://forum.ansible.com/t/how-should-i-avoid-skipped-tasks-from-displaying-on-the-console/21671 "2017-08-28T21:43:46Z")

</div>

Hi, I have couple of rollback task in the playbook, displayed as skipped tasked, on the console. \` TASK: \[deploy-stack | Deleting\_Validation\_Template\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* skipping: \[10.17.10.150\] TASK: \[depl…

---

## [GCE module and private IP addresses](https://forum.ansible.com/t/gce-module-and-private-ip-addresses/21741)

<div class="topic-metadata">

**Author:** [@Abdul\_Jabbar\_Azam](https://forum.ansible.com/u/Abdul_Jabbar_Azam)\
**Replies:** 3\
**Last updated:** [August 28, 2017, 8:43pm UTC](https://forum.ansible.com/t/gce-module-and-private-ip-addresses/21741 "2017-08-28T20:43:31Z")

</div>

Hello, I’d like to add a private IP address when creating google gce instances. Looking at the docs this doesn’t seem to be possible. http://docs.ansible.com/ansible/gce\_module.html. I am using version 2.1 from the sour…

---

## [How would you approach this?  Modifying DNS entries in ifcfg-\* files](https://forum.ansible.com/t/how-would-you-approach-this-modifying-dns-entries-in-ifcfg-files/25345)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 4\
**Last updated:** [August 28, 2017, 7:18pm UTC](https://forum.ansible.com/t/how-would-you-approach-this-modifying-dns-entries-in-ifcfg-files/25345 "2017-08-28T19:18:35Z")

</div>

I have been working on this for days. I don’t mind because I am learning a ton of stuff (as I am new to ansible), but the only way I can get this to work properly is to use a shell: module (utilizing sed). I would prefer…

---

## [Jinja2 - Cisco Access-list](https://forum.ansible.com/t/jinja2-cisco-access-list/25346)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 0\
**Last updated:** [August 28, 2017, 7:05pm UTC](https://forum.ansible.com/t/jinja2-cisco-access-list/25346 "2017-08-28T19:05:30Z")

</div>

Hi all I searching for a Jinja2 that can help me with my cisco router acls. And I found this but not sure if this will help me create my acls {% for key, value in vars\[‘access\_lists’\]|dictsort(false, ‘key’) %} {% if …

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

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