# Latest

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

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

**Page:** 601

---

## [mongodb\_user module seems to be not idempotent](https://forum.ansible.com/t/mongodb-user-module-seems-to-be-not-idempotent/26217)

<div class="topic-metadata">

**Author:** [@Sebastien\_Latre](https://forum.ansible.com/u/Sebastien_Latre)\
**Replies:** 0\
**Last updated:** [December 7, 2017, 10:01am UTC](https://forum.ansible.com/t/mongodb-user-module-seems-to-be-not-idempotent/26217 "2017-12-07T10:01:39Z")

</div>

I’m working with Ansible 2.4.2.0 with Win7 as host and CentOs 6 as remote. I’m trying to use mongodb\_user module to create mongo users. But without changing anything to the configuration, the task still reports as chan…

---

## [how can i call DataLoader.set\_vault\_password in ansible 2.4.2](https://forum.ansible.com/t/how-can-i-call-dataloader-set-vault-password-in-ansible-2-4-2/26215)

<div class="topic-metadata">

**Author:** [@tony.yang](https://forum.ansible.com/u/tony.yang)\
**Replies:** 0\
**Last updated:** [December 7, 2017, 2:42am UTC](https://forum.ansible.com/t/how-can-i-call-dataloader-set-vault-password-in-ansible-2-4-2/26215 "2017-12-07T02:42:15Z")

</div>

Hi guys being a rookie of Ansible I’m trying to call playbook from ansible api,using password, unfortunately find out that DataLoader doesn’t have set\_vault\_password any more dataloader.py Usage: dl = DataLoader(…

---

## [IS Tower work on CentOS?](https://forum.ansible.com/t/is-tower-work-on-centos/26214)

<div class="topic-metadata">

**Author:** [@BERTRAND\_PINGDWENDE](https://forum.ansible.com/u/BERTRAND_PINGDWENDE)\
**Replies:** 2\
**Last updated:** [December 7, 2017, 1:33am UTC](https://forum.ansible.com/t/is-tower-work-on-centos/26214 "2017-12-07T01:33:31Z")

</div>

Hi, i need to install tower on CentOS 7 and i want to know if it’s possible. all i see about tower lead me to RedHat. So thank for your Answers.

---

## [In v2.4.x.x how can I include host groups in one inventory file to another? If so how?](https://forum.ansible.com/t/in-v2-4-x-x-how-can-i-include-host-groups-in-one-inventory-file-to-another-if-so-how/26207)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [December 6, 2017, 4:08pm UTC](https://forum.ansible.com/t/in-v2-4-x-x-how-can-i-include-host-groups-in-one-inventory-file-to-another-if-so-how/26207 "2017-12-06T16:08:34Z")

</div>

Say I have inventory files that look like this \` host\_vars/bitbucket\_servers

---

## [delegate\_to: localhost and gather\_facts: yes playbook still holds previous hosts facts.](https://forum.ansible.com/t/delegate-to-localhost-and-gather-facts-yes-playbook-still-holds-previous-hosts-facts/26203)

<div class="topic-metadata">

**Author:** [@Snehal\_Biche](https://forum.ansible.com/u/Snehal_Biche)\
**Replies:** 1\
**Last updated:** [December 6, 2017, 3:26pm UTC](https://forum.ansible.com/t/delegate-to-localhost-and-gather-facts-yes-playbook-still-holds-previous-hosts-facts/26203 "2017-12-06T15:26:35Z")

</div>

Ansible fixed the bug as misunderstood and alsogather\_factsa play directive, it does not work on tasks. then whats the way to get localhost facts? create role and role YML file with remote hosts defined as create …

---

## [Create ec2 instances with sequential name tags .](https://forum.ansible.com/t/create-ec2-instances-with-sequential-name-tags/26211)

<div class="topic-metadata">

**Author:** [@Arvind\_Sharma](https://forum.ansible.com/u/Arvind_Sharma)\
**Replies:** 1\
**Last updated:** [December 6, 2017, 11:22am UTC](https://forum.ansible.com/t/create-ec2-instances-with-sequential-name-tags/26211 "2017-12-06T11:22:16Z")

</div>

Hi Everyone , I am very new to Ansible and currently struggling for getting this done , I wrote a ec2 role which launch ec2 instances based on count provided by vars , role is working fine and I have also used tags , A…

---

## [How to increament a value in file on every run](https://forum.ansible.com/t/how-to-increament-a-value-in-file-on-every-run/26202)

<div class="topic-metadata">

**Author:** [@Sudip\_Dutta](https://forum.ansible.com/u/Sudip_Dutta)\
**Replies:** 5\
**Last updated:** [December 6, 2017, 6:28am UTC](https://forum.ansible.com/t/how-to-increament-a-value-in-file-on-every-run/26202 "2017-12-06T06:28:51Z")

</div>

Hi all, The scenario is - I have a file in which I have below content BUILD\_VERSION = 4 on every run, I want to increase BUILD\_VERSION counter to 1, so that it will be - BUILD\_VERSION = 5 (on next run) I am trying …

---

## [ansible-galaxy install is failing](https://forum.ansible.com/t/ansible-galaxy-install-is-failing/26210)

<div class="topic-metadata">

**Author:** [@SK1](https://forum.ansible.com/u/SK1)\
**Replies:** 0\
**Last updated:** [December 6, 2017, 2:48am UTC](https://forum.ansible.com/t/ansible-galaxy-install-is-failing/26210 "2017-12-06T02:48:35Z")

</div>

I am following https://eos.arista.com/arista-eos-roles-for-ansible/ to setup Ansible for Arista devices and I am receiving the below errors: \[root@dev14 ansible\]# ansible-galaxy install arista.eos-system \[WARNING\]: - a…

---

## [Using shell or command to do  git operation fails half the time](https://forum.ansible.com/t/using-shell-or-command-to-do-git-operation-fails-half-the-time/26188)

<div class="topic-metadata">

**Author:** [@Michael\_Bushey](https://forum.ansible.com/u/Michael_Bushey)\
**Replies:** 1\
**Last updated:** [December 5, 2017, 11:27pm UTC](https://forum.ansible.com/t/using-shell-or-command-to-do-git-operation-fails-half-the-time/26188 "2017-12-05T23:27:57Z")

</div>

I am doing a git fetch (also git merge master) on the remote machines. It seems random whether it will work or not. I get errors like: “error fetching identities for protocol 2: communication with agent failed” or “fatal…

---

## [Using sudo with pam-ssh-agent-auth after sudo\_flags is removed?](https://forum.ansible.com/t/using-sudo-with-pam-ssh-agent-auth-after-sudo-flags-is-removed/26209)

<div class="topic-metadata">

**Author:** [@Chris\_Pick](https://forum.ansible.com/u/Chris_Pick)\
**Replies:** 3\
**Last updated:** [December 5, 2017, 9:46pm UTC](https://forum.ansible.com/t/using-sudo-with-pam-ssh-agent-auth-after-sudo-flags-is-removed/26209 "2017-12-05T21:46:04Z")

</div>

In my project’s “ansible.cfg” I set “sudo\_flags = -H -S” to remove the “-n” option so that sudo works with pam-ssh-agent-auth (as suggested in this issue and in the docs). When I run ansible-playbook (version 2.4.2.0) i…

---

## [Ansible Host Machine Query](https://forum.ansible.com/t/ansible-host-machine-query/26206)

<div class="topic-metadata">

**Author:** [@Tsatish\_Kumar](https://forum.ansible.com/u/Tsatish_Kumar)\
**Replies:** 1\
**Last updated:** [December 5, 2017, 9:18pm UTC](https://forum.ansible.com/t/ansible-host-machine-query/26206 "2017-12-05T21:18:48Z")

</div>

Hi Team, Can any one let me know, whether is it possible to Manage 2 Service providers (AWS & Azure) with Single Ansible Host(Controller) hosted in AWS. Thanks & Regards, Satish

---

## [SSH Connection fails. Permission denied. Publickey, keyboard-interactive](https://forum.ansible.com/t/ssh-connection-fails-permission-denied-publickey-keyboard-interactive/26208)

<div class="topic-metadata">

**Author:** [@Gene\_Stanilevskiy](https://forum.ansible.com/u/Gene_Stanilevskiy)\
**Replies:** 1\
**Last updated:** [December 5, 2017, 9:02pm UTC](https://forum.ansible.com/t/ssh-connection-fails-permission-denied-publickey-keyboard-interactive/26208 "2017-12-05T21:02:00Z")

</div>

Hi All, New to Ansible. New to the group. Trying to run some basic commands against my VMware environment and thought I would start with vmware\_facts. ansible 2.4.1.0 config file = /etc/ansible/ansible.cfg configu…

---

## [How to configure audible not to use MD5?](https://forum.ansible.com/t/how-to-configure-audible-not-to-use-md5/26205)

<div class="topic-metadata">

**Author:** [@Veena](https://forum.ansible.com/u/Veena)\
**Replies:** 7\
**Last updated:** [December 5, 2017, 6:49pm UTC](https://forum.ansible.com/t/how-to-configure-audible-not-to-use-md5/26205 "2017-12-05T18:49:30Z")

</div>

By default ansible uses MD5 for all the modules. I should run ansible on a node where MD5 is not allowed. I could find a way for “copy” and “stat” by giving get\_md5=no, but there’s no alternative or workaround for “templ…

---

## [Inventory Updates do not run concurrently](https://forum.ansible.com/t/inventory-updates-do-not-run-concurrently/26204)

<div class="topic-metadata">

**Author:** [@scottmatthews343](https://forum.ansible.com/u/scottmatthews343)\
**Replies:** 0\
**Last updated:** [December 5, 2017, 9:15am UTC](https://forum.ansible.com/t/inventory-updates-do-not-run-concurrently/26204 "2017-12-05T09:15:34Z")

</div>

I have an concurrency issue with AWX that I hope I can get some advice on. Currently I have a job template with “Enable Concurrent Jobs” set. This works nicely but, for this template the inventory needs to be updated ev…

---

## [I cant create a simple .txt file using ansible.](https://forum.ansible.com/t/i-cant-create-a-simple-txt-file-using-ansible/26197)

<div class="topic-metadata">

**Author:** [@Muhammad\_Mahir](https://forum.ansible.com/u/Muhammad_Mahir)\
**Replies:** 4\
**Last updated:** [December 5, 2017, 7:52am UTC](https://forum.ansible.com/t/i-cant-create-a-simple-txt-file-using-ansible/26197 "2017-12-05T07:52:52Z")

</div>

Hello there, I just want to test my script if it creates a simple .txt file into a destination put instead it is creating that same file into the source vm that is where the ansible is installed. Here is the simple scr…

---

## [How to create a big inventpry file in ansible](https://forum.ansible.com/t/how-to-create-a-big-inventpry-file-in-ansible/26112)

<div class="topic-metadata">

**Author:** [@parwinderjit\_singh](https://forum.ansible.com/u/parwinderjit_singh)\
**Replies:** 5\
**Last updated:** [December 5, 2017, 5:17am UTC](https://forum.ansible.com/t/how-to-create-a-big-inventpry-file-in-ansible/26112 "2017-12-05T05:17:36Z")

</div>

Hi All, I have a excel sheet which contain 1000 server hostname with there IP address. I have to create a ansible host file from that sheet. My question is, is there a east way to create a ansible host file or i have to…

---

## [Human readable Stdout ansible (2.3.0)](https://forum.ansible.com/t/human-readable-stdout-ansible-2-3-0/23882)

<div class="topic-metadata">

**Author:** [@rajeev](https://forum.ansible.com/u/rajeev)\
**Replies:** 8\
**Last updated:** [December 5, 2017, 5:12am UTC](https://forum.ansible.com/t/human-readable-stdout-ansible-2-3-0/23882 "2017-12-05T05:12:20Z")

</div>

Hello All, I am in need of your urgent help. I am new to ansible. I have installed the latest version of ansible (2.3.0). I need to run the tool across my entire UNIX environment with 10000+ hosts. The problem is wit…

---

## [using tests to match a hostname](https://forum.ansible.com/t/using-tests-to-match-a-hostname/26201)

<div class="topic-metadata">

**Author:** [@Luke\_Miller](https://forum.ansible.com/u/Luke_Miller)\
**Replies:** 1\
**Last updated:** [December 5, 2017, 1:14am UTC](https://forum.ansible.com/t/using-tests-to-match-a-hostname/26201 "2017-12-05T01:14:46Z")

</div>

I am trying to use tests to match a hostname, I want hostnames that end in the letter “d”, they are non-production hosts, here is what I have: - name: Register to Foreman Redhat non-Prod redhat\_subscription: state…

---

## [Hide with\_dict variables from playbook output](https://forum.ansible.com/t/hide-with-dict-variables-from-playbook-output/26200)

<div class="topic-metadata">

**Author:** [@Adolphson](https://forum.ansible.com/u/Adolphson)\
**Replies:** 0\
**Last updated:** [December 4, 2017, 8:22pm UTC](https://forum.ansible.com/t/hide-with-dict-variables-from-playbook-output/26200 "2017-12-04T20:22:59Z")

</div>

I have a playbook where I use a dictionary variable file and an includes\_tasks play. My issue is the playbook displays the variables when it is run. I tried no\_log: True and ignore\_errors: True but makes no difference. I…

---

## [Error when running included playbook](https://forum.ansible.com/t/error-when-running-included-playbook/26199)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 0\
**Last updated:** [December 4, 2017, 7:44pm UTC](https://forum.ansible.com/t/error-when-running-included-playbook/26199 "2017-12-04T19:44:14Z")

</div>

Hi everyone, I’m receiving this weird error when running the second playbook (with include module and passing IP address). Here is my first playbook:

---

## [Deploying resources on Azure using Ansible](https://forum.ansible.com/t/deploying-resources-on-azure-using-ansible/26088)

<div class="topic-metadata">

**Author:** [@more.avi008](https://forum.ansible.com/u/more.avi008)\
**Replies:** 2\
**Last updated:** [December 4, 2017, 6:00pm UTC](https://forum.ansible.com/t/deploying-resources-on-azure-using-ansible/26088 "2017-12-04T18:00:11Z")

</div>

Dear All, I try to deploy the azure resources using ansible. Mu ansible base machin is on AWS and i installed all prerequisite regarding to ansible. When i execute the playbook for deploying azure VM, it’s give “resou…

---

## [Upgrading a list of packages from local .deb files](https://forum.ansible.com/t/upgrading-a-list-of-packages-from-local-deb-files/26198)

<div class="topic-metadata">

**Author:** [@Andrey\_Agenosov](https://forum.ansible.com/u/Andrey_Agenosov)\
**Replies:** 0\
**Last updated:** [December 4, 2017, 2:30pm UTC](https://forum.ansible.com/t/upgrading-a-list-of-packages-from-local-deb-files/26198 "2017-12-04T14:30:02Z")

</div>

Hello, I have the issue with upgrading our product on Debian-based systems. We have already installed packages of the version, for example, 2.0. There are several packages and some of it depend of the other. When I’m t…

---

## [Galaxy web site maintenace - 4 December 2017 @ 6:00 AM Eastern](https://forum.ansible.com/t/galaxy-web-site-maintenace-4-december-2017-6-00-am-eastern/26185)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 1\
**Last updated:** [December 4, 2017, 11:55am UTC](https://forum.ansible.com/t/galaxy-web-site-maintenace-4-december-2017-6-00-am-eastern/26185 "2017-12-04T11:55:18Z")

</div>

We’ll be doing some minor maintenance to the Galaxy web site on 4-Dec-2017 between 6:00 AM and 7:00 AM Eastern. Be aware that during this window it is possible that role imports and downloads may be interrupted. We’ll …

---

## [Galaxy web site maintenance - 4 December 2017 @ 6:00 AM Eastern](https://forum.ansible.com/t/galaxy-web-site-maintenance-4-december-2017-6-00-am-eastern/26186)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 1\
**Last updated:** [December 4, 2017, 11:54am UTC](https://forum.ansible.com/t/galaxy-web-site-maintenance-4-december-2017-6-00-am-eastern/26186 "2017-12-04T11:54:54Z")

</div>

We’ll be doing some minor maintenance to the Galaxy web site on 4-Dec-2017 between 6:00 AM and 7:00 AM Eastern. Be aware that during this window it is possible that role imports and downloads may be interrupted. We’ll …

---

## [ansible win\_updates output](https://forum.ansible.com/t/ansible-win-updates-output/26182)

<div class="topic-metadata">

**Author:** [@area0](https://forum.ansible.com/u/area0)\
**Replies:** 10\
**Last updated:** [December 4, 2017, 7:41am UTC](https://forum.ansible.com/t/ansible-win-updates-output/26182 "2017-12-04T07:41:11Z")

</div>

Hi guys, I’m trying to return the following message; i basically want to display the following message and only list the ‘title’ field for the available update. The message should read; " host1 has 12 updates available…

---

## [How Ansible Works? And Use of Ansible](https://forum.ansible.com/t/how-ansible-works-and-use-of-ansible/26196)

<div class="topic-metadata">

**Author:** [@lucielina02](https://forum.ansible.com/u/lucielina02)\
**Replies:** 0\
**Last updated:** [December 4, 2017, 6:18am UTC](https://forum.ansible.com/t/how-ansible-works-and-use-of-ansible/26196 "2017-12-04T06:18:35Z")

</div>

Ansible Works? There are many similar automation tools available like Puppet, Capistrano, Chef, Salt, Space Walk etc, but Ansible categorize into two types of server: controlling machines and nodes. The controlling mac…

---

## [galaxy init command](https://forum.ansible.com/t/galaxy-init-command/26195)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 0\
**Last updated:** [December 4, 2017, 5:25am UTC](https://forum.ansible.com/t/galaxy-init-command/26195 "2017-12-04T05:25:55Z")

</div>

Ansible init is not creating the file and template directory. Trying to run the below command to create vsftp role locally but it is not creating the complete directory structure. $ansible-galaxy init --offline vsftp I…

---

## [remote\_user on task is not working, how can I get troubleshooting information?](https://forum.ansible.com/t/remote-user-on-task-is-not-working-how-can-i-get-troubleshooting-information/26193)

<div class="topic-metadata">

**Author:** [@gordonmessmer](https://forum.ansible.com/u/gordonmessmer)\
**Replies:** 4\
**Last updated:** [December 3, 2017, 6:22pm UTC](https://forum.ansible.com/t/remote-user-on-task-is-not-working-how-can-i-get-troubleshooting-information/26193 "2017-12-03T18:22:33Z")

</div>

I have a task defined that sets “remote\_user” which has mysteriously started connecting as “root” instead of my own user account. I’ve been using this task for some time, and haven’t made any changes that appear relevant…

---

## [ansible to SSH to a remote host sits behind a web proxy](https://forum.ansible.com/t/ansible-to-ssh-to-a-remote-host-sits-behind-a-web-proxy/26194)

<div class="topic-metadata">

**Author:** [@anoop\_vc](https://forum.ansible.com/u/anoop_vc)\
**Replies:** 0\
**Last updated:** [December 3, 2017, 12:16pm UTC](https://forum.ansible.com/t/ansible-to-ssh-to-a-remote-host-sits-behind-a-web-proxy/26194 "2017-12-03T12:16:05Z")

</div>

Hi, I can access a host only through a web proxy using the host’s pubic ip adress. How to run tasks against that server. ansible controller node name : AnsibleHost remote server name : remotehost webproxy: proxy.com:…

---

## [do post\_tasks execute when a role fails?](https://forum.ansible.com/t/do-post-tasks-execute-when-a-role-fails/23153)

<div class="topic-metadata">

**Author:** [@sergio.guillen](https://forum.ansible.com/u/sergio.guillen)\
**Replies:** 6\
**Last updated:** [December 3, 2017, 11:51am UTC](https://forum.ansible.com/t/do-post-tasks-execute-when-a-role-fails/23153 "2017-12-03T11:51:15Z")

</div>

Hi, I created a role that has a rescue block where role is marked as failed: \` — #myrole block: … rescue: fail: msg=‘some message’ #mark as fail ansible\_failed\_task is defined \` On my playbook the idea is to send…

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

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