# Archives

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

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

**Page:** 296

---

## [Monitoring Tower license usage](https://forum.ansible.com/t/monitoring-tower-license-usage/30175)

<div class="topic-metadata">

**Author:** [@dan\_linder](https://forum.ansible.com/u/dan_linder)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 3:00pm UTC](https://forum.ansible.com/t/monitoring-tower-license-usage/30175 "2019-04-24T15:00:43Z")

</div>

My team uses Ansible Tower (the RedHat licensed product) and we track the license usage change day-to-day with this python script. We have two environments, so the system will use the LOGIN\_INFO dictionary to login and r…

---

## [issue: ansible ad-hoc command -u root and -u oracle with -a id giving same output](https://forum.ansible.com/t/issue-ansible-ad-hoc-command-u-root-and-u-oracle-with-a-id-giving-same-output/30171)

<div class="topic-metadata">

**Author:** [@Naren1](https://forum.ansible.com/u/Naren1)\
**Replies:** 6\
**Last updated:** [April 24, 2019, 11:26am UTC](https://forum.ansible.com/t/issue-ansible-ad-hoc-command-u-root-and-u-oracle-with-a-id-giving-same-output/30171 "2019-04-24T11:26:57Z")

</div>

I am expecting “id” command to show the user details passed to “-u \<user name” “id” command to return details of root, oracle, and applmgr users on each run but in below output is showing only one user for all, why ? $…

---

## [ansible skipping ssh setup for grid user](https://forum.ansible.com/t/ansible-skipping-ssh-setup-for-grid-user/30172)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [April 23, 2019, 10:16pm UTC](https://forum.ansible.com/t/ansible-skipping-ssh-setup-for-grid-user/30172 "2019-04-23T22:16:23Z")

</div>

Probably best to ask the maintainers of that specific repository, who should be most familiar with it

---

## [Failing to open socket due to port in unicode type](https://forum.ansible.com/t/failing-to-open-socket-due-to-port-in-unicode-type/30163)

<div class="topic-metadata">

**Author:** [@Doron\_B](https://forum.ansible.com/u/Doron_B)\
**Replies:** 3\
**Last updated:** [April 23, 2019, 8:33pm UTC](https://forum.ansible.com/t/failing-to-open-socket-due-to-port-in-unicode-type/30163 "2019-04-23T20:33:08Z")

</div>

Hi Community, I’m facing some very basic problem. I’m trying to run open telnet session with a device. However, when I’m filling the port dynamically using jinja template, the port is passed as unicode thus I get the fo…

---

## [Ansible & Windows Management](https://forum.ansible.com/t/ansible-windows-management/30152)

<div class="topic-metadata">

**Author:** [@CHARCHOUF\_SABRI](https://forum.ansible.com/u/CHARCHOUF_SABRI)\
**Replies:** 4\
**Last updated:** [April 23, 2019, 8:18pm UTC](https://forum.ansible.com/t/ansible-windows-management/30152 "2019-04-23T20:18:16Z")

</div>

Hi Folks, I’m a new user for Ansible and I would like to get some help from experts. Project: Customer would like to use Ansible to switch OFF hosts on a public cloud \[the public cloud is OpenStack based\] My issue is …

---

## [Start time for Nagios downtime](https://forum.ansible.com/t/start-time-for-nagios-downtime/30090)

<div class="topic-metadata">

**Author:** [@Daniel\_A\_Ramaley](https://forum.ansible.com/u/Daniel_A_Ramaley)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 5:32pm UTC](https://forum.ansible.com/t/start-time-for-nagios-downtime/30090 "2019-04-23T17:32:20Z")

</div>

Hello! I’m looking at documentation for the Nagios module. How does one specify when downtime is supposed to start? I don’t see any way to provide that, just the duration of the outage (which presumably starts “now”?). …

---

## [AWS elastic load balancer rules](https://forum.ansible.com/t/aws-elastic-load-balancer-rules/30170)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 5:00pm UTC](https://forum.ansible.com/t/aws-elastic-load-balancer-rules/30170 "2019-04-23T17:00:51Z")

</div>

Hi - As far as I can tell, it’s not possible to configure AWS application load balancer rules for attributes like HTTP headers via Ansible. Is that correct? If not, does anyone know any examples of how to do this? If i…

---

## [Why does this if block + expression result in an undefined variable error?](https://forum.ansible.com/t/why-does-this-if-block-expression-result-in-an-undefined-variable-error/30091)

<div class="topic-metadata">

**Author:** [@Alex\_Willmer](https://forum.ansible.com/u/Alex_Willmer)\
**Replies:** 3\
**Last updated:** [April 23, 2019, 3:20pm UTC](https://forum.ansible.com/t/why-does-this-if-block-expression-result-in-an-undefined-variable-error/30091 "2019-04-23T15:20:03Z")

</div>

I’ve been trying to understand why I’m getting an undefined variable error, even though the expression in question is surrounded by an if block that evaluates false. This only happens when the if block uses a host group. …

---

## [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…

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

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