# Latest

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

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

**Page:** 531

---

## [Ansible Authentication issue using ssh on Ubuntu server](https://forum.ansible.com/t/ansible-authentication-issue-using-ssh-on-ubuntu-server/28305)

<div class="topic-metadata">

**Author:** [@Michael\_Ikram](https://forum.ansible.com/u/Michael_Ikram)\
**Replies:** 1\
**Last updated:** [August 10, 2018, 7:07am UTC](https://forum.ansible.com/t/ansible-authentication-issue-using-ssh-on-ubuntu-server/28305 "2018-08-10T07:07:35Z")

</div>

I am having a problem, I need help in getting ansible playbook successful connect to simple cisco switch, error is below, can anyone help me ? root@netadmin-Virtual-Machine:/etc/ansible# ansible-playbook ios\_command\_1.y…

---

## [Connecting to YUM for Playbooks](https://forum.ansible.com/t/connecting-to-yum-for-playbooks/28281)

<div class="topic-metadata">

**Author:** [@Rashard](https://forum.ansible.com/u/Rashard)\
**Replies:** 7\
**Last updated:** [August 10, 2018, 4:20am UTC](https://forum.ansible.com/t/connecting-to-yum-for-playbooks/28281 "2018-08-10T04:20:52Z")

</div>

Newbie question. I am trying to connect to yum to install packages but I cannot. The servers are registered to a spacewalk server and the channel I need to pull from does not show up in /etc/yum.repos.d. I tried to put t…

---

## [How can i  include entire shell script block in ansible playbook](https://forum.ansible.com/t/how-can-i-include-entire-shell-script-block-in-ansible-playbook/28300)

<div class="topic-metadata">

**Author:** [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Replies:** 1\
**Last updated:** [August 9, 2018, 8:51pm UTC](https://forum.ansible.com/t/how-can-i-include-entire-shell-script-block-in-ansible-playbook/28300 "2018-08-09T20:51:09Z")

</div>

Hi all, I have some sample script #!/bin/bash #ip=$2 tar\_file=$1 bkp\_name=“bkp-$$” if \[ -z “${tar\_file}” \]; then echo “Usage import.sh \[tar file\]” exit 1 fi for keyspace do keyspace=$(basename “${tar\_file}” “…

---

## [Shell block in ansible playbook. How ?](https://forum.ansible.com/t/shell-block-in-ansible-playbook-how/28301)

<div class="topic-metadata">

**Author:** [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Replies:** 1\
**Last updated:** [August 9, 2018, 3:58pm UTC](https://forum.ansible.com/t/shell-block-in-ansible-playbook-how/28301 "2018-08-09T15:58:52Z")

</div>

Hi all, I have some sample script #!/bin/bash #ip=$2 tar\_file=$1 bkp\_name=“bkp-$$” if \[ -z “${tar\_file}” \]; then echo “Usage import.sh \[tar file\]” exit 1 fi for keyspace do keyspace=$(basename “${tar\_file}” “…

---

## [Generate dynamically playbooks](https://forum.ansible.com/t/generate-dynamically-playbooks/28299)

<div class="topic-metadata">

**Author:** [@samuel\_desseaux](https://forum.ansible.com/u/samuel_desseaux)\
**Replies:** 0\
**Last updated:** [August 9, 2018, 1:53pm UTC](https://forum.ansible.com/t/generate-dynamically-playbooks/28299 "2018-08-09T13:53:46Z")

</div>

Hello, Is it possible to generate dynamically playbooks? Let me explain: I have more than 200 applications. For each application, i need sometime to make an stop/start for one of its components (jboss/oracle/autosys…). …

---

## [Problem when i want to choose a playbook for my job](https://forum.ansible.com/t/problem-when-i-want-to-choose-a-playbook-for-my-job/28294)

<div class="topic-metadata">

**Author:** [@samuel\_desseaux](https://forum.ansible.com/u/samuel_desseaux)\
**Replies:** 3\
**Last updated:** [August 9, 2018, 9:00am UTC](https://forum.ansible.com/t/problem-when-i-want-to-choose-a-playbook-for-my-job/28294 "2018-08-09T09:00:18Z")

</div>

Hello, I’ve a problem with AWX. When i create a job and link one to a playbook, there’s a problem. When i click on playbook, it shows me only 2 playbooks whereas i’ve more than 2 (10 exactly). Due to this problem, i …

---

## [uri module: fails to do POST due to unable to parse netscape cookie file](https://forum.ansible.com/t/uri-module-fails-to-do-post-due-to-unable-to-parse-netscape-cookie-file/28297)

<div class="topic-metadata">

**Author:** [@vinod\_kumar4](https://forum.ansible.com/u/vinod_kumar4)\
**Replies:** 1\
**Last updated:** [August 9, 2018, 6:29am UTC](https://forum.ansible.com/t/uri-module-fails-to-do-post-due-to-unable-to-parse-netscape-cookie-file/28297 "2018-08-09T06:29:31Z")

</div>

I have below uri module where i am sending netscape cookie file. It throws me back with error message, name: Register uri: url: “https://{{ orch\_ip }}:19443/2/platforms/xxx/providers” method: POST return\_content: …

---

## [Debug loop of registered with\_items](https://forum.ansible.com/t/debug-loop-of-registered-with-items/28293)

<div class="topic-metadata">

**Author:** [@email](https://forum.ansible.com/u/email)\
**Replies:** 3\
**Last updated:** [August 8, 2018, 3:04pm UTC](https://forum.ansible.com/t/debug-loop-of-registered-with-items/28293 "2018-08-08T15:04:07Z")

</div>

Hi all, I am struggling to find a decent way of going this. Here’s what I have so far, which obviously doesn’t work \` name: Check services are set to start on boot service: name: “{{ item.name }}” enabled: yes …

---

## [Accessing Ansible magic variables in python](https://forum.ansible.com/t/accessing-ansible-magic-variables-in-python/28292)

<div class="topic-metadata">

**Author:** [@Sayed\_Anisul](https://forum.ansible.com/u/Sayed_Anisul)\
**Replies:** 1\
**Last updated:** [August 8, 2018, 10:20am UTC](https://forum.ansible.com/t/accessing-ansible-magic-variables-in-python/28292 "2018-08-08T10:20:40Z")

</div>

Hello How can I access Ansible magic variables like {{ playbook\_dir }} in the python source code ? can someone please help with a code snippet? Thank you

---

## [AWX for ppc64le Architecture](https://forum.ansible.com/t/awx-for-ppc64le-architecture/28291)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 0\
**Last updated:** [August 8, 2018, 9:21am UTC](https://forum.ansible.com/t/awx-for-ppc64le-architecture/28291 "2018-08-08T09:21:26Z")

</div>

as i was in the abstract situation to need to install awx on redhat 7.4 ppc64le (no intel uhhhh) and the meanstream hipsters told me its straight “NOT SUPPORTED” i put some effort in making it myself. just in case someo…

---

## [Speeding up very large playbooks](https://forum.ansible.com/t/speeding-up-very-large-playbooks/28273)

<div class="topic-metadata">

**Author:** [@Pshem\_Kowalczyk](https://forum.ansible.com/u/Pshem_Kowalczyk)\
**Replies:** 7\
**Last updated:** [August 8, 2018, 8:14am UTC](https://forum.ansible.com/t/speeding-up-very-large-playbooks/28273 "2018-08-08T08:14:17Z")

</div>

Hi, We have a scenario where we pre-generate a lot of configuration on the controller host (targets are generally network devices, so not capable of running python). Typical generation process involves pulling data fro…

---

## [Question: Python module/API support in Ansible on HPE NonStop](https://forum.ansible.com/t/question-python-module-api-support-in-ansible-on-hpe-nonstop/28289)

<div class="topic-metadata">

**Author:** [@Moon\_Dragon](https://forum.ansible.com/u/Moon_Dragon)\
**Replies:** 0\
**Last updated:** [August 8, 2018, 7:27am UTC](https://forum.ansible.com/t/question-python-module-api-support-in-ansible-on-hpe-nonstop/28289 "2018-08-08T07:27:04Z")

</div>

SUMMARY We use Ansible from Debian to HPE NonStop. HPE NonStop have some Python restrictions noted later. The goal is to find out if any of the unsupported Python modules/APIs are used by Ansible. COMPONENT NAME Python…

---

## [Parallel Tasks Execution in Ansible](https://forum.ansible.com/t/parallel-tasks-execution-in-ansible/28276)

<div class="topic-metadata">

**Author:** [@Saurabh](https://forum.ansible.com/u/Saurabh)\
**Replies:** 6\
**Last updated:** [August 8, 2018, 5:26am UTC](https://forum.ansible.com/t/parallel-tasks-execution-in-ansible/28276 "2018-08-08T05:26:21Z")

</div>

Hi, I would like to execute parallel tasks ? Below Example include: a.yml include: b.yml a.yml runs and b.yml should also run, b.yml shouldn’t wait for completion of a.yml. is there any way to run parallel t…

---

## [Code to attach an EBS volume during provisioning with CMK](https://forum.ansible.com/t/code-to-attach-an-ebs-volume-during-provisioning-with-cmk/28286)

<div class="topic-metadata">

**Author:** [@nicholas.noor](https://forum.ansible.com/u/nicholas.noor)\
**Replies:** 1\
**Last updated:** [August 8, 2018, 12:20am UTC](https://forum.ansible.com/t/code-to-attach-an-ebs-volume-during-provisioning-with-cmk/28286 "2018-08-08T00:20:33Z")

</div>

Has anyone provisioned an EC2 instance and EBS volumes using CMK?

---

## [Playbook formatting question](https://forum.ansible.com/t/playbook-formatting-question/28285)

<div class="topic-metadata">

**Author:** [@Syed\_Jafar](https://forum.ansible.com/u/Syed_Jafar)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 8:55pm UTC](https://forum.ansible.com/t/playbook-formatting-question/28285 "2018-08-07T20:55:37Z")

</div>

Can someone please let me know what is wrong with my playbook (below) formatting. I get the following error message when I run the playbook. ERROR! ‘copy’ is not a valid attribute for a Play The error appears to have b…

---

## [Ansible for all instance in AWS environment](https://forum.ansible.com/t/ansible-for-all-instance-in-aws-environment/28275)

<div class="topic-metadata">

**Author:** [@Ashish\_Gauli](https://forum.ansible.com/u/Ashish_Gauli)\
**Replies:** 2\
**Last updated:** [August 7, 2018, 5:19pm UTC](https://forum.ansible.com/t/ansible-for-all-instance-in-aws-environment/28275 "2018-08-07T17:19:55Z")

</div>

I need to configure all AWS instances using ansible (for example install datadog agent), but I do not have key-pairs for each of those instances. Is there a way I can enable ansible-ssh without keypair?

---

## [AWX Install: How to change default Docker Registry Config](https://forum.ansible.com/t/awx-install-how-to-change-default-docker-registry-config/28279)

<div class="topic-metadata">

**Author:** [@lovi](https://forum.ansible.com/u/lovi)\
**Replies:** 3\
**Last updated:** [August 7, 2018, 2:42pm UTC](https://forum.ansible.com/t/awx-install-how-to-change-default-docker-registry-config/28279 "2018-08-07T14:42:00Z")

</div>

Hello, I’ve my own registry, and I would like to know if there is a setup to configure docker to get image to this registry during awx installation ? I’ve tried : /etc/docker/daemon.json { “registry-mirrors”: \[“http…

---

## [Collect Azure VM facts](https://forum.ansible.com/t/collect-azure-vm-facts/28270)

<div class="topic-metadata">

**Author:** [@Matin\_Nayob](https://forum.ansible.com/u/Matin_Nayob)\
**Replies:** 2\
**Last updated:** [August 7, 2018, 1:44pm UTC](https://forum.ansible.com/t/collect-azure-vm-facts/28270 "2018-08-07T13:44:29Z")

</div>

Hi there, Is there a way to gather facts about the state of an Azure VM? There exist fact gathering modules for other Azure resources (such as a azure\_rm\_virtualmachineimage\_facts) but there doesn’t seem to be any for …

---

## [how i can install ansible on winddows](https://forum.ansible.com/t/how-i-can-install-ansible-on-winddows/28260)

<div class="topic-metadata">

**Author:** [@rahul.sahu](https://forum.ansible.com/u/rahul.sahu)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 12:50pm UTC](https://forum.ansible.com/t/how-i-can-install-ansible-on-winddows/28260 "2018-08-07T12:50:59Z")

</div>

Is there any complete information or blog where i can get list of all s/w i need install in order to install ansible?

---

## [Win\_update](https://forum.ansible.com/t/win-update/28256)

<div class="topic-metadata">

**Author:** [@Izzy](https://forum.ansible.com/u/Izzy)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 11:40am UTC](https://forum.ansible.com/t/win-update/28256 "2018-08-07T11:40:51Z")

</div>

Is anyone using win\_update for their windows servers on vmware to patch them Or working for them? For the life of me, I can’t make them install available updates. I’m just curious how others are handling it if at all. FY…

---

## [Issue when backup cisco NXOS " fatal: \[\*\*\*\*\*\*\*\*\*\*\*\*\*\]: FAILED! =\> {"msg": "nothing to repeat"}"](https://forum.ansible.com/t/issue-when-backup-cisco-nxos-fatal-failed-msg-nothing-to-repeat/27959)

<div class="topic-metadata">

**Author:** [@Ahmed\_Aljawad](https://forum.ansible.com/u/Ahmed_Aljawad)\
**Replies:** 2\
**Last updated:** [August 7, 2018, 10:29am UTC](https://forum.ansible.com/t/issue-when-backup-cisco-nxos-fatal-failed-msg-nothing-to-repeat/27959 "2018-08-07T10:29:46Z")

</div>

\[nwadmin@ddcmgtnwbkp ~\]$ cat AutoBackup.yml

---

## [how to get the playbook directory in the python source](https://forum.ansible.com/t/how-to-get-the-playbook-directory-in-the-python-source/28278)

<div class="topic-metadata">

**Author:** [@Sayed\_Anisul](https://forum.ansible.com/u/Sayed_Anisul)\
**Replies:** 0\
**Last updated:** [August 7, 2018, 8:56am UTC](https://forum.ansible.com/t/how-to-get-the-playbook-directory-in-the-python-source/28278 "2018-08-07T08:56:02Z")

</div>

Hello, Ansible has a variable “{{ playbook\_dir }}” that gives the playbook directory path. Currently, I am doing in this way to get the playbook directory in the hive(python source code) task, but is there any other wa…

---

## [ansible autofs mount](https://forum.ansible.com/t/ansible-autofs-mount/28272)

<div class="topic-metadata">

**Author:** [@Prasanth\_G](https://forum.ansible.com/u/Prasanth_G)\
**Replies:** 3\
**Last updated:** [August 7, 2018, 7:05am UTC](https://forum.ansible.com/t/ansible-autofs-mount/28272 "2018-08-07T07:05:19Z")

</div>

Dear All. I am working on a project where we have a scenario in which we have to mount an NFS file system when each time system boots up ( we spin up using AWS/GITLAB CI/CD approach) so each time when i run the piplelin…

---

## [detachable ansible](https://forum.ansible.com/t/detachable-ansible/28263)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 3\
**Last updated:** [August 6, 2018, 9:42pm UTC](https://forum.ansible.com/t/detachable-ansible/28263 "2018-08-06T21:42:56Z")

</div>

just had a funny thought. running a task in ansible kinda looks like this ansible copies module and vars to server ansible starts the module and waits for stdout and std error ansible gets output, it shows you and rep…

---

## [dynamic inventory from another ansbile?](https://forum.ansible.com/t/dynamic-inventory-from-another-ansbile/28269)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 6\
**Last updated:** [August 6, 2018, 6:11pm UTC](https://forum.ansible.com/t/dynamic-inventory-from-another-ansbile/28269 "2018-08-06T18:11:47Z")

</div>

I have two ansible servers, call them ansible-a and ansible-b . ansible-a is my “primary” most-often-used ansible server for most of my hosts including ansible-b. However, there is a segregated network that ansible-a can…

---

## [running ptython script in role](https://forum.ansible.com/t/running-ptython-script-in-role/28252)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 18\
**Last updated:** [August 6, 2018, 3:53pm UTC](https://forum.ansible.com/t/running-ptython-script-in-role/28252 "2018-08-06T15:53:58Z")

</div>

i want to run a python script in a role. currently the script is in the tasks directory but i also tried the file dir which also is not working. where i have to put this script so it can be found at runtime? \` local\_a…

---

## [Remove CA in Bundle CA via Playbook](https://forum.ansible.com/t/remove-ca-in-bundle-ca-via-playbook/28268)

<div class="topic-metadata">

**Author:** [@Vincent\_Descargues](https://forum.ansible.com/u/Vincent_Descargues)\
**Replies:** 1\
**Last updated:** [August 6, 2018, 3:39pm UTC](https://forum.ansible.com/t/remove-ca-in-bundle-ca-via-playbook/28268 "2018-08-06T15:39:43Z")

</div>

That’s my problem, it’s pretty simple, I think. I wish I could delete a CA in a CA Bundle with one command For example : My CA bundle : 1° CA 2° CA 3° CA 4° CA And I just want to delete the 2nd certificate Curren…

---

## [Infoblox fixed addresses](https://forum.ansible.com/t/infoblox-fixed-addresses/28262)

<div class="topic-metadata">

**Author:** [@Ryan\_Williams](https://forum.ansible.com/u/Ryan_Williams)\
**Replies:** 2\
**Last updated:** [August 6, 2018, 2:34pm UTC](https://forum.ansible.com/t/infoblox-fixed-addresses/28262 "2018-08-06T14:34:58Z")

</div>

Hi, Are there any plans to add an Infoblox module to Ansible that can add or update fixed addresses? Thanks

---

## [Trouble with ec2\_vpc\_vgw](https://forum.ansible.com/t/trouble-with-ec2-vpc-vgw/28254)

<div class="topic-metadata">

**Author:** [@ttwalto](https://forum.ansible.com/u/ttwalto)\
**Replies:** 3\
**Last updated:** [August 6, 2018, 2:29pm UTC](https://forum.ansible.com/t/trouble-with-ec2-vpc-vgw/28254 "2018-08-06T14:29:18Z")

</div>

I am trying to run ec2\_vpc\_vgw just to attach a vpc to a vgw (virtual private gateway). The vgw and vpc both already exist. I don’t need to create them. Here’s what I run: name: attach vpc to virtual private gateway e…

---

## [Help me to install ansible - end up with "Oops!  An error occured while running setup"](https://forum.ansible.com/t/help-me-to-install-ansible-end-up-with-oops-an-error-occured-while-running-setup/23304)

<div class="topic-metadata">

**Author:** [@bentech4u](https://forum.ansible.com/u/bentech4u)\
**Replies:** 4\
**Last updated:** [August 6, 2018, 2:10pm UTC](https://forum.ansible.com/t/help-me-to-install-ansible-end-up-with-oops-an-error-occured-while-running-setup/23304 "2018-08-06T14:10:26Z")

</div>

HI i am very new to ansible and i want to setup a POC env for my company. i was following http://docs.ansible.com/ansible-tower/latest/html/quickinstall/install\_script.html and while running seup, i am getting “\[error\]…

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

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