# Archives

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

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

**Page:** 275

---

## [Need to use raw module to enter bash shell but leads to a timeout](https://forum.ansible.com/t/need-to-use-raw-module-to-enter-bash-shell-but-leads-to-a-timeout/30796)

<div class="topic-metadata">

**Author:** [@Eren\_Karaaslan](https://forum.ansible.com/u/Eren_Karaaslan)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 6:00pm UTC](https://forum.ansible.com/t/need-to-use-raw-module-to-enter-bash-shell-but-leads-to-a-timeout/30796 "2019-07-17T18:00:16Z")

</div>

I have a remote machine which I ssh to and this leads to a command shell from which I need to enter the command “shell” to enter into the bash shell. I have tried to use the raw module to execute the command and it works…

---

## [Building docs locally requires Python \>= 3.5 and straight.plugin](https://forum.ansible.com/t/building-docs-locally-requires-python-3-5-and-straight-plugin/30804)

<div class="topic-metadata">

**Author:** [@acozine1](https://forum.ansible.com/u/acozine1)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 5:09pm UTC](https://forum.ansible.com/t/building-docs-locally-requires-python-3-5-and-straight-plugin/30804 "2019-07-17T17:09:42Z")

</div>

Hi folks, This applies to you if you build the Ansible documentation on the devel branch locally, with “make webdocs” or “make htmlsingle”. We’ve merged a PR that consolidates the build code and requires Python 3. As a…

---

## [Building docs locally requires Python \>= 3.5 and straight.plugin](https://forum.ansible.com/t/building-docs-locally-requires-python-3-5-and-straight-plugin/30803)

<div class="topic-metadata">

**Author:** [@acozine1](https://forum.ansible.com/u/acozine1)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 4:58pm UTC](https://forum.ansible.com/t/building-docs-locally-requires-python-3-5-and-straight-plugin/30803 "2019-07-17T16:58:14Z")

</div>

Hi folks, This applies to you if you build the Ansible documentation on the devel branch locally, with “make webdocs” or “make htmlsingle”. We’ve merged a PR that consolidates the build code and requires Python 3. As a…

---

## [Passing variable in EC2 Inventory Plugin](https://forum.ansible.com/t/passing-variable-in-ec2-inventory-plugin/30800)

<div class="topic-metadata">

**Author:** [@prasanth\_s](https://forum.ansible.com/u/prasanth_s)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 1:07pm UTC](https://forum.ansible.com/t/passing-variable-in-ec2-inventory-plugin/30800 "2019-07-17T13:07:01Z")

</div>

Hello Team, I am using the EC2 Inventory plugin to build a dynamic inventory for ansible to run. The inventory is built based on certain ec2 instance tags mentioned in the filters section of the plugin config so that I …

---

## [yum downgrade \<RPM\> is not working in Ansible Command module](https://forum.ansible.com/t/yum-downgrade-rpm-is-not-working-in-ansible-command-module/30798)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 14\
**Last updated:** [July 17, 2019, 9:30am UTC](https://forum.ansible.com/t/yum-downgrade-rpm-is-not-working-in-ansible-command-module/30798 "2019-07-17T09:30:20Z")

</div>

I am using Ansible command module to downgrade the package (assuming higher version is already installed and repo has both lower and higher version). I dont want to use Anisble yum module due to some constraints. I am …

---

## [enable\_plugin option in Ansible yum module does not work.](https://forum.ansible.com/t/enable-plugin-option-in-ansible-yum-module-does-not-work/30799)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 6:13am UTC](https://forum.ansible.com/t/enable-plugin-option-in-ansible-yum-module-does-not-work/30799 "2019-07-17T06:13:59Z")

</div>

I tried enable\_plugin option in Ansible yum module with yum-versionlock plugin for common use case of upgrade/downgrade. But it does not work. How enable\_plugin is supposed to be used , which all plugin we can provide h…

---

## [System Requirement for awx](https://forum.ansible.com/t/system-requirement-for-awx/30503)

<div class="topic-metadata">

**Author:** [@Pranjal\_Gupta](https://forum.ansible.com/u/Pranjal_Gupta)\
**Replies:** 5\
**Last updated:** [July 17, 2019, 6:00am UTC](https://forum.ansible.com/t/system-requirement-for-awx/30503 "2019-07-17T06:00:39Z")

</div>

Can someone tell me what is the system requirement (at max) for running awx and using it for production.

---

## [firewall playbook using when module](https://forum.ansible.com/t/firewall-playbook-using-when-module/30797)

<div class="topic-metadata">

**Author:** [@Annam\_Rafi1](https://forum.ansible.com/u/Annam_Rafi1)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 5:51am UTC](https://forum.ansible.com/t/firewall-playbook-using-when-module/30797 "2019-07-17T05:51:00Z")

</div>

I am trying to create a playbook to check if the firewall is running, if so add the rsyslog port. If the firewall is not running, id like to skip the port adding step. Please share some docs. I can’t seem to find any. So…

---

## [Testing Ansible roles with Molecule on OpenShift?](https://forum.ansible.com/t/testing-ansible-roles-with-molecule-on-openshift/30795)

<div class="topic-metadata">

**Author:** [@afeller](https://forum.ansible.com/u/afeller)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 10:25pm UTC](https://forum.ansible.com/t/testing-ansible-roles-with-molecule-on-openshift/30795 "2019-07-16T22:25:34Z")

</div>

I’ve spent a few hours digging around for solid documentation on the molecule site or examples of people doing this, however I’ve come up with nothing definitive. OpenShift documentation rightly advocates to limit privil…

---

## [Ansible vs sshd config](https://forum.ansible.com/t/ansible-vs-sshd-config/30791)

<div class="topic-metadata">

**Author:** [@Ermanno\_Travaglino](https://forum.ansible.com/u/Ermanno_Travaglino)\
**Replies:** 1\
**Last updated:** [July 16, 2019, 6:54pm UTC](https://forum.ansible.com/t/ansible-vs-sshd-config/30791 "2019-07-16T18:54:13Z")

</div>

Hi there, I’m using Ansible to manage target servers with following /etc/ssh/sshd\_config configuration: " … PasswordAuthentication no … ChallengeResponseAuthentication yes … " I have the root password of target …

---

## [regex\_replace in Ansible 2.8.0](https://forum.ansible.com/t/regex-replace-in-ansible-2-8-0/30794)

<div class="topic-metadata">

**Author:** [@Sam5](https://forum.ansible.com/u/Sam5)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 6:25pm UTC](https://forum.ansible.com/t/regex-replace-in-ansible-2-8-0/30794 "2019-07-16T18:25:01Z")

</div>

Using Ansible 2.8.0 on Centos 7 with Python 2.7.5 This regex\_replace hangs when there is no match. Any idea why this would hang? tasks: set\_fact: departStatusDownloadPattern: " (?sm).?\<TD.?Depart Status.?\<\\/TD\>\\s\\s …

---

## [shippable failed due to non-replicated code.  How can I force re-check ?](https://forum.ansible.com/t/shippable-failed-due-to-non-replicated-code-how-can-i-force-re-check/30793)

<div class="topic-metadata">

**Author:** [@d-little](https://forum.ansible.com/u/d-little)\
**Replies:** 2\
**Last updated:** [July 16, 2019, 6:08pm UTC](https://forum.ansible.com/t/shippable-failed-due-to-non-replicated-code-how-can-i-force-re-check/30793 "2019-07-16T18:08:26Z")

</div>

The Shippable CI failed on one of my PR’s with the following errors: 00:01 ERROR: Commit ae0ff3dc1819347652cab7589f26ca9339c7e5f9 was not found: 00:01 00:01 fatal: bad object ae0ff3dc1819347652cab7589f26ca9339c7e5f9 …

---

## [contribute to /lib/ansible/module\_utils/vmware.py](https://forum.ansible.com/t/contribute-to-lib-ansible-module-utils-vmware-py/30792)

<div class="topic-metadata">

**Author:** [@digitalsy](https://forum.ansible.com/u/digitalsy)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 3:26pm UTC](https://forum.ansible.com/t/contribute-to-lib-ansible-module-utils-vmware-py/30792 "2019-07-16T15:26:31Z")

</div>

Hi, I’m running into an issue where the facts being gathered by vmware\_deploy\_ovf module are not accurately being enumerated in the return instance when the target host has a bonded network configuration. I’ve sifted th…

---

## [How to log something in a custom module ?](https://forum.ansible.com/t/how-to-log-something-in-a-custom-module/30786)

<div class="topic-metadata">

**Author:** [@Hackcurly](https://forum.ansible.com/u/Hackcurly)\
**Replies:** 2\
**Last updated:** [July 16, 2019, 2:02pm UTC](https://forum.ansible.com/t/how-to-log-something-in-a-custom-module/30786 "2019-07-16T14:02:34Z")

</div>

Hi, I would like to know how to log some variable or other useful information directly in the “Ansible log” displayed when using “-vvvv”. I tried Display(), but it seems to be not in the same “context”. So what do you…

---

## [handling specific scenarios in package module](https://forum.ansible.com/t/handling-specific-scenarios-in-package-module/30720)

<div class="topic-metadata">

**Author:** [@Bubunia\_Patra](https://forum.ansible.com/u/Bubunia_Patra)\
**Replies:** 1\
**Last updated:** [July 16, 2019, 1:02pm UTC](https://forum.ansible.com/t/handling-specific-scenarios-in-package-module/30720 "2019-07-16T13:02:20Z")

</div>

Hi all, I am using package module to install packages in the system. But I need to handle a specific case for example some ubuntu kernel requires some specific command to be run for installing the package. https://docs…

---

## [set\_fact in with\_dict append loop only keeps last item](https://forum.ansible.com/t/set-fact-in-with-dict-append-loop-only-keeps-last-item/30790)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 2\
**Last updated:** [July 16, 2019, 9:06am UTC](https://forum.ansible.com/t/set-fact-in-with-dict-append-loop-only-keeps-last-item/30790 "2019-07-16T09:06:22Z")

</div>

Hi, set\_fact in with\_dict append loop only keeps last item . Is there any way to keep the whole list in the set\_fact. name: Print records set\_fact: imp\_records: “/home/ansible/{{ item.key }}/{{ item.value.version.sp…

---

## [Ansible-galaxy with http/s proxy](https://forum.ansible.com/t/ansible-galaxy-with-http-s-proxy/19132)

<div class="topic-metadata">

**Author:** [@Emilio\_Del\_Plato](https://forum.ansible.com/u/Emilio_Del_Plato)\
**Replies:** 10\
**Last updated:** [July 16, 2019, 8:28am UTC](https://forum.ansible.com/t/ansible-galaxy-with-http-s-proxy/19132 "2019-07-16T08:28:55Z")

</div>

Apologies if this has been covered somewhere and I missed it. Is it possible to have ansible-galaxy (CLI) connect using a proxy? we have our primary ansible box walled off and it needs to use a proxy to connect to the w…

---

## [AWX V5.0.0 and V6.0.0 no job output displayed](https://forum.ansible.com/t/awx-v5-0-0-and-v6-0-0-no-job-output-displayed/30722)

<div class="topic-metadata">

**Author:** [@Calum\_Butler](https://forum.ansible.com/u/Calum_Butler)\
**Replies:** 3\
**Last updated:** [July 16, 2019, 6:21am UTC](https://forum.ansible.com/t/awx-v5-0-0-and-v6-0-0-no-job-output-displayed/30722 "2019-07-16T06:21:56Z")

</div>

Morning all, The cause of this problem eludes me since I have been using the same playbook process to install AWX since before V4, I have had no blocking problems installing and using AWX . Since V5.0.0 I have had mult…

---

## [Digest for ansible-devel@googlegroups.com - 1 update in 1 topic](https://forum.ansible.com/t/digest-for-ansible-devel-googlegroups-com-1-update-in-1-topic/30789)

<div class="topic-metadata">

**Author:** [@saranyasridharan17](https://forum.ansible.com/u/saranyasridharan17)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 5:42am UTC](https://forum.ansible.com/t/digest-for-ansible-devel-googlegroups-com-1-update-in-1-topic/30789 "2019-07-16T05:42:50Z")

</div>

@tony, I am trying to use that with winrm server running in windows, I am getting error saying “Specified credentials is rejected by server”. How do I correct this issue ? Thanks, Saranya

---

## [introduce exception in inventory with all option](https://forum.ansible.com/t/introduce-exception-in-inventory-with-all-option/30747)

<div class="topic-metadata">

**Author:** [@Marcos\_Gonzalez](https://forum.ansible.com/u/Marcos_Gonzalez)\
**Replies:** 2\
**Last updated:** [July 15, 2019, 8:05pm UTC](https://forum.ansible.com/t/introduce-exception-in-inventory-with-all-option/30747 "2019-07-15T20:05:23Z")

</div>

Hi all Im checking to use dynamic inventory but Im having a problem when execute any tasks with all option because with dynamic inventory exists some servers that never connects for external reasons. Exist any form to i…

---

## [Provision Hyper-V virtual machines thru Ansible](https://forum.ansible.com/t/provision-hyper-v-virtual-machines-thru-ansible/30773)

<div class="topic-metadata">

**Author:** [@Neeraj\_Shah](https://forum.ansible.com/u/Neeraj_Shah)\
**Replies:** 2\
**Last updated:** [July 15, 2019, 3:20pm UTC](https://forum.ansible.com/t/provision-hyper-v-virtual-machines-thru-ansible/30773 "2019-07-15T15:20:24Z")

</div>

Hello All, I am newbie to Ansible. Can someone pls point me to resources or post some playbook code that deploys VM’s on a Hyper-V 2012 or 2016 server ? Alternatively, lets say if i have a golden image of a VM created …

---

## [evaluating a variable value as boolean](https://forum.ansible.com/t/evaluating-a-variable-value-as-boolean/30754)

<div class="topic-metadata">

**Author:** [@Shashank\_Dutt\_Jha](https://forum.ansible.com/u/Shashank_Dutt_Jha)\
**Replies:** 2\
**Last updated:** [July 15, 2019, 3:16pm UTC](https://forum.ansible.com/t/evaluating-a-variable-value-as-boolean/30754 "2019-07-15T15:16:56Z")

</div>

I have defined variable happened: true When am trying to use this variable in task in conditional when clause it failed when: {{happened}} | bool == true it gives error. what is the correct syntax to use it?

---

## [Using "update\_only" attribute with yum module reports different results in check mode](https://forum.ansible.com/t/using-update-only-attribute-with-yum-module-reports-different-results-in-check-mode/30787)

<div class="topic-metadata">

**Author:** [@Michael4](https://forum.ansible.com/u/Michael4)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 2:55pm UTC](https://forum.ansible.com/t/using-update-only-attribute-with-yum-module-reports-different-results-in-check-mode/30787 "2019-07-15T14:55:50Z")

</div>

Hi, I have a behavior that has existed since 2.5 (when the “update\_only” attribute was added to the yum module) and still exists with 2.8.2: When using the attribute “update\_only” with the yum module, when it comes acr…

---

## [Ansible NTP](https://forum.ansible.com/t/ansible-ntp/30785)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 1\
**Last updated:** [July 15, 2019, 2:34pm UTC](https://forum.ansible.com/t/ansible-ntp/30785 "2019-07-15T14:34:03Z")

</div>

I have compiled a configuration for NTP for my Linux Servers (RedHat, SLES, Debian, Ubuntu). When I run my playbook I get an error only for Debian. See below: main.yaml

---

## [connect to AWS instance as root doesn't fail](https://forum.ansible.com/t/connect-to-aws-instance-as-root-doesnt-fail/30760)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 5\
**Last updated:** [July 15, 2019, 1:50pm UTC](https://forum.ansible.com/t/connect-to-aws-instance-as-root-doesnt-fail/30760 "2019-07-15T13:50:00Z")

</div>

Hi, I tagged this onto the end of another question and didn’t get any answers… so am trying to figure it out myself, but the more I look at it the more I don’t understand. AWS Linux instances do not allow connecting vi…

---

## [jinja2 templating error : template error while templating string: unexpected char '@'](https://forum.ansible.com/t/jinja2-templating-error-template-error-while-templating-string-unexpected-char/30770)

<div class="topic-metadata">

**Author:** [@JiElPe-Fr381](https://forum.ansible.com/u/JiElPe-Fr381)\
**Replies:** 2\
**Last updated:** [July 15, 2019, 1:32pm UTC](https://forum.ansible.com/t/jinja2-templating-error-template-error-while-templating-string-unexpected-char/30770 "2019-07-15T13:32:05Z")

</div>

Dear all, I have defined a var which contains some special characters (actually, a password in a vault). Let’s assume the vault contains : \` myPasswd: foo@bar \` There is no problem when creating the encrypted file. …

---

## [Machine credential injector](https://forum.ansible.com/t/machine-credential-injector/30399)

<div class="topic-metadata">

**Author:** [@ahmed](https://forum.ansible.com/u/ahmed)\
**Replies:** 3\
**Last updated:** [July 15, 2019, 11:32am UTC](https://forum.ansible.com/t/machine-credential-injector/30399 "2019-07-15T11:32:13Z")

</div>

Hi, I create a AWX credential with machine type. How can I access username and password fields of this credential in a playbook ? Thank you.

---

## [Getting different error when trying reference with ref number of list and exact string name](https://forum.ansible.com/t/getting-different-error-when-trying-reference-with-ref-number-of-list-and-exact-string-name/30782)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 11:28am UTC](https://forum.ansible.com/t/getting-different-error-when-trying-reference-with-ref-number-of-list-and-exact-string-name/30782 "2019-07-15T11:28:54Z")

</div>

iam getting the proper value if i use the Reference number of list in my input file (3 is entry for EIL\_adaptor). Now if i try “ABC” instead of 3 it gives error tasks: name: Set file as variable include\_vars: file…

---

## [file path in "--extra-vars" prepending with "@"](https://forum.ansible.com/t/file-path-in-extra-vars-prepending-with/30781)

<div class="topic-metadata">

**Author:** [@kdt](https://forum.ansible.com/u/kdt)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 10:01am UTC](https://forum.ansible.com/t/file-path-in-extra-vars-prepending-with/30781 "2019-07-15T10:01:21Z")

</div>

If file name is passed to some variable through command line “–extra-vars” argument it is to be prepended with “@”. Does the same apply also to file paths (absolute, relative)?

---

## [using mail module with Windows roles](https://forum.ansible.com/t/using-mail-module-with-windows-roles/30779)

<div class="topic-metadata">

**Author:** [@Sam2](https://forum.ansible.com/u/Sam2)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 8:46am UTC](https://forum.ansible.com/t/using-mail-module-with-windows-roles/30779 "2019-07-15T08:46:56Z")

</div>

Hi all, I am facing an issue where I have written playbook with roles to configure and install Windows machines, the problem is when I try to send a notification email inside a task of a role, then the mail module will …

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

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