# Latest

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

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

**Page:** 583

---

## [ansible script module fails in ansible 2.3.1](https://forum.ansible.com/t/ansible-script-module-fails-in-ansible-2-3-1/26751)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 9:22pm UTC](https://forum.ansible.com/t/ansible-script-module-fails-in-ansible-2-3-1/26751 "2018-02-15T21:22:07Z")

</div>

Hello, I am running powershell script using script module on ansible core 2.3.1.0. But it works on older version ansible core 2.2. Is this a bug in ansible 2.3 and higher version, any fixes or any workarounds would be a…

---

## [How does Ansible works when ansbile user can't get enter-pssession](https://forum.ansible.com/t/how-does-ansible-works-when-ansbile-user-cant-get-enter-pssession/26744)

<div class="topic-metadata">

**Author:** [@user92](https://forum.ansible.com/u/user92)\
**Replies:** 4\
**Last updated:** [February 15, 2018, 9:20pm UTC](https://forum.ansible.com/t/how-does-ansible-works-when-ansbile-user-cant-get-enter-pssession/26744 "2018-02-15T21:20:20Z")

</div>

Hi there. I have odd question, but i need to ask it. I set up Ansible to use windows account with limitied rights. All I do for this account is to write it’s sid into rootsddl for Wirm. This user can’t logon via RDP a…

---

## [Reading INI inventory file from S3](https://forum.ansible.com/t/reading-ini-inventory-file-from-s3/26725)

<div class="topic-metadata">

**Author:** [@Archit\_Baweja](https://forum.ansible.com/u/Archit_Baweja)\
**Replies:** 7\
**Last updated:** [February 15, 2018, 9:19pm UTC](https://forum.ansible.com/t/reading-ini-inventory-file-from-s3/26725 "2018-02-15T21:19:39Z")

</div>

Hey all, In my workflow at work, we us Ansible for managing dynamically provisioned Azure VMs after they’re provisioned. Currently our provisioning scripts setup the Azure VMs, and then generate an ansible inventory fil…

---

## [Looping through registered lines](https://forum.ansible.com/t/looping-through-registered-lines/26750)

<div class="topic-metadata">

**Author:** [@Ian\_Barrere](https://forum.ansible.com/u/Ian_Barrere)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 9:00pm UTC](https://forum.ansible.com/t/looping-through-registered-lines/26750 "2018-02-15T21:00:42Z")

</div>

I have a task for a Cisco device where I register zero or more lines to come back to later: name: gather non-standard usernames ios\_command: commands: show running-config | include username register: usernames I wo…

---

## [Run pre/post tasks once with serial 1](https://forum.ansible.com/t/run-pre-post-tasks-once-with-serial-1/26740)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 10\
**Last updated:** [February 15, 2018, 6:31pm UTC](https://forum.ansible.com/t/run-pre-post-tasks-once-with-serial-1/26740 "2018-02-15T18:31:27Z")

</div>

I have a playbook where I would like to do a task once before starting a couple roles and once after roles with serial 1. I thought I could accomplish this with pre and post tasks but it looks like they are called once p…

---

## [letsencrypt module - account\_key](https://forum.ansible.com/t/letsencrypt-module-account-key/26726)

<div class="topic-metadata">

**Author:** [@Michael\_Bubb](https://forum.ansible.com/u/Michael_Bubb)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 6:18pm UTC](https://forum.ansible.com/t/letsencrypt-module-account-key/26726 "2018-02-15T18:18:38Z")

</div>

Hello - I am a little confused by what is needed in the account\_key parameter. The docs say it is: File containing the Let’s Encrypt account RSA key. Can be created with openssl rsa .... | | I know when I firs…

---

## [ansible with jenkins pipeline](https://forum.ansible.com/t/ansible-with-jenkins-pipeline/26733)

<div class="topic-metadata">

**Author:** [@Sidh](https://forum.ansible.com/u/Sidh)\
**Replies:** 1\
**Last updated:** [February 15, 2018, 6:17pm UTC](https://forum.ansible.com/t/ansible-with-jenkins-pipeline/26733 "2018-02-15T18:17:41Z")

</div>

Hi, Anyone using ansible with jenkins pipeline ? Can you please point me to some documentation with examples ? Regards, Sidh

---

## [os\_server module rerun always fails](https://forum.ansible.com/t/os-server-module-rerun-always-fails/26749)

<div class="topic-metadata">

**Author:** [@Sven\_Leupold](https://forum.ansible.com/u/Sven_Leupold)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 6:10pm UTC](https://forum.ansible.com/t/os-server-module-rerun-always-fails/26749 "2018-02-15T18:10:49Z")

</div>

Hi I wonder if you experience the same problem with os\_server if you run an openstack playbook twice or more. If I run os\_server after the initial vm setup was successful, it always fails. Destroying vm’s with state: a…

---

## [Marshalling Cisco AireOS/WLC devices with ansible](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845)

<div class="topic-metadata">

**Author:** [@cognifloyd](https://forum.ansible.com/u/cognifloyd)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 5:06pm UTC](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845 "2018-02-15T17:06:35Z")

</div>

Hey all, I just filed #22098: “Feature Idea: Add module for Cisco AireOS devices (WLCs)”. We have a Cisco WLC where we need to dynamically create/destroy or enable/disable wireless networks. I even need to dynamically …

---

## [Gathering facts when the target does not have Python or internet access?](https://forum.ansible.com/t/gathering-facts-when-the-target-does-not-have-python-or-internet-access/26746)

<div class="topic-metadata">

**Author:** [@Matt\_Hickok](https://forum.ansible.com/u/Matt_Hickok)\
**Replies:** 3\
**Last updated:** [February 15, 2018, 3:21pm UTC](https://forum.ansible.com/t/gathering-facts-when-the-target-does-not-have-python-or-internet-access/26746 "2018-02-15T15:21:36Z")

</div>

I’m looking to use Ansible as a way of gathering information about nodes on a network – things like CPU architecture, kernel, basic things that would be captured by the setup module. While all of these devices will be r…

---

## [How to pass command line arguments when installing a rpm file](https://forum.ansible.com/t/how-to-pass-command-line-arguments-when-installing-a-rpm-file/26747)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 3:04pm UTC](https://forum.ansible.com/t/how-to-pass-command-line-arguments-when-installing-a-rpm-file/26747 "2018-02-15T15:04:20Z")

</div>

shell is batch only, you want http://docs.ansible.com/ansible/latest/expect\_module.html

---

## [Questions about file copy / modification](https://forum.ansible.com/t/questions-about-file-copy-modification/26745)

<div class="topic-metadata">

**Author:** [@Sacha\_Lrt](https://forum.ansible.com/u/Sacha_Lrt)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 10:13am UTC](https://forum.ansible.com/t/questions-about-file-copy-modification/26745 "2018-02-15T10:13:02Z")

</div>

Hello everybody ! I’m kind of new around here and a fresh new Ansible user ! So my questions may sounds little bit stupid… Anyway ! My environment is the following : I’m using ansible to manage VM behind a bastion. So …

---

## [WinRM configuration script error](https://forum.ansible.com/t/winrm-configuration-script-error/18401)

<div class="topic-metadata">

**Author:** [@Rene\_Metery](https://forum.ansible.com/u/Rene_Metery)\
**Replies:** 9\
**Last updated:** [February 15, 2018, 8:53am UTC](https://forum.ansible.com/t/winrm-configuration-script-error/18401 "2018-02-15T08:53:27Z")

</div>

Hi, I am currently configuring a windows computer to accept remote access from ansible and I am having a problem while running the script ConfigureRemotingForAnsible.ps1. Here is the error : PS D:\\Ansible\\Power Shell …

---

## [Checking for undefined, empty or null variables](https://forum.ansible.com/t/checking-for-undefined-empty-or-null-variables/26729)

<div class="topic-metadata">

**Author:** [@jn.bedag](https://forum.ansible.com/u/jn.bedag)\
**Replies:** 6\
**Last updated:** [February 15, 2018, 7:51am UTC](https://forum.ansible.com/t/checking-for-undefined-empty-or-null-variables/26729 "2018-02-15T07:51:46Z")

</div>

This is my example playbook:

---

## [Jinja2 Template and Dictionary issue](https://forum.ansible.com/t/jinja2-template-and-dictionary-issue/26731)

<div class="topic-metadata">

**Author:** [@Owen\_Corcoran](https://forum.ansible.com/u/Owen_Corcoran)\
**Replies:** 3\
**Last updated:** [February 15, 2018, 6:02am UTC](https://forum.ansible.com/t/jinja2-template-and-dictionary-issue/26731 "2018-02-15T06:02:12Z")

</div>

Can anyone help me with the below, maybe my approach is wrong. What I’m trying to do is to create from a template a keepalived file based on the elements in a dictionary. I’ve included the code below, when its ran the e…

---

## [BUG?  'AnsibleSequence' object has no attribute 'strip'](https://forum.ansible.com/t/bug-ansiblesequence-object-has-no-attribute-strip/26727)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 1\
**Last updated:** [February 15, 2018, 1:28am UTC](https://forum.ansible.com/t/bug-ansiblesequence-object-has-no-attribute-strip/26727 "2018-02-15T01:28:45Z")

</div>

I don't know if I have a syntax issue or a bug. Thought before filing a bug I would see what you guys thought. I have a bunch of roles/playbooks I wish to execute against new servers. Here is what I have come up wi…

---

## [Roles are download to a different directory when running ansible-galaxy install?](https://forum.ansible.com/t/roles-are-download-to-a-different-directory-when-running-ansible-galaxy-install/26742)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 0\
**Last updated:** [February 14, 2018, 10:39pm UTC](https://forum.ansible.com/t/roles-are-download-to-a-different-directory-when-running-ansible-galaxy-install/26742 "2018-02-14T22:39:46Z")

</div>

Ansible v2.4.0.0 I have a requirements file that specifies the Git repo for each role that I want to use in my playbook, and I do the following to install the roles from our internal galaxy \` cd /path\_to\_playbook ans…

---

## [Jobs not executing](https://forum.ansible.com/t/jobs-not-executing/26403)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 7\
**Last updated:** [February 14, 2018, 9:35pm UTC](https://forum.ansible.com/t/jobs-not-executing/26403 "2018-02-14T21:35:11Z")

</div>

Our AWX implementation has suddenly stopped launching jobs. When launching them from templates, they got queued properly but then just get stuck “STATUS” of “Pending”, and the Standard Out field just shows “Waiting for r…

---

## [BUG or Operating As Designed?](https://forum.ansible.com/t/bug-or-operating-as-designed/26738)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 8:32pm UTC](https://forum.ansible.com/t/bug-or-operating-as-designed/26738 "2018-02-14T20:32:19Z")

</div>

I have the following playbook: \`

---

## [AWX 1.0.3.41 - Cannot see newly added playbook in list after sync of source control project](https://forum.ansible.com/t/awx-1-0-3-41-cannot-see-newly-added-playbook-in-list-after-sync-of-source-control-project/26737)

<div class="topic-metadata">

**Author:** [@Chris\_Kinsella](https://forum.ansible.com/u/Chris_Kinsella)\
**Replies:** 1\
**Last updated:** [February 14, 2018, 7:02pm UTC](https://forum.ansible.com/t/awx-1-0-3-41-cannot-see-newly-added-playbook-in-list-after-sync-of-source-control-project/26737 "2018-02-14T19:02:32Z")

</div>

Hi I’m running AWX in Docker. We have a project which fetches our git repo with ansible playbooks from github.com which is successful and pulls the repo files to a sub-folder under /var/lib/awx/projects/ When I attemp…

---

## [Trouble with win\_package](https://forum.ansible.com/t/trouble-with-win-package/26736)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 6:46pm UTC](https://forum.ansible.com/t/trouble-with-win-package/26736 "2018-02-14T18:46:50Z")

</div>

All, I’m running version 2.3 (can’t update to 2.4 just yet) and, despite what should be super stupid simple, I’ve never been able to get win\_package to work. I’ve changed up my win\_package play in every conceivable way,…

---

## [junos error](https://forum.ansible.com/t/junos-error/26735)

<div class="topic-metadata">

**Author:** [@DOkuwa](https://forum.ansible.com/u/DOkuwa)\
**Replies:** 0\
**Last updated:** [February 14, 2018, 5:44pm UTC](https://forum.ansible.com/t/junos-error/26735 "2018-02-14T17:44:58Z")

</div>

Hello I am trying to backup config on a juniper router without success and getting an error message ansible@ansible-new:/etc/ansible$ ansible-playbook -i hosts backup\_config-junos-facts.yml --user=ansible --extra-vars …

---

## [Ansible 2.5.0 Alpha 1 is available](https://forum.ansible.com/t/ansible-2-5-0-alpha-1-is-available/26634)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 5:38pm UTC](https://forum.ansible.com/t/ansible-2-5-0-alpha-1-is-available/26634 "2018-02-14T17:38:21Z")

</div>

Hi all! We’re happy to announce that Alpha 1 for 2.5.0 is now available. Note that while the core engine is feature complete, community module freeze is next week, so new modules and features will appear in the next pre…

---

## [Upgrade from 1.9 to 2.4 throws "recursive loop detected" error](https://forum.ansible.com/t/upgrade-from-1-9-to-2-4-throws-recursive-loop-detected-error/26715)

<div class="topic-metadata">

**Author:** [@K\_Seshadri\_Iyer](https://forum.ansible.com/u/K_Seshadri_Iyer)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 2:25pm UTC](https://forum.ansible.com/t/upgrade-from-1-9-to-2-4-throws-recursive-loop-detected-error/26715 "2018-02-14T14:25:01Z")

</div>

Ansible newbie alert ! I am upgrading from 1.9 to 2.4. A play that works fine in the former throws up the error: recursive loop detected in template string: {{ service\_down | default(1) }}"} The last lines in the foll…

---

## [Looping over nested inventory items with conditional](https://forum.ansible.com/t/looping-over-nested-inventory-items-with-conditional/26724)

<div class="topic-metadata">

**Author:** [@Jason3](https://forum.ansible.com/u/Jason3)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 2:24pm UTC](https://forum.ansible.com/t/looping-over-nested-inventory-items-with-conditional/26724 "2018-02-14T14:24:01Z")

</div>

Hey all, We’re migrating from a single load balancer pair for all systems (dev/test/qa/prod) to separate pairs for dev/test and qa/prod. As a result, my previous task to pull nodes from the pool on the load balancer wil…

---

## [ansible-pull query](https://forum.ansible.com/t/ansible-pull-query/26652)

<div class="topic-metadata">

**Author:** [@sriman\_dharba](https://forum.ansible.com/u/sriman_dharba)\
**Replies:** 1\
**Last updated:** [February 14, 2018, 1:41pm UTC](https://forum.ansible.com/t/ansible-pull-query/26652 "2018-02-14T13:41:15Z")

</div>

Hello I am using ansible-pull along with cron to perform hardening and predependencies for my infra. I am managing all the contents of ansible playbooks/roles/inventory in git I am using a seperate directory name templa…

---

## [Ansible vmware\_guest creates vmware vm, but hostname does not changes. Also creates a additional junk folder](https://forum.ansible.com/t/ansible-vmware-guest-creates-vmware-vm-but-hostname-does-not-changes-also-creates-a-additional-junk-folder/26682)

<div class="topic-metadata">

**Author:** [@Ajay\_Sharma](https://forum.ansible.com/u/Ajay_Sharma)\
**Replies:** 1\
**Last updated:** [February 14, 2018, 12:50pm UTC](https://forum.ansible.com/t/ansible-vmware-guest-creates-vmware-vm-but-hostname-does-not-changes-also-creates-a-additional-junk-folder/26682 "2018-02-14T12:50:52Z")

</div>

HI Everyone. this Ansible yaml script creates vmware vm from previous template, but does not changes its host name. also creates a additional folder named here is the screen shot attached. The vmware\_guest module crea…

---

## [problem use vmware\_guest network with awx](https://forum.ansible.com/t/problem-use-vmware-guest-network-with-awx/26728)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 1\
**Last updated:** [February 14, 2018, 12:36pm UTC](https://forum.ansible.com/t/problem-use-vmware-guest-network-with-awx/26728 "2018-02-14T12:36:37Z")

</div>

i try to clone from template networks: name: 82\_Server-demo device\_type: vmxnet3 ip: “{{vmware\_machine\_ip}}” netmask: “{{vmware\_machine\_net.netmask}}” gateway: “{{vmware\_machine\_net.gateway}}” wait\_for\_ip\_address…

---

## [Ansible 2.3 support in AWX](https://forum.ansible.com/t/ansible-2-3-support-in-awx/26718)

<div class="topic-metadata">

**Author:** [@Satyapal\_Singh](https://forum.ansible.com/u/Satyapal_Singh)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 11:47am UTC](https://forum.ansible.com/t/ansible-2-3-support-in-awx/26718 "2018-02-14T11:47:12Z")

</div>

Hi, I am looking if we can setup ansible AWX in a way that it can support ansible 2.3 I did AWX installation and it does install docker containers having ansible 2.4 version, so i want ansible 2.3 supported AWX Please…

---

## [Dynamically set /etc/hosts using ansible\_interfaces](https://forum.ansible.com/t/dynamically-set-etc-hosts-using-ansible-interfaces/20386)

<div class="topic-metadata">

**Author:** [@Dayton\_Jones](https://forum.ansible.com/u/Dayton_Jones)\
**Replies:** 8\
**Last updated:** [February 14, 2018, 9:51am UTC](https://forum.ansible.com/t/dynamically-set-etc-hosts-using-ansible-interfaces/20386 "2018-02-14T09:51:49Z")

</div>

I’m trying to dynamically set /etc/hosts based on the ipv4 address assigned to all the interfaces on a host… my template reads as such 127.0.0.1 localhost.localdomain localhost {% for item in ansible\_interfaces if …

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

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