# Latest

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

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

**Page:** 467

---

## [Retrieving Cisco config with ios\_facts module results in extra data in saved file](https://forum.ansible.com/t/retrieving-cisco-config-with-ios-facts-module-results-in-extra-data-in-saved-file/30166)

<div class="topic-metadata">

**Author:** [@asilver](https://forum.ansible.com/u/asilver)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 2:52pm UTC](https://forum.ansible.com/t/retrieving-cisco-config-with-ios-facts-module-results-in-extra-data-in-saved-file/30166 "2019-04-23T14:52:52Z")

</div>

Hello, I’m using the ios\_facts module and trying to retrieve the configuration from a Cisco CSR1000v. The configuration seems to be saved ok but the top of the file contains two lines that are invalid configuration comm…

---

## [Number of loops from command line](https://forum.ansible.com/t/number-of-loops-from-command-line/29924)

<div class="topic-metadata">

**Author:** [@Jakub\_Kafka](https://forum.ansible.com/u/Jakub_Kafka)\
**Replies:** 4\
**Last updated:** [April 23, 2019, 1:58pm UTC](https://forum.ansible.com/t/number-of-loops-from-command-line/29924 "2019-04-23T13:58:52Z")

</div>

Hello, i have question. Can i specify number of loops from command line --extra\_vars? II want specify number of password to be generated. Thanks for answers. Jakub Kafka

---

## [A10 Networks modules - Request for Testing and feedback](https://forum.ansible.com/t/a10-networks-modules-request-for-testing-and-feedback/15382)

<div class="topic-metadata">

**Author:** [@Mischa\_Peters](https://forum.ansible.com/u/Mischa_Peters)\
**Replies:** 7\
**Last updated:** [April 23, 2019, 1:58pm UTC](https://forum.ansible.com/t/a10-networks-modules-request-for-testing-and-feedback/15382 "2019-04-23T13:58:51Z")

</div>

Hi All, I have created 3 modules for managing A10 Networks devices, Thunder / vThunder / AX / SoftAX. You can find them in my fork: https://github.com/mischapeters/ansible.git The current modules are: - a10\_server -…

---

## [Generate a sequence in a playbook using the inventory host group length](https://forum.ansible.com/t/generate-a-sequence-in-a-playbook-using-the-inventory-host-group-length/30165)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 4\
**Last updated:** [April 23, 2019, 9:54am UTC](https://forum.ansible.com/t/generate-a-sequence-in-a-playbook-using-the-inventory-host-group-length/30165 "2019-04-23T09:54:20Z")

</div>

I want to use inventory host groups length of hosts and inventory host group vars . For ex. \[Test\] Host0 Host1 Host2 Host3 Host4 \[Test: vars\] Port=1223 Based on length of test group I want to generate a sequen…

---

## [hard disk serial mask by \<filter\> in register](https://forum.ansible.com/t/hard-disk-serial-mask-by-filter-in-register/30167)

<div class="topic-metadata">

**Author:** [@cch](https://forum.ansible.com/u/cch)\
**Replies:** 2\
**Last updated:** [April 23, 2019, 8:46am UTC](https://forum.ansible.com/t/hard-disk-serial-mask-by-filter-in-register/30167 "2019-04-23T08:46:20Z")

</div>

I wrote a playbook to collect CPU/RAM/HDD info in ansible using command “inxi” name: run inxi to collect Ubuntu/Debian hardware info become: yes become\_method: sudo shell: “/usr/local/bin/inxi -c -Dxx -C -m” regi…

---

## [include\_playbook / include tasks from Bitbucket?](https://forum.ansible.com/t/include-playbook-include-tasks-from-bitbucket/29923)

<div class="topic-metadata">

**Author:** [@TOB](https://forum.ansible.com/u/TOB)\
**Replies:** 9\
**Last updated:** [April 23, 2019, 6:11am UTC](https://forum.ansible.com/t/include-playbook-include-tasks-from-bitbucket/29923 "2019-04-23T06:11:21Z")

</div>

Hi everyone, short summary: I have a playbook from where I wanna start other playbooks hosted on Bitbucket. In short words: Got a server and want to clone repository on Bitbucket where are all the other playbooks which …

---

## [command scp in ansible](https://forum.ansible.com/t/command-scp-in-ansible/29953)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 5\
**Last updated:** [April 23, 2019, 2:50am UTC](https://forum.ansible.com/t/command-scp-in-ansible/29953 "2019-04-23T02:50:36Z")

</div>

Hi all, I must use scp in ansible, i know module synchronize, copy but i d’ont find the module scp. There is junos\_scp but i d’ont know how he works :confused: Is there a way to transfer files or directories by scp as…

---

## [Ansible ansible\_private\_key\_file and Hashicorp Vault](https://forum.ansible.com/t/ansible-ansible-private-key-file-and-hashicorp-vault/29966)

<div class="topic-metadata">

**Author:** [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 2:46am UTC](https://forum.ansible.com/t/ansible-ansible-private-key-file-and-hashicorp-vault/29966 "2019-04-23T02:46:53Z")

</div>

Hi, Can anyone help me on how to integrate getting ansible\_private\_key\_file from Hashicorp Vault? Thanks, Bruno

---

## [host patterns doesn't work in group inventory](https://forum.ansible.com/t/host-patterns-doesnt-work-in-group-inventory/29971)

<div class="topic-metadata">

**Author:** [@Oliver\_markey](https://forum.ansible.com/u/Oliver_markey)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 2:43am UTC](https://forum.ansible.com/t/host-patterns-doesnt-work-in-group-inventory/29971 "2019-04-23T02:43:04Z")

</div>

I got a predefined group monitor with many monitoring parameters that will be used in prometheus/alertmanager/node-exporter. inventory/hosts \[monitor\] 10.1.1.1 10.2.2.2 10.3.3.3 group\_vars/monitor.yml \` prometheus\_v…

---

## [Best way to pass the password to dynamic inventory script](https://forum.ansible.com/t/best-way-to-pass-the-password-to-dynamic-inventory-script/30106)

<div class="topic-metadata">

**Author:** [@Kumar4](https://forum.ansible.com/u/Kumar4)\
**Replies:** 3\
**Last updated:** [April 23, 2019, 2:38am UTC](https://forum.ansible.com/t/best-way-to-pass-the-password-to-dynamic-inventory-script/30106 "2019-04-23T02:38:12Z")

</div>

Hello , I have created a dynamic inventory script and it requires credentials for login and pull the host names. So what is the best way to pass credentials to dynamic inventory script. I have seen some docs on ansibl…

---

## [Passing mupltiple variables to template vars yml](https://forum.ansible.com/t/passing-mupltiple-variables-to-template-vars-yml/30155)

<div class="topic-metadata">

**Author:** [@CORLEONE](https://forum.ansible.com/u/CORLEONE)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 2:33am UTC](https://forum.ansible.com/t/passing-mupltiple-variables-to-template-vars-yml/30155 "2019-04-23T02:33:09Z")

</div>

Hello guys…i have a playbook which i am invoking using jenkins…however i am unable to pass on variables as arguments so that they could override template-vars.yml preset variables and also some new variables…how to achie…

---

## [Best Practices with Vars](https://forum.ansible.com/t/best-practices-with-vars/30158)

<div class="topic-metadata">

**Author:** [@mailinglists-ansible](https://forum.ansible.com/u/mailinglists-ansible)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 2:31am UTC](https://forum.ansible.com/t/best-practices-with-vars/30158 "2019-04-23T02:31:05Z")

</div>

Hi, I am searching for the best way to supply vars to multiple ansible tasks; the vars are mostly based on the systems OS ( like the default config directory beeing in /etc for Linux and in /usr/local/etc for FreeBSD…

---

## [Ansible Vault string in a single line](https://forum.ansible.com/t/ansible-vault-string-in-a-single-line/30161)

<div class="topic-metadata">

**Author:** [@shamim\_Wilson](https://forum.ansible.com/u/shamim_Wilson)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 1:49am UTC](https://forum.ansible.com/t/ansible-vault-string-in-a-single-line/30161 "2019-04-23T01:49:00Z")

</div>

Hi Team, I am using ansible vault to encrypt an string and place the string in a file called vault.yml somthing like name1: value1 where value1 is an encrypted string. dbUser: PlainUser dbPasswd: vault | $ANSIBLE\_V…

---

## [win\_copy azure ansible module not working](https://forum.ansible.com/t/win-copy-azure-ansible-module-not-working/30082)

<div class="topic-metadata">

**Author:** [@gottumukkala\_srija](https://forum.ansible.com/u/gottumukkala_srija)\
**Replies:** 17\
**Last updated:** [April 22, 2019, 9:24pm UTC](https://forum.ansible.com/t/win-copy-azure-ansible-module-not-working/30082 "2019-04-22T21:24:40Z")

</div>

\[windows\] 127.0.0.1 \[windows:vars\] ansible\_user: admin ansible\_password: admin ansible\_connection: winrm ansible\_winrm\_transport: basic ansible\_port: 5986 ansible\_winrm\_server\_cert\_validation: ignore validate\_ce…

---

## [is job isolation feature supported in AWX or is only availabe in ansible tower  ?](https://forum.ansible.com/t/is-job-isolation-feature-supported-in-awx-or-is-only-availabe-in-ansible-tower/30160)

<div class="topic-metadata">

**Author:** [@RC1](https://forum.ansible.com/u/RC1)\
**Replies:** 1\
**Last updated:** [April 22, 2019, 12:53pm UTC](https://forum.ansible.com/t/is-job-isolation-feature-supported-in-awx-or-is-only-availabe-in-ansible-tower/30160 "2019-04-22T12:53:18Z")

</div>

Is job isolation feature supported in AWX or is it only availabe in ansible tower ? Regards.

---

## [Ping module status in CSV](https://forum.ansible.com/t/ping-module-status-in-csv/30142)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 3\
**Last updated:** [April 22, 2019, 10:07am UTC](https://forum.ansible.com/t/ping-module-status-in-csv/30142 "2019-04-22T10:07:29Z")

</div>

Hello Team, I have created a csv for gathered facts of linux and windows targets. Now i am trying to add a column with Ping module status and result code if it fails. I wrote this play in the role- this is for linux t…

---

## [calling dynamic datas frequently in the playbook](https://forum.ansible.com/t/calling-dynamic-datas-frequently-in-the-playbook/30157)

<div class="topic-metadata">

**Author:** [@Vijay\_Ravindran](https://forum.ansible.com/u/Vijay_Ravindran)\
**Replies:** 2\
**Last updated:** [April 21, 2019, 8:27pm UTC](https://forum.ansible.com/t/calling-dynamic-datas-frequently-in-the-playbook/30157 "2019-04-21T20:27:54Z")

</div>

Folks, As I automate vmware infrastructure via ansible awx, I need to pass dynamic variables and datas in the playbook frequently. For example ESXi\_username and ESXi\_password, Datastore\_name etc. I had to fetch values …

---

## [S3\_Sync Module Not Working with ModuleNotFoundError: No module named 'botocore.vendored'](https://forum.ansible.com/t/s3-sync-module-not-working-with-modulenotfounderror-no-module-named-botocore-vendored/30154)

<div class="topic-metadata">

**Author:** [@Kane\_Consulting\_Grou](https://forum.ansible.com/u/Kane_Consulting_Grou)\
**Replies:** 2\
**Last updated:** [April 20, 2019, 7:49pm UTC](https://forum.ansible.com/t/s3-sync-module-not-working-with-modulenotfounderror-no-module-named-botocore-vendored/30154 "2019-04-20T19:49:51Z")

</div>

I am having an issue using the S3\_Sync module. To start, here is the playbook I am trying to run:

---

## [Ubuntu 19.04 Support](https://forum.ansible.com/t/ubuntu-19-04-support/30156)

<div class="topic-metadata">

**Author:** [@Abdullah\_Medhat](https://forum.ansible.com/u/Abdullah_Medhat)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 9:16am UTC](https://forum.ansible.com/t/ubuntu-19-04-support/30156 "2019-04-20T09:16:45Z")

</div>

Hello, When will the packages for Ubuntu 19.04 be available ? $ sudo apt update … Err:8 http://ppa.launchpad.net/ansible/ansible/ubuntu disco Release 404 Not Found … Reading package lists… Done E: The repository …

---

## [Ansible : ERROR! SSH encountered an unknown error during the connection](https://forum.ansible.com/t/ansible-error-ssh-encountered-an-unknown-error-during-the-connection/30149)

<div class="topic-metadata">

**Author:** [@nilesh\_bhadane](https://forum.ansible.com/u/nilesh_bhadane)\
**Replies:** 5\
**Last updated:** [April 18, 2019, 9:53pm UTC](https://forum.ansible.com/t/ansible-error-ssh-encountered-an-unknown-error-during-the-connection/30149 "2019-04-18T21:53:10Z")

</div>

Hi, I am new the Ansible. I have setup ansible on Ubuntu machine as follows : $ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo apt-add-repository --yes --update ppa:ansible/ansible . -\>\> …

---

## [Ansible "ERROR! SSH encountered an unknown error during the connection](https://forum.ansible.com/t/ansible-error-ssh-encountered-an-unknown-error-during-the-connection/30150)

<div class="topic-metadata">

**Author:** [@Gaetano\_Giacalone](https://forum.ansible.com/u/Gaetano_Giacalone)\
**Replies:** 1\
**Last updated:** [April 18, 2019, 9:09pm UTC](https://forum.ansible.com/t/ansible-error-ssh-encountered-an-unknown-error-during-the-connection/30150 "2019-04-18T21:09:29Z")

</div>

From your control host type ssh-copy-id -I (remote ip) to copy public key

---

## [Ansible Awx container task reboot all time](https://forum.ansible.com/t/ansible-awx-container-task-reboot-all-time/30145)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 1\
**Last updated:** [April 18, 2019, 5:54pm UTC](https://forum.ansible.com/t/ansible-awx-container-task-reboot-all-time/30145 "2019-04-18T17:54:48Z")

</div>

Hi, I have ansible awx 2.1.2.0 in on Debian 8.11 I have on problem recently because when i play on modele in awx i have white page (Statut : pending) I look container of ansible awx and i see that container task reboo…

---

## [user module on IBM AIX](https://forum.ansible.com/t/user-module-on-ibm-aix/30101)

<div class="topic-metadata">

**Author:** [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 5:54pm UTC](https://forum.ansible.com/t/user-module-on-ibm-aix/30101 "2019-04-18T17:54:26Z")

</div>

Hi, I’m trying to use the user module to create users on AIX, but I’m getting errors and I think the problem comes from the password hash that I’m using. The role runs fine on Linux, but not on AIX. What is the best w…

---

## [Subsequent play do not runs when upper one fails](https://forum.ansible.com/t/subsequent-play-do-not-runs-when-upper-one-fails/30092)

<div class="topic-metadata">

**Author:** [@amit\_ahuja](https://forum.ansible.com/u/amit_ahuja)\
**Replies:** 1\
**Last updated:** [April 18, 2019, 4:30pm UTC](https://forum.ansible.com/t/subsequent-play-do-not-runs-when-upper-one-fails/30092 "2019-04-18T16:30:16Z")

</div>

Hi, i have a condition where lower plays don’t get executed when upper play fail on some condition . i need to run my second play also inside same yml file if above play gets fail, how can i do this ?? play with localho…

---

## [Use the version of the role as variable in a template](https://forum.ansible.com/t/use-the-version-of-the-role-as-variable-in-a-template/30148)

<div class="topic-metadata">

**Author:** [@Werner\_Dijkerman](https://forum.ansible.com/u/Werner_Dijkerman)\
**Replies:** 0\
**Last updated:** [April 18, 2019, 4:29pm UTC](https://forum.ansible.com/t/use-the-version-of-the-role-as-variable-in-a-template/30148 "2019-04-18T16:29:36Z")

</div>

Hi, I’m curious if there is a Ansible variable available that I can use that describes the version of a role. In a requirements.yml file, like the following: \` src: dj-wasabi.zabbix-server version: 1.4.0 \` A vers…

---

## [Ansible playbook execution | root restriction](https://forum.ansible.com/t/ansible-playbook-execution-root-restriction/30094)

<div class="topic-metadata">

**Author:** [@subin\_alex](https://forum.ansible.com/u/subin_alex)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 4:29pm UTC](https://forum.ansible.com/t/ansible-playbook-execution-root-restriction/30094 "2019-04-18T16:29:07Z")

</div>

Hi All, We are facing customer restriction on providing root access to run the ansible playbook .Our playbook needs root access to execute smooth.They are apprehensive about the commands executed by playbook thinking if…

---

## [please help](https://forum.ansible.com/t/please-help/30123)

<div class="topic-metadata">

**Author:** [@ritesh\_r](https://forum.ansible.com/u/ritesh_r)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 4:03pm UTC](https://forum.ansible.com/t/please-help/30123 "2019-04-18T16:03:35Z")

</div>

ansible all -m ping 10.1.0.6 | UNREACHABLE! =\> { “changed”: false, “msg”: “Failed to connect to the host via ssh: Permission denied (publickey,password).”, “unreachable”: true }

---

## [Error while executed yml file](https://forum.ansible.com/t/error-while-executed-yml-file/30125)

<div class="topic-metadata">

**Author:** [@vikram\_acharya](https://forum.ansible.com/u/vikram_acharya)\
**Replies:** 4\
**Last updated:** [April 18, 2019, 4:01pm UTC](https://forum.ansible.com/t/error-while-executed-yml-file/30125 "2019-04-18T16:01:21Z")

</div>

Hello Team Am pretty new to Ansible trying , am getting an error while executing yml file . Here am trying to install httpd services on one of web server i have inventory file below are the details ip details added am …

---

## [ansible script to do remote execution of templates](https://forum.ansible.com/t/ansible-script-to-do-remote-execution-of-templates/30137)

<div class="topic-metadata">

**Author:** [@rashmi\_nair](https://forum.ansible.com/u/rashmi_nair)\
**Replies:** 1\
**Last updated:** [April 18, 2019, 3:58pm UTC](https://forum.ansible.com/t/ansible-script-to-do-remote-execution-of-templates/30137 "2019-04-18T15:58:10Z")

</div>

Hi All, I have a scenario where I need to execute ansible script which will run the templates on remote server. I have list of remote servers which when given to delegate\_to is not working and fileglob is not copying th…

---

## [format of the /etc/ansible/hosts file](https://forum.ansible.com/t/format-of-the-etc-ansible-hosts-file/30134)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 4\
**Last updated:** [April 18, 2019, 3:53pm UTC](https://forum.ansible.com/t/format-of-the-etc-ansible-hosts-file/30134 "2019-04-18T15:53:20Z")

</div>

This is probably an FAQ, and I apologize, but I can’t find this explicitly written anywhere. In my /etc/ansible/hosts file, I have a few hosts that are not in any group, followed by a bunch of groups with hosts hostA …

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

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