# Latest

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

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

**Page:** 553

---

## [Zenoss playbook](https://forum.ansible.com/t/zenoss-playbook/27653)

<div class="topic-metadata">

**Author:** [@Craig\_Massey](https://forum.ansible.com/u/Craig_Massey)\
**Replies:** 0\
**Last updated:** [May 28, 2018, 9:14pm UTC](https://forum.ansible.com/t/zenoss-playbook/27653 "2018-05-28T21:14:40Z")

</div>

A Zenoss user has posted a playbook to install it that I would like to use, but my experience with Ansible is limited and I can’t see how to drive it. Mainly, I’ve used Ansible from Vagrant and that handles the inventor…

---

## [Multiple conditions not working](https://forum.ansible.com/t/multiple-conditions-not-working/27643)

<div class="topic-metadata">

**Author:** [@Pranay\_Nanda](https://forum.ansible.com/u/Pranay_Nanda)\
**Replies:** 1\
**Last updated:** [May 28, 2018, 8:01pm UTC](https://forum.ansible.com/t/multiple-conditions-not-working/27643 "2018-05-28T20:01:10Z")

</div>

I want to run few tasks in shell if they satisfy a condition. Strangely the task runs if the second condition is satisfied even though the first one fails. name: ods shell: “/something {{state}}” when: ((ods) and (not…

---

## [How to use host ranges with \`ansible-playbook --limit\`?](https://forum.ansible.com/t/how-to-use-host-ranges-with-ansible-playbook-limit/26409)

<div class="topic-metadata">

**Author:** [@Frank\_Thommen](https://forum.ansible.com/u/Frank_Thommen)\
**Replies:** 4\
**Last updated:** [May 28, 2018, 3:56pm UTC](https://forum.ansible.com/t/how-to-use-host-ranges-with-ansible-playbook-limit/26409 "2018-05-28T15:56:17Z")

</div>

Hi, I assumed, that host ranges could be used with ansible-playbook's --limit as they can be used in the inventory itself. However this doesn't seem to be possible: $ ansible-playbook site.yml --limit='host\[010:027\]' …

---

## [apt module is not installing anything if package source is standard apt repository](https://forum.ansible.com/t/apt-module-is-not-installing-anything-if-package-source-is-standard-apt-repository/27652)

<div class="topic-metadata">

**Author:** [@f.floimair.commend](https://forum.ansible.com/u/f.floimair.commend)\
**Replies:** 3\
**Last updated:** [May 28, 2018, 2:17pm UTC](https://forum.ansible.com/t/apt-module-is-not-installing-anything-if-package-source-is-standard-apt-repository/27652 "2018-05-28T14:17:49Z")

</div>

Hi! I’m having an issue with the apt module and my playbook with Ansible 2.5.3 (2.5.2 is behaving the same). I’m running the following playbook snippet: tasks: name: Install packages required for VMs apt: name {{ …

---

## [win\_domain\_user:](https://forum.ansible.com/t/win-domain-user/27651)

<div class="topic-metadata">

**Author:** [@Ali\_Khawaja](https://forum.ansible.com/u/Ali_Khawaja)\
**Replies:** 0\
**Last updated:** [May 28, 2018, 9:12am UTC](https://forum.ansible.com/t/win-domain-user/27651 "2018-05-28T09:12:45Z")

</div>

i have a single server in my inventory and its a domain controller as well (server is created and promoted in the same script). when i try to create domain users using win\_domain\_user, it gives me the following error mes…

---

## [Need help with sros\_config ansible module](https://forum.ansible.com/t/need-help-with-sros-config-ansible-module/27650)

<div class="topic-metadata">

**Author:** [@Rakesh\_Sharma\_Madugu](https://forum.ansible.com/u/Rakesh_Sharma_Madugu)\
**Replies:** 0\
**Last updated:** [May 28, 2018, 9:12am UTC](https://forum.ansible.com/t/need-help-with-sros-config-ansible-module/27650 "2018-05-28T09:12:34Z")

</div>

Hi All, I am trying to use sros\_config/sros\_command module for alcatel switches. However when i run my plabook, connection to alcatel switch is failing. Are there any dependencies for connection establishment( such as e…

---

## [Windows OS installation/Deployment using Ansible](https://forum.ansible.com/t/windows-os-installation-deployment-using-ansible/27410)

<div class="topic-metadata">

**Author:** [@Lalit\_Choudhary](https://forum.ansible.com/u/Lalit_Choudhary)\
**Replies:** 3\
**Last updated:** [May 28, 2018, 6:50am UTC](https://forum.ansible.com/t/windows-os-installation-deployment-using-ansible/27410 "2018-05-28T06:50:08Z")

</div>

Hello Team, Is there any way to install Windows Operating System on remote machine using Ansible, if anyone know the Link or Guide to installation please let me know. I successfully did it for Linux OS. Thanks, Lalit …

---

## [Using ansible to manage windows 10 vm software applications with no Internet Access](https://forum.ansible.com/t/using-ansible-to-manage-windows-10-vm-software-applications-with-no-internet-access/27394)

<div class="topic-metadata">

**Author:** [@Matt\_Davies](https://forum.ansible.com/u/Matt_Davies)\
**Replies:** 3\
**Last updated:** [May 28, 2018, 6:47am UTC](https://forum.ansible.com/t/using-ansible-to-manage-windows-10-vm-software-applications-with-no-internet-access/27394 "2018-05-28T06:47:54Z")

</div>

Hi everyone I’ve been asked to look into using ansible to manage all the software on our windows10 vm farm. Here’s the kicker, neither the windows VM’s OR the ansible server will have internet access. I have no idea w…

---

## [Multiple plays in the same playbook resolve group variables incorrectly](https://forum.ansible.com/t/multiple-plays-in-the-same-playbook-resolve-group-variables-incorrectly/27648)

<div class="topic-metadata">

**Author:** [@Behrang](https://forum.ansible.com/u/Behrang)\
**Replies:** 1\
**Last updated:** [May 28, 2018, 4:53am UTC](https://forum.ansible.com/t/multiple-plays-in-the-same-playbook-resolve-group-variables-incorrectly/27648 "2018-05-28T04:53:30Z")

</div>

Source code: https://github.com/behrangsa/sample-ansible-role Background: I have three different environments: test, staging, and prod and 3 applications that I deploy to them. In staging and prod, each application ha…

---

## [delegate\_to not working](https://forum.ansible.com/t/delegate-to-not-working/27647)

<div class="topic-metadata">

**Author:** [@Manous](https://forum.ansible.com/u/Manous)\
**Replies:** 0\
**Last updated:** [May 27, 2018, 11:16pm UTC](https://forum.ansible.com/t/delegate-to-not-working/27647 "2018-05-27T23:16:17Z")

</div>

Hi, i have to understand “synchronize” module with “delegate\_to” i am installing corosync on 2 nodes here infos: \[corosync\] node\_a ansible\_host=192.168.122.200 node\_b ansible\_host=192.168.122.201 playbook.yml n…

---

## [Debug with with\_items and the Task Name.](https://forum.ansible.com/t/debug-with-with-items-and-the-task-name/27645)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 2\
**Last updated:** [May 27, 2018, 7:38pm UTC](https://forum.ansible.com/t/debug-with-with-items-and-the-task-name/27645 "2018-05-27T19:38:49Z")

</div>

Hi All Request your help on where to put the debug statement Requirement 1: If a package is missing the output should be like “Package {{ package name }} missing” When debug is used the task name does not display ins…

---

## [Ansible vars precendence](https://forum.ansible.com/t/ansible-vars-precendence/27644)

<div class="topic-metadata">

**Author:** [@Pranay\_Nanda](https://forum.ansible.com/u/Pranay_Nanda)\
**Replies:** 1\
**Last updated:** [May 27, 2018, 6:52pm UTC](https://forum.ansible.com/t/ansible-vars-precendence/27644 "2018-05-27T18:52:20Z")

</div>

I have an Ansible playbook that I want to load custom variables for. I do not have access to the inventory but I wish to classify the variables by their host names which can be classified in groups. The jobs would be fir…

---

## [Multiple conditions not working](https://forum.ansible.com/t/multiple-conditions-not-working/27642)

<div class="topic-metadata">

**Author:** [@Pranay\_Nanda](https://forum.ansible.com/u/Pranay_Nanda)\
**Replies:** 4\
**Last updated:** [May 27, 2018, 6:12pm UTC](https://forum.ansible.com/t/multiple-conditions-not-working/27642 "2018-05-27T18:12:06Z")

</div>

I want to run few tasks in shell if they satisfy a condition. Strangely the task runs if the second condition is satisfied even though the first one fails. name: ods shell: “/something {{state}}” when: ((ods) and (not…

---

## [Setting windows host/machine name using ansible](https://forum.ansible.com/t/setting-windows-host-machine-name-using-ansible/27640)

<div class="topic-metadata">

**Author:** [@Ali\_Khawaja](https://forum.ansible.com/u/Ali_Khawaja)\
**Replies:** 2\
**Last updated:** [May 27, 2018, 12:32pm UTC](https://forum.ansible.com/t/setting-windows-host-machine-name-using-ansible/27640 "2018-05-27T12:32:00Z")

</div>

Hi, is there a way in ansible to set the name of the windows host when we are creating the ec2 instance or maybe change it afterwards? Thanks Ali

---

## [win\_domain: The specified argument 'InstallDNS' was not recognized](https://forum.ansible.com/t/win-domain-the-specified-argument-installdns-was-not-recognized/27641)

<div class="topic-metadata">

**Author:** [@Ali\_Khawaja](https://forum.ansible.com/u/Ali_Khawaja)\
**Replies:** 0\
**Last updated:** [May 27, 2018, 11:49am UTC](https://forum.ansible.com/t/win-domain-the-specified-argument-installdns-was-not-recognized/27641 "2018-05-27T11:49:14Z")

</div>

Hi, i am creating a domain controller using win\_domain. when i ran the script again, its failing every time on win\_domain command with the following error message. TASK \[Promote server as Domain Controller\] \*\*\*\*\*\*\*\*\*\*\*…

---

## [ec2 creation vs ec2 retreival: different value of registered variable](https://forum.ansible.com/t/ec2-creation-vs-ec2-retreival-different-value-of-registered-variable/27639)

<div class="topic-metadata">

**Author:** [@David\_Villasmil](https://forum.ansible.com/u/David_Villasmil)\
**Replies:** 1\
**Last updated:** [May 27, 2018, 10:12am UTC](https://forum.ansible.com/t/ec2-creation-vs-ec2-retreival-different-value-of-registered-variable/27639 "2018-05-27T10:12:51Z")

</div>

Remove all formatting please

---

## [Ansible find module , can path parameter include regex ?](https://forum.ansible.com/t/ansible-find-module-can-path-parameter-include-regex/27628)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 2\
**Last updated:** [May 27, 2018, 9:25am UTC](https://forum.ansible.com/t/ansible-find-module-can-path-parameter-include-regex/27628 "2018-05-27T09:25:57Z")

</div>

Hi all , I'm trying to find files dit.xml under particular directories. Rather than mentioning the directories as a list like below Path : \[ /opt/local/version\_v1.3.1 , /opt/local/version\_v1.3.0 \] I tried /opt/local/…

---

## [Why does 'when' conditional test fail without jinja2 templating delimiters?](https://forum.ansible.com/t/why-does-when-conditional-test-fail-without-jinja2-templating-delimiters/27638)

<div class="topic-metadata">

**Author:** [@Darren\_S](https://forum.ansible.com/u/Darren_S)\
**Replies:** 2\
**Last updated:** [May 27, 2018, 7:34am UTC](https://forum.ansible.com/t/why-does-when-conditional-test-fail-without-jinja2-templating-delimiters/27638 "2018-05-27T07:34:40Z")

</div>

ansible 2.5.3 on OpenBSD 6.3 amd64 config file = /etc/ansible/ansible.cfg configured module search path = \[u'/home/dspruell/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'\] ansible python modu…

---

## [concatenate multiple results](https://forum.ansible.com/t/concatenate-multiple-results/27635)

<div class="topic-metadata">

**Author:** [@David\_Villasmil](https://forum.ansible.com/u/David_Villasmil)\
**Replies:** 2\
**Last updated:** [May 26, 2018, 6:51pm UTC](https://forum.ansible.com/t/concatenate-multiple-results/27635 "2018-05-26T18:51:21Z")

</div>

Hellos guys, I have a result from ec2\_instance\_facts, and i can get the ip addresses like: \` name: Get IP addresses from results set\_fact: inject\_ips: “{{ facts\_output | json\_query(‘instances.public\_ip\_address’) }}…

---

## [Counting and Displaying no of Successful and Failed Task in a playbook](https://forum.ansible.com/t/counting-and-displaying-no-of-successful-and-failed-task-in-a-playbook/27637)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 0\
**Last updated:** [May 26, 2018, 1:15pm UTC](https://forum.ansible.com/t/counting-and-displaying-no-of-successful-and-failed-task-in-a-playbook/27637 "2018-05-26T13:15:26Z")

</div>

Hi All, I have a play book, i need a help on how to display no of failed and successfull task as the out always , PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Run Ansible playbook progragmatically?](https://forum.ansible.com/t/run-ansible-playbook-progragmatically/27631)

<div class="topic-metadata">

**Author:** [@Richard\_O\_Hara](https://forum.ansible.com/u/Richard_O_Hara)\
**Replies:** 3\
**Last updated:** [May 26, 2018, 12:06pm UTC](https://forum.ansible.com/t/run-ansible-playbook-progragmatically/27631 "2018-05-26T12:06:08Z")

</div>

I have a python application that calls the code below with the plan to run an Ansible playbook programmatically via the Ansible API versus using something like subprocess. The code below runs but nothing actually seems …

---

## [how to set permissions on an S3 bucket](https://forum.ansible.com/t/how-to-set-permissions-on-an-s3-bucket/27634)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [May 26, 2018, 2:17am UTC](https://forum.ansible.com/t/how-to-set-permissions-on-an-s3-bucket/27634 "2018-05-26T02:17:24Z")

</div>

I can’t figure out how to set permissions on an S3 bucket after creating it. The s3 module will create a bucket (mode: create), but if I run it twice, the second time it says that the bucket already exists and does noth…

---

## [Need help to refer child group in jinja2 template file](https://forum.ansible.com/t/need-help-to-refer-child-group-in-jinja2-template-file/27612)

<div class="topic-metadata">

**Author:** [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 6:07pm UTC](https://forum.ansible.com/t/need-help-to-refer-child-group-in-jinja2-template-file/27612 "2018-05-25T18:07:35Z")

</div>

Hello All, Please help or suggest how I can solve this problem. I will pass -e group=“1” when calling playbook. Playbook - file.yml hosts: servers\_{{group}} task: … … inventory \[servers\_grp1\] server1 \[server…

---

## [os\_recordset module not working](https://forum.ansible.com/t/os-recordset-module-not-working/27632)

<div class="topic-metadata">

**Author:** [@sriman\_dharba](https://forum.ansible.com/u/sriman_dharba)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 5:56pm UTC](https://forum.ansible.com/t/os-recordset-module-not-working/27632 "2018-05-25T17:56:44Z")

</div>

Modifying subject line Hello I am using ansible 2.3.3.0 on openstack pike shade==1.28.0 ansible==2.3.3.0 python-designateclient==2.7.0 python-openstackclient==3.12.0 When i am trying to create a A record after ins…

---

## [Validate the deployment from role level](https://forum.ansible.com/t/validate-the-deployment-from-role-level/27630)

<div class="topic-metadata">

**Author:** [@BIJAY\_PARIDA](https://forum.ansible.com/u/BIJAY_PARIDA)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 3:29pm UTC](https://forum.ansible.com/t/validate-the-deployment-from-role-level/27630 "2018-05-25T15:29:44Z")

</div>

Hi, I want to validate two inventories files if they contain matching string and continue with the deployment based on the validation result. I don’t want to have a pre-task at the deployment level. I want the validati…

---

## [AWX and GNS3](https://forum.ansible.com/t/awx-and-gns3/27515)

<div class="topic-metadata">

**Author:** [@Miguel\_Cretu](https://forum.ansible.com/u/Miguel_Cretu)\
**Replies:** 4\
**Last updated:** [May 25, 2018, 2:23pm UTC](https://forum.ansible.com/t/awx-and-gns3/27515 "2018-05-25T14:23:11Z")

</div>

Hey everybody, I got a problem with AWX. I’m going to tell you about my situation. I have a network already installed in GNS3 and I would like to use AWX to launch playbooks to the different devices. How can I do I do …

---

## [Can I SSH to AWX Docker Container?](https://forum.ansible.com/t/can-i-ssh-to-awx-docker-container/27469)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 2\
**Last updated:** [May 25, 2018, 1:26pm UTC](https://forum.ansible.com/t/can-i-ssh-to-awx-docker-container/27469 "2018-05-25T13:26:11Z")

</div>

Can I SSH to AWX Docker Container?

---

## [Network Topology](https://forum.ansible.com/t/network-topology/27627)

<div class="topic-metadata">

**Author:** [@MarcG](https://forum.ansible.com/u/MarcG)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 11:40am UTC](https://forum.ansible.com/t/network-topology/27627 "2018-05-25T11:40:39Z")

</div>

Hi I watched this video and quite frankly I think this feature is an awesome idea. https://www.ansible.com/network-visualization-in-ansible-tower I was wondering is this demo based off code currently in AWX? I have the…

---

## [Module issue](https://forum.ansible.com/t/module-issue/27626)

<div class="topic-metadata">

**Author:** [@Rahul\_Gupta1](https://forum.ansible.com/u/Rahul_Gupta1)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 8:36am UTC](https://forum.ansible.com/t/module-issue/27626 "2018-05-25T08:36:03Z")

</div>

I have install ansible awx on ubuntu 18 but following error was found Identity added: /tmp/awx\_4\_qiwXtB/credential\_2 (/tmp/awx\_4\_qiwXtB/credential\_2) 2 ansible 2.5.3 3 config file = /etc/ansible/ansible.cfg 4 configu…

---

## [How to supress the \* in the anisble playbook output](https://forum.ansible.com/t/how-to-supress-the-in-the-anisble-playbook-output/27625)

<div class="topic-metadata">

**Author:** [@Venkatsm\_V](https://forum.ansible.com/u/Venkatsm_V)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 4:30am UTC](https://forum.ansible.com/t/how-to-supress-the-in-the-anisble-playbook-output/27625 "2018-05-25T04:30:47Z")

</div>

When we execute the ansible playbook, We have \* in screen. I would like to remove for my environment. HOw to do that ?. I tried the callback plugin suggested in https://stackoverflow.com/questions/49907174/ansible-remove…

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

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