# Archives

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

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

**Page:** 269

---

## [POWER SHELL QUESTIONS](https://forum.ansible.com/t/power-shell-questions/30976)

<div class="topic-metadata">

**Author:** [@ronny\_saavedra](https://forum.ansible.com/u/ronny_saavedra)\
**Replies:** 1\
**Last updated:** [August 7, 2019, 4:04pm UTC](https://forum.ansible.com/t/power-shell-questions/30976 "2019-08-07T16:04:36Z")

</div>

Good morning, I’m in a vcenter using powershell commands for Linux machines, I’m trying to rename or change (Name for CPU and NumCpu for CPUs) but it doesn’t work out, I hope you can help me. The command used is this: …

---

## [Exposing variables from connection plugin](https://forum.ansible.com/t/exposing-variables-from-connection-plugin/30975)

<div class="topic-metadata">

**Author:** [@Juan\_A\_S](https://forum.ansible.com/u/Juan_A_S)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 3:44pm UTC](https://forum.ansible.com/t/exposing-variables-from-connection-plugin/30975 "2019-08-07T15:44:42Z")

</div>

Hello all I have modified the psrp plugin, so when connecting, it also stablishes an SSH connection with a SOCKS proxy in a random port, so psrp connection is stablished using that SOCKS proxy. As this is a random numbe…

---

## [dynamic inventory](https://forum.ansible.com/t/dynamic-inventory/30932)

<div class="topic-metadata">

**Author:** [@Sloan](https://forum.ansible.com/u/Sloan)\
**Replies:** 1\
**Last updated:** [August 7, 2019, 3:09pm UTC](https://forum.ansible.com/t/dynamic-inventory/30932 "2019-08-07T15:09:05Z")

</div>

I am trying to get dynamic inventory working. I have not found much on the internet or in the docs that give a high level overview as to how the configs and files relate. Any tips? Can I get some suggestions on my dynam…

---

## [ecs\_taskdefinition module not creating new revision](https://forum.ansible.com/t/ecs-taskdefinition-module-not-creating-new-revision/21899)

<div class="topic-metadata">

**Author:** [@Niko\_Ruotsalainen](https://forum.ansible.com/u/Niko_Ruotsalainen)\
**Replies:** 4\
**Last updated:** [August 7, 2019, 2:46pm UTC](https://forum.ansible.com/t/ecs-taskdefinition-module-not-creating-new-revision/21899 "2019-08-07T14:46:33Z")

</div>

Hi, I’m trying to use ecs\_taskdefinition module to create task definitions to ECS. I’m using example from https://docs.ansible.com/ansible/ecs\_taskdefinition\_module.html \` --- - hosts: localhost tasks: - name:…

---

## [How to escape doublequote and curly braces](https://forum.ansible.com/t/how-to-escape-doublequote-and-curly-braces/30969)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 4\
**Last updated:** [August 7, 2019, 12:26pm UTC](https://forum.ansible.com/t/how-to-escape-doublequote-and-curly-braces/30969 "2019-08-07T12:26:09Z")

</div>

i want to have an output as follows: ‘{“components”:“my\_variable”}’ from my playbook. name: Review the Joined List set\_fact: jetty\_c: “{{ ''{"\\components”:“' + my\_joined\_list + '”}‘’ }}" Its giving me error. Can y…

---

## [using variable from another file](https://forum.ansible.com/t/using-variable-from-another-file/30966)

<div class="topic-metadata">

**Author:** [@Noctis\_Geek](https://forum.ansible.com/u/Noctis_Geek)\
**Replies:** 3\
**Last updated:** [August 7, 2019, 12:10pm UTC](https://forum.ansible.com/t/using-variable-from-another-file/30966 "2019-08-07T12:10:30Z")

</div>

Hello, I would like to know the syntax that would allow me to retrieve the contents of a file and use it to make a variable in a new file in my example I have my YAML configuration file and I have a VARIABLE file and I d…

---

## [Error in ansible Python API](https://forum.ansible.com/t/error-in-ansible-python-api/30974)

<div class="topic-metadata">

**Author:** [@PranavBarve](https://forum.ansible.com/u/PranavBarve)\
**Replies:** 1\
**Last updated:** [August 7, 2019, 10:58am UTC](https://forum.ansible.com/t/error-in-ansible-python-api/30974 "2019-08-07T10:58:00Z")

</div>

I have encountered an error while working with ansible Python API. Error : “the connection plugin ‘\<class ‘ansible.utils.sentinel.Sentinel’\>’ was not found” I googled this error and found this answer : https://github.c…

---

## [Error in ansible Python API](https://forum.ansible.com/t/error-in-ansible-python-api/30973)

<div class="topic-metadata">

**Author:** [@PranavBarve](https://forum.ansible.com/u/PranavBarve)\
**Replies:** 0\
**Last updated:** [August 7, 2019, 10:06am UTC](https://forum.ansible.com/t/error-in-ansible-python-api/30973 "2019-08-07T10:06:23Z")

</div>

I have encountered an error while working with ansible Python API. Error : “the connection plugin ‘\<class ‘ansible.utils.sentinel.Sentinel’\>’ was not found” I googled this error and found this answer : https://github.c…

---

## [yum: Installroot to empty directory](https://forum.ansible.com/t/yum-installroot-to-empty-directory/30972)

<div class="topic-metadata">

**Author:** [@Oleg\_Kotsar](https://forum.ansible.com/u/Oleg_Kotsar)\
**Replies:** 0\
**Last updated:** [August 7, 2019, 9:23am UTC](https://forum.ansible.com/t/yum-installroot-to-empty-directory/30972 "2019-08-07T09:23:21Z")

</div>

Hello. I would like to install the base CentOS to a specify directory, example to /var/centos. The directory is empty. I usage the next command in yum: \` yum --disablerepo=‘\*’ --enablerepo=‘base,updates’ --releasever=…

---

## [Help for variable defination](https://forum.ansible.com/t/help-for-variable-defination/30930)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 3\
**Last updated:** [August 7, 2019, 8:23am UTC](https://forum.ansible.com/t/help-for-variable-defination/30930 "2019-08-07T08:23:06Z")

</div>

HI Ansible Gurus, I have a specific snippet of code which i defined in default/main.yaml of a role xyz. sw\_yum\_repositories: name: sw description: Dangerous sw file: sw-gw baseurl: “” enabled: no gpgcheck: “{{gp…

---

## [Limitations for tags in Ansible](https://forum.ansible.com/t/limitations-for-tags-in-ansible/30951)

<div class="topic-metadata">

**Author:** [@Derek\_Chan](https://forum.ansible.com/u/Derek_Chan)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 3:34am UTC](https://forum.ansible.com/t/limitations-for-tags-in-ansible/30951 "2019-08-07T03:34:35Z")

</div>

Hi everyone, I am planning to use ansible to execute a long list of task but I would like users to select which task to execute with the help of some GUI from Python. Is there any limitations of the number of tags I can …

---

## [Check attempt count in runtime](https://forum.ansible.com/t/check-attempt-count-in-runtime/30967)

<div class="topic-metadata">

**Author:** [@Zolvaring](https://forum.ansible.com/u/Zolvaring)\
**Replies:** 1\
**Last updated:** [August 6, 2019, 7:32pm UTC](https://forum.ansible.com/t/check-attempt-count-in-runtime/30967 "2019-08-06T19:32:51Z")

</div>

I’m trying to work with an API in an idempotent and DRY fashion and cannot find a way to do this for the life of me. What I want to do is hit an endpoint with POST, detect if the response indicates the resource already e…

---

## [Variable encapsulation](https://forum.ansible.com/t/variable-encapsulation/30965)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [August 6, 2019, 2:31pm UTC](https://forum.ansible.com/t/variable-encapsulation/30965 "2019-08-06T14:31:46Z")

</div>

You want to use the vars lookup: when: item.value != lookup(‘vars’, item.label)

---

## [import\_tasks: vs include: when using when: conditional](https://forum.ansible.com/t/import-tasks-vs-include-when-using-when-conditional/30958)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 2\
**Last updated:** [August 6, 2019, 2:25pm UTC](https://forum.ansible.com/t/import-tasks-vs-include-when-using-when-conditional/30958 "2019-08-06T14:25:31Z")

</div>

Simple tasks, where I want the “Remote git configuration” task to only be run when apache2\_configuration == ‘git’ debug: msg: “DEBUG: {{ apache2\_configuration }}” tags: apache2-servers name: Remote git configurat…

---

## [AWX VMWare Dynamic Script Updating IP Address as Cluster IP instead of Server IP Address](https://forum.ansible.com/t/awx-vmware-dynamic-script-updating-ip-address-as-cluster-ip-instead-of-server-ip-address/30953)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 3\
**Last updated:** [August 6, 2019, 1:26pm UTC](https://forum.ansible.com/t/awx-vmware-dynamic-script-updating-ip-address-as-cluster-ip-instead-of-server-ip-address/30953 "2019-08-06T13:26:31Z")

</div>

I have been testing VMWare Dynamic inventory script (which ships with AWX 4.0.0.0) and recently noticed an issue where the sync results in the dynamic inventory script pulling and updating the IP address for the server a…

---

## [Regex pattern for selecting an inverted word on a list of strings](https://forum.ansible.com/t/regex-pattern-for-selecting-an-inverted-word-on-a-list-of-strings/30964)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 1\
**Last updated:** [August 6, 2019, 1:12pm UTC](https://forum.ansible.com/t/regex-pattern-for-selecting-an-inverted-word-on-a-list-of-strings/30964 "2019-08-06T13:12:58Z")

</div>

The goal is to select all the lines of a list which do NOT contain a specific word. For instance, “{{ files }}” contains a list of filenames. We need to select all the filenames which do not include the word ‘all’. So …

---

## [New Ansible release 2.8.0](https://forum.ansible.com/t/new-ansible-release-2-8-0/30353)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 2\
**Last updated:** [August 6, 2019, 12:55pm UTC](https://forum.ansible.com/t/new-ansible-release-2-8-0/30353 "2019-08-06T12:55:17Z")

</div>

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

---

## [Modify/Create connection plugin](https://forum.ansible.com/t/modify-create-connection-plugin/30962)

<div class="topic-metadata">

**Author:** [@Juan\_A\_S](https://forum.ansible.com/u/Juan_A_S)\
**Replies:** 0\
**Last updated:** [August 6, 2019, 12:03pm UTC](https://forum.ansible.com/t/modify-create-connection-plugin/30962 "2019-08-06T12:03:28Z")

</div>

Hi all, i want to modify/create the psrp connection plugin to launch a SSH socks proxy command with a random port before connection and dynamically set the psrp proxy according to that port. How could I integrate this ne…

---

## [Ansible any\_errors\_fatal does not work as expected. Need Fix](https://forum.ansible.com/t/ansible-any-errors-fatal-does-not-work-as-expected-need-fix/30957)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 3\
**Last updated:** [August 6, 2019, 9:31am UTC](https://forum.ansible.com/t/ansible-any-errors-fatal-does-not-work-as-expected-need-fix/30957 "2019-08-06T09:31:38Z")

</div>

I’m on the latest version of ansible while the python version is 2.7.5 Hi, Ansible any\_errors\_fatal module does not work as expected. Below is my ansible playbook which is expected to terminate execution as soon as it …

---

## [AWX 1.0.6.15/41 : win\_ping module FAILED ntlm code 403](https://forum.ansible.com/t/awx-1-0-6-15-41-win-ping-module-failed-ntlm-code-403/30960)

<div class="topic-metadata">

**Author:** [@Cedric\_A](https://forum.ansible.com/u/Cedric_A)\
**Replies:** 0\
**Last updated:** [August 6, 2019, 9:21am UTC](https://forum.ansible.com/t/awx-1-0-6-15-41-win-ping-module-failed-ntlm-code-403/30960 "2019-08-06T09:21:35Z")

</div>

Hi, My goal is to use AWX to do some actions on Windows servers (in a big company). From the command line I can ping my test server with the win\_ping module from my Ubuntu VM (18.04) with the Ansible package (v2.8.3). …

---

## [MANAGE LOGICMONITOR VIA ANSIBLE](https://forum.ansible.com/t/manage-logicmonitor-via-ansible/30950)

<div class="topic-metadata">

**Author:** [@Pramod\_Thombare](https://forum.ansible.com/u/Pramod_Thombare)\
**Replies:** 7\
**Last updated:** [August 6, 2019, 8:06am UTC](https://forum.ansible.com/t/manage-logicmonitor-via-ansible/30950 "2019-08-06T08:06:43Z")

</div>

Hello Team , i want to SDT logic monitor devices and device group via ansible , using the ansible doc i created playbook for same . but it shows module error , any one here can help me out of these issue . Regards, Pr…

---

## [Ansible VMWare Dynamic inventory script pulling Cluster IP instead of server IP](https://forum.ansible.com/t/ansible-vmware-dynamic-inventory-script-pulling-cluster-ip-instead-of-server-ip/30952)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 1\
**Last updated:** [August 6, 2019, 6:13am UTC](https://forum.ansible.com/t/ansible-vmware-dynamic-inventory-script-pulling-cluster-ip-instead-of-server-ip/30952 "2019-08-06T06:13:24Z")

</div>

I have been testing VMWare Dynamic inventory script (which ships with AWX 4.0.0.0) and recently noticed an issue where the sync results in the dynamic inventory script pulling and updating the IP address for the server a…

---

## [Ansible \[Errno 13\] Permission denied](https://forum.ansible.com/t/ansible-errno-13-permission-denied/30946)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 7\
**Last updated:** [August 6, 2019, 1:37am UTC](https://forum.ansible.com/t/ansible-errno-13-permission-denied/30946 "2019-08-06T01:37:03Z")

</div>

Hello All, Can I please get some help on this issue I have been trying to figure out for hours now. When I run the below command: I am trying to run the below command from my: Mac and connect to an amazon linux 2 serv…

---

## [Variable within variable](https://forum.ansible.com/t/variable-within-variable/30956)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 5:18pm UTC](https://forum.ansible.com/t/variable-within-variable/30956 "2019-08-05T17:18:45Z")

</div>

I have the following and there may be several vlans per switch. “cisco\_ios.vlans”: { “35”: { “id”: “35”, “mtu”: “1500”, “name”: “CC\_internal\_subnet\_35”, “ports”: \[ “GigabitEthernet1/0/1”, “GigabitEthernet1/0/2”, …

---

## [generate playbook from blueprint](https://forum.ansible.com/t/generate-playbook-from-blueprint/30955)

<div class="topic-metadata">

**Author:** [@tomevision](https://forum.ansible.com/u/tomevision)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 3:24pm UTC](https://forum.ansible.com/t/generate-playbook-from-blueprint/30955 "2019-08-05T15:24:22Z")

</div>

Hello, using Cloudify I have created a tosca based blueprint it is YAML file, then I want to generate my playbook based on this YAML file. is this possible to do?

---

## [azure\_rm\_deployment module showing "MODULE FAILURE" with ansible 2.6 version but the same works with ansible 2.8 version](https://forum.ansible.com/t/azure-rm-deployment-module-showing-module-failure-with-ansible-2-6-version-but-the-same-works-with-ansible-2-8-version/30954)

<div class="topic-metadata">

**Author:** [@rajini\_kamu](https://forum.ansible.com/u/rajini_kamu)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 1:36pm UTC](https://forum.ansible.com/t/azure-rm-deployment-module-showing-module-failure-with-ansible-2-6-version-but-the-same-works-with-ansible-2-8-version/30954 "2019-08-05T13:36:40Z")

</div>

azure\_rm\_deployment module showing “MODULE FAILURE” with ansible 2.6 version but the same modules works with ansible 2.8 version and we can able to deploy resource in azure cloud environment. As advised by Linux team, W…

---

## [Ansible callback](https://forum.ansible.com/t/ansible-callback/30948)

<div class="topic-metadata">

**Author:** [@jegansignup](https://forum.ansible.com/u/jegansignup)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 8:58am UTC](https://forum.ansible.com/t/ansible-callback/30948 "2019-08-05T08:58:09Z")

</div>

Hello All, Can anyone help me on this. I have requirement that send notify to LogicMonitor if any unexpected results are returned by ansible. I have checked supported callback module there I couldn’t find any module for…

---

## [Ansible for openstack](https://forum.ansible.com/t/ansible-for-openstack/30949)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 4\
**Last updated:** [August 5, 2019, 8:32am UTC](https://forum.ansible.com/t/ansible-for-openstack/30949 "2019-08-05T08:32:03Z")

</div>

Hi All, I have provisoned one instance with following order in openstack using Ansible: Download cloud image upload cloud image in Openstack created key pair created network created subnet created router created secur…

---

## [ovirt\_vm - HTTP response code is 404](https://forum.ansible.com/t/ovirt-vm-http-response-code-is-404/30938)

<div class="topic-metadata">

**Author:** [@Alexander\_Li](https://forum.ansible.com/u/Alexander_Li)\
**Replies:** 2\
**Last updated:** [August 5, 2019, 3:27am UTC](https://forum.ansible.com/t/ovirt-vm-http-response-code-is-404/30938 "2019-08-05T03:27:25Z")

</div>

Hi Expert, Currently I’m using Ansible 2.8.1 module ovirt\_vm for provisioning VM in RHEV 4.0. I able to log in to RHEV using ovirt\_auth but when I provision VM using ovirt\_vm, it failed with error 404. Could you give …

---

## [Assistance on debugging issue win\_xml](https://forum.ansible.com/t/assistance-on-debugging-issue-win-xml/30947)

<div class="topic-metadata">

**Author:** [@Picante](https://forum.ansible.com/u/Picante)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 3:00am UTC](https://forum.ansible.com/t/assistance-on-debugging-issue-win-xml/30947 "2019-08-05T03:00:11Z")

</div>

Hi, I am having some issues using the win\_xml module, I am hoping to do a bit more troubleshooting. I tried to follow some of the instructions of the following link but i wasn’t successful in setting up a debugging env…

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

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