# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=292

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

**Page:** 293

---

## [Including roles dynamically make dependencies runs multiple time](https://forum.ansible.com/t/including-roles-dynamically-make-dependencies-runs-multiple-time/30255)

<div class="topic-metadata">

**Author:** [@Bleacks](https://forum.ansible.com/u/Bleacks)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 10:58am UTC](https://forum.ansible.com/t/including-roles-dynamically-make-dependencies-runs-multiple-time/30255 "2019-05-06T10:58:01Z")

</div>

Hello everyone, (this is my first post BTW, I’ll try to be as clear as possible) I want to include roles dynamically using this bit of code in my playbook.yml : \` tasks: name: “Including roles dynamically” remote\_…

---

## [Configuring huawei NE series devices using ansible.](https://forum.ansible.com/t/configuring-huawei-ne-series-devices-using-ansible/30268)

<div class="topic-metadata">

**Author:** [@vicky.singh](https://forum.ansible.com/u/vicky.singh)\
**Replies:** 0\
**Last updated:** [May 6, 2019, 7:33am UTC](https://forum.ansible.com/t/configuring-huawei-ne-series-devices-using-ansible/30268 "2019-05-06T07:33:01Z")

</div>

Hey, I see that there are modules available for huawei ce series devices but i couldn’t find any for NE series devices. Is using netconf commands (netconf\_config, netconf\_rpc, netconf\_get) my only option ?

---

## [socket.timout() while connecting to a junos devices via network\_cli](https://forum.ansible.com/t/socket-timout-while-connecting-to-a-junos-devices-via-network-cli/30240)

<div class="topic-metadata">

**Author:** [@vicky.singh](https://forum.ansible.com/u/vicky.singh)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 7:30am UTC](https://forum.ansible.com/t/socket-timout-while-connecting-to-a-junos-devices-via-network-cli/30240 "2019-05-06T07:30:35Z")

</div>

I was exploring ansible and the first step i tried was getting some information from a router (a virtual gns3 image). I am able to connect to the device using ssh, get into it’s cli and run commands normally but not via…

---

## [Merge variables (dicts, lists) with same names from different yml files](https://forum.ansible.com/t/merge-variables-dicts-lists-with-same-names-from-different-yml-files/30119)

<div class="topic-metadata">

**Author:** [@Frank\_Fllr](https://forum.ansible.com/u/Frank_Fllr)\
**Replies:** 2\
**Last updated:** [May 5, 2019, 4:45pm UTC](https://forum.ansible.com/t/merge-variables-dicts-lists-with-same-names-from-different-yml-files/30119 "2019-05-05T16:45:51Z")

</div>

Hi, I need to loop over a directory with yml files all containing the same variable names (dicts, list, simple vars) e.g. ---- file1.yml ---- serviceconf: document: xxx: “{{ ansible\_hostname }}”:8080 proxyconf: /…

---

## [How to install Ansible with Windows 10 (Operating System)](https://forum.ansible.com/t/how-to-install-ansible-with-windows-10-operating-system/22637)

<div class="topic-metadata">

**Author:** [@Satish](https://forum.ansible.com/u/Satish)\
**Replies:** 7\
**Last updated:** [May 5, 2019, 5:33am UTC](https://forum.ansible.com/t/how-to-install-ansible-with-windows-10-operating-system/22637 "2019-05-05T05:33:12Z")

</div>

Hello Community, I m very new to Ansible environment. I have decided to develop a networking project with Ansible. Because Ansible is simplast and is much cleaner because it automates the process of getting context befo…

---

## [Enabling delegate\_to on include\_role via block](https://forum.ansible.com/t/enabling-delegate-to-on-include-role-via-block/30266)

<div class="topic-metadata">

**Author:** [@Tim\_Diels](https://forum.ansible.com/u/Tim_Diels)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 11:38pm UTC](https://forum.ansible.com/t/enabling-delegate-to-on-include-role-via-block/30266 "2019-05-04T23:38:56Z")

</div>

Hi, I noticed that while: include\_role: name: myrole delegate\_to: somehost will not delegate the included role, this will: block: include\_role: name: myrole delegate\_to: somehost Is this by design, i.e. I may …

---

## [Need help on how to generate a configuration file and use it to start my client](https://forum.ansible.com/t/need-help-on-how-to-generate-a-configuration-file-and-use-it-to-start-my-client/30178)

<div class="topic-metadata">

**Author:** [@Des\_Sindatry](https://forum.ansible.com/u/Des_Sindatry)\
**Replies:** 2\
**Last updated:** [May 4, 2019, 2:20pm UTC](https://forum.ansible.com/t/need-help-on-how-to-generate-a-configuration-file-and-use-it-to-start-my-client/30178 "2019-05-04T14:20:01Z")

</div>

Hello, I have a configuration file which i need to generate using ansible. The key question is how to generate this file ? what module can i use ? example: There are close to 25 lines like this which i have to generat…

---

## [ERROR! Syntax Error while loading YAML.   mapping values are not allowed in this context](https://forum.ansible.com/t/error-syntax-error-while-loading-yaml-mapping-values-are-not-allowed-in-this-context/30256)

<div class="topic-metadata">

**Author:** [@opitz](https://forum.ansible.com/u/opitz)\
**Replies:** 2\
**Last updated:** [May 4, 2019, 2:14pm UTC](https://forum.ansible.com/t/error-syntax-error-while-loading-yaml-mapping-values-are-not-allowed-in-this-context/30256 "2019-05-04T14:14:43Z")

</div>

I have the following playbook:

---

## [leftover on AMI after using Ansible with Packer](https://forum.ansible.com/t/leftover-on-ami-after-using-ansible-with-packer/30249)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 1\
**Last updated:** [May 4, 2019, 2:11pm UTC](https://forum.ansible.com/t/leftover-on-ami-after-using-ansible-with-packer/30249 "2019-05-04T14:11:03Z")

</div>

Hello, I use Ansible to configure OS which is base for Packer to create AMI for AWS and disk image for Azure. AMI bases on Amazon Linux and Azure image on Ubuntu image. The whole process works fine, however somehow o…

---

## [Syntax Error with postgresql\_query module](https://forum.ansible.com/t/syntax-error-with-postgresql-query-module/30264)

<div class="topic-metadata">

**Author:** [@magnani95](https://forum.ansible.com/u/magnani95)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 9:31am UTC](https://forum.ansible.com/t/syntax-error-with-postgresql-query-module/30264 "2019-05-04T09:31:37Z")

</div>

Hi, I have to create and populate a DB with Ansible. I successfully create the db, but when I add the postgresql\_query I got syntax error. I also tried to add the code from documentation (here) but it get the same. Th…

---

## [Swagger based code generation for Ansible Modules & idempotency questions](https://forum.ansible.com/t/swagger-based-code-generation-for-ansible-modules-idempotency-questions/30263)

<div class="topic-metadata">

**Author:** [@Ravi\_Tandon](https://forum.ansible.com/u/Ravi_Tandon)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 7:18pm UTC](https://forum.ansible.com/t/swagger-based-code-generation-for-ansible-modules-idempotency-questions/30263 "2019-05-03T19:18:54Z")

</div>

Hello Ansible Developers, I am from the Developer Experience team at Oracle Cloud Infrastructure and wanted to get dev community’s take on code generation and idempotency in Ansible modules, and any future improvements …

---

## [Copying files from vsphere datastore to host](https://forum.ansible.com/t/copying-files-from-vsphere-datastore-to-host/30259)

<div class="topic-metadata">

**Author:** [@spongebob33167](https://forum.ansible.com/u/spongebob33167)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 6:54pm UTC](https://forum.ansible.com/t/copying-files-from-vsphere-datastore-to-host/30259 "2019-05-03T18:54:24Z")

</div>

With vsphere\_copy, I can upload files to a vsphere datastore, but I want to download a .vmdk file from a datastore to my local server. Is there an ansible module that will let me download from a datastore?

---

## [Bug when during installation of awx:4.0.0](https://forum.ansible.com/t/bug-when-during-installation-of-awx-4-0-0/30260)

<div class="topic-metadata">

**Author:** [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 4:38pm UTC](https://forum.ansible.com/t/bug-when-during-installation-of-awx-4-0-0/30260 "2019-05-03T16:38:18Z")

</div>

hello, when i tried to install awx version 4.0.0 with docker compose on linux , i get this problem in the last task of playbook " start containers" : the problem is related to the awx\_rabbitmq container , please hel…

---

## [Check allocation\_unit\_size](https://forum.ansible.com/t/check-allocation-unit-size/30261)

<div class="topic-metadata">

**Author:** [@Maxime\_Gendrot](https://forum.ansible.com/u/Maxime_Gendrot)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 2:23pm UTC](https://forum.ansible.com/t/check-allocation-unit-size/30261 "2019-05-03T14:23:41Z")

</div>

Hi, I Would like to use win\_disk\_facts to check allocation\_unit\_size for each disk. I can do it with powershell: ($wql = “SELECT Label, Blocksize, Name FROM Win32\_Volume WHERE FileSystem=‘NTFS’” Get-WmiObject -Query …

---

## [dns-options ISSUE](https://forum.ansible.com/t/dns-options-issue/30258)

<div class="topic-metadata">

**Author:** [@cristian.fernandez](https://forum.ansible.com/u/cristian.fernandez)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 12:40pm UTC](https://forum.ansible.com/t/dns-options-issue/30258 "2019-05-03T12:40:53Z")

</div>

Hi all, I have a problem with dns options in awx\_task container, the directive “options ndots:value” is configured to 0 in /etc/resolv.conf. I want configure them to 1 but when I restart the awx\_task container come back …

---

## [Can use setup module with in Vcenter](https://forum.ansible.com/t/can-use-setup-module-with-in-vcenter/30254)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 7:30am UTC](https://forum.ansible.com/t/can-use-setup-module-with-in-vcenter/30254 "2019-05-03T07:30:43Z")

</div>

I need obtain network info (IP, netmask, gateway, Broadcast…) in vcenter machines with my ansible machine and I obtain network with setup module, but of my Ansible machine. Can use hostname, password, username… ?

---

## [Splunk logging only activity\_stream for new templates](https://forum.ansible.com/t/splunk-logging-only-activity-stream-for-new-templates/30253)

<div class="topic-metadata">

**Author:** [@Abhinav\_anand](https://forum.ansible.com/u/Abhinav_anand)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 5:35am UTC](https://forum.ansible.com/t/splunk-logging-only-activity-stream-for-new-templates/30253 "2019-05-03T05:35:18Z")

</div>

Hi Team, I am seeing a strange issue , all my old templates logs activity\_stream, job\_events etc in splunk ( whatever I have defined) but when I create new templates, only activity\_stream is being dumped. Anyone experi…

---

## [AWX NFS](https://forum.ansible.com/t/awx-nfs/30252)

<div class="topic-metadata">

**Author:** [@fmontaldo3](https://forum.ansible.com/u/fmontaldo3)\
**Replies:** 1\
**Last updated:** [May 2, 2019, 8:04pm UTC](https://forum.ansible.com/t/awx-nfs/30252 "2019-05-02T20:04:33Z")

</div>

Hi folks, I want to know if there is a way that AWX to configure the web interface of AWX in order to upload files. Thanks in advence

---

## [Upstream Ansible 2.8.0rc2 released](https://forum.ansible.com/t/upstream-ansible-2-8-0rc2-released/30251)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 6:06pm UTC](https://forum.ansible.com/t/upstream-ansible-2-8-0rc2-released/30251 "2019-05-02T18:06:51Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.0rc2 is now available! How do you get it?

---

## [how do I properly set ANSIBLE\_BECOME\_PASS ?](https://forum.ansible.com/t/how-do-i-properly-set-ansible-become-pass/30232)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 4:16pm UTC](https://forum.ansible.com/t/how-do-i-properly-set-ansible-become-pass/30232 "2019-05-02T16:16:25Z")

</div>

Hello! Sorry to be so lame. What combination of environment vars do I need to set in order to not get prompted for a SUDO password?! I’ve tried setting ANSIBLE\_BECOME\_PASS and ANSIBLE\_ASK\_BECOME\_PASS=False but I still g…

---

## [conflicting action statements: shell, async](https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213)

<div class="topic-metadata">

**Author:** [@grimlinzz](https://forum.ansible.com/u/grimlinzz)\
**Replies:** 1\
**Last updated:** [May 2, 2019, 3:41pm UTC](https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213 "2019-05-02T15:41:42Z")

</div>

Hello, i installed ansible 2.7.10 with pip. Extract from the playbook : \` \` name: stop the host shell: sleep 2 && shutdown -h now “Ansible updates triggered” async: 1 poll: 0 ignore\_errors: true \` \` when i ru…

---

## [setting up  “physical path credentials to IIS WebApp using win\_iis\_webapplication”  in Ansible](https://forum.ansible.com/t/setting-up-physical-path-credentials-to-iis-webapp-using-win-iis-webapplication-in-ansible/30205)

<div class="topic-metadata">

**Author:** [@Venu\_Gopal](https://forum.ansible.com/u/Venu_Gopal)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 1:14pm UTC](https://forum.ansible.com/t/setting-up-physical-path-credentials-to-iis-webapp-using-win-iis-webapplication-in-ansible/30205 "2019-05-02T13:14:44Z")

</div>

I am trying to create the Webapplication using Ansible with the win\_iis\_webapplication command. I am unable to set the “physical path credentials” for the site using this command. Could someone help me on how to pass the…

---

## [i can't list hard disk info](https://forum.ansible.com/t/i-cant-list-hard-disk-info/30243)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 12:01pm UTC](https://forum.ansible.com/t/i-cant-list-hard-disk-info/30243 "2019-05-02T12:01:37Z")

</div>

Hi, i use this playbook:

---

## [how to use ansible -m setup in playbook?](https://forum.ansible.com/t/how-to-use-ansible-m-setup-in-playbook/30246)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 11:52am UTC](https://forum.ansible.com/t/how-to-use-ansible-m-setup-in-playbook/30246 "2019-05-02T11:52:41Z")

</div>

I want to use ansible -m setup in playbook to take ip information and I dont know how to do it

---

## [how to obtain ip info](https://forum.ansible.com/t/how-to-obtain-ip-info/30244)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 11:51am UTC](https://forum.ansible.com/t/how-to-obtain-ip-info/30244 "2019-05-02T11:51:21Z")

</div>

I need ip, gateway and netmask info

---

## [i can't list object](https://forum.ansible.com/t/i-cant-list-object/30241)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 11:49am UTC](https://forum.ansible.com/t/i-cant-list-object/30241 "2019-05-02T11:49:30Z")

</div>

Hi, i’m use this playbook

---

## [How to restore Templates and Projects ?](https://forum.ansible.com/t/how-to-restore-templates-and-projects/28441)

<div class="topic-metadata">

**Author:** [@Vi\_Kan](https://forum.ansible.com/u/Vi_Kan)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 10:10am UTC](https://forum.ansible.com/t/how-to-restore-templates-and-projects/28441 "2019-05-02T10:10:10Z")

</div>

Hi! Unfortunately, I ran into problem with upgrading awx to 1.0.7. I had tried to update existing awx. Now my instance doesn’t work. Than I made a dump of awx database, made fresh install and imported it. Now I can logi…

---

## [how to create a new hard disk?](https://forum.ansible.com/t/how-to-create-a-new-hard-disk/30242)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 6:55am UTC](https://forum.ansible.com/t/how-to-create-a-new-hard-disk/30242 "2019-05-02T06:55:22Z")

</div>

I know to use this task: name: Add HardDisk vmware\_guest: hostname: “{{ hostname }}” username: “{{ username }}” password: “{{ password }}” validate\_certs: no folder: / name: “{{vm}}” disk: size\_gb: “{{gb}}” Cr…

---

## [Edit list of AD-HOC command to be visible and execute from AWX drop down list](https://forum.ansible.com/t/edit-list-of-ad-hoc-command-to-be-visible-and-execute-from-awx-drop-down-list/30229)

<div class="topic-metadata">

**Author:** [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 5:10am UTC](https://forum.ansible.com/t/edit-list-of-ad-hoc-command-to-be-visible-and-execute-from-awx-drop-down-list/30229 "2019-05-02T05:10:57Z")

</div>

Hello Experts, I was wondering, Is there a way to edit or enable new modules in the existing list of Ad-hoc command in AWX ? When browsing I landed to one of the webinar from Matt Jones , who explains it is possible in…

---

## [Sprints during PyCon US 2019](https://forum.ansible.com/t/sprints-during-pycon-us-2019/30239)

<div class="topic-metadata">

**Author:** [@sdoran](https://forum.ansible.com/u/sdoran)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 4:26am UTC](https://forum.ansible.com/t/sprints-during-pycon-us-2019/30239 "2019-05-02T04:26:58Z")

</div>

We will be hosting Ansible sprints during PyCon US 2019 in Cleveland, OH May 6-7. Sprints are free to attend for anyone, even if you are not attending the conference itself. We would love to see you there if you are atte…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=291)

[Next page](https://forum.ansible.com/c/archives/31.md?page=293)
