# Latest

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

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

**Page:** 721

---

## [how to use regex in copy or other module](https://forum.ansible.com/t/how-to-use-regex-in-copy-or-other-module/22696)

<div class="topic-metadata">

**Author:** [@user81](https://forum.ansible.com/u/user81)\
**Replies:** 2\
**Last updated:** [October 3, 2016, 3:14am UTC](https://forum.ansible.com/t/how-to-use-regex-in-copy-or-other-module/22696 "2016-10-03T03:14:44Z")

</div>

I need to copy files from managed node to control machines. A machine’s tomcat path : /usr/local/tomcat-aux B machine’s tomcat path : /usr/local/tomcat-hk actually there is not only these two instance. so I’ve tried …

---

## [running second task from inside playbook](https://forum.ansible.com/t/running-second-task-from-inside-playbook/22701)

<div class="topic-metadata">

**Author:** [@Janis\_Heller](https://forum.ansible.com/u/Janis_Heller)\
**Replies:** 2\
**Last updated:** [October 3, 2016, 2:41am UTC](https://forum.ansible.com/t/running-second-task-from-inside-playbook/22701 "2016-10-03T02:41:26Z")

</div>

I have written a playbook to install some proxy servers on servers. Now I would need to add a task inside this playbook, so the server get’s entered into my RADIUS server config too. For this I would need to: connect …

---

## [ansible user module change passwd](https://forum.ansible.com/t/ansible-user-module-change-passwd/22687)

<div class="topic-metadata">

**Author:** [@hzj.zh](https://forum.ansible.com/u/hzj.zh)\
**Replies:** 7\
**Last updated:** [October 3, 2016, 12:51am UTC](https://forum.ansible.com/t/ansible-user-module-change-passwd/22687 "2016-10-03T00:51:37Z")

</div>

hello，all i want to use ansible user module to change password on the remote hosts, but , if the user is not in the remote hosts, ansible will create the user, how can i change password only, if user is not exist, retu…

---

## [ec2\_vol\_facts examples?](https://forum.ansible.com/t/ec2-vol-facts-examples/22697)

<div class="topic-metadata">

**Author:** [@mrz](https://forum.ansible.com/u/mrz)\
**Replies:** 1\
**Last updated:** [October 2, 2016, 1:34am UTC](https://forum.ansible.com/t/ec2-vol-facts-examples/22697 "2016-10-02T01:34:41Z")

</div>

I need to go through my EC2 fleet and ensure certain tags are applied on ebs volumes. I have a conformance Playbook that goes through all the db nodes. ansible-playbook -i ec2.py -l tag\_role\_db db.yml I’m a little unce…

---

## [First code contribution to Ansible, looking for feedback](https://forum.ansible.com/t/first-code-contribution-to-ansible-looking-for-feedback/22677)

<div class="topic-metadata">

**Author:** [@Rob\_Phoenix](https://forum.ansible.com/u/Rob_Phoenix)\
**Replies:** 1\
**Last updated:** [October 1, 2016, 3:44pm UTC](https://forum.ansible.com/t/first-code-contribution-to-ansible-looking-for-feedback/22677 "2016-10-01T15:44:56Z")

</div>

Hi, I’m just starting to write some code for a first code PR to Ansible. It’s still a work in progress, but I just want to get some feedback and see if I’m working in the right direction. It’s in response to this issue…

---

## [CommVault Modules](https://forum.ansible.com/t/commvault-modules/22695)

<div class="topic-metadata">

**Author:** [@Jeorry\_Balasabas](https://forum.ansible.com/u/Jeorry_Balasabas)\
**Replies:** 0\
**Last updated:** [October 1, 2016, 12:44am UTC](https://forum.ansible.com/t/commvault-modules/22695 "2016-10-01T00:44:23Z")

</div>

Now that commvault released a rest API I was thinking of developing custom modules for automating disaster recovery scenarios. Just want to make sure I wasn't doubling up on work someone else was already doing.

---

## [How to easily test/experiment with jinja templating in ansible?](https://forum.ansible.com/t/how-to-easily-test-experiment-with-jinja-templating-in-ansible/17108)

<div class="topic-metadata">

**Author:** [@Dario\_Bertini](https://forum.ansible.com/u/Dario_Bertini)\
**Replies:** 3\
**Last updated:** [October 1, 2016, 12:03am UTC](https://forum.ansible.com/t/how-to-easily-test-experiment-with-jinja-templating-in-ansible/17108 "2016-10-01T00:03:25Z")

</div>

I’ve been bitten one too many times by the way that ansible interacts with jinja. I’d say its error handling is a little bit too lax, defaulting to return empty strings or similar things that then end up getting my playb…

---

## [Dynamically creating a list in a group\_vars yml file](https://forum.ansible.com/t/dynamically-creating-a-list-in-a-group-vars-yml-file/15113)

<div class="topic-metadata">

**Author:** [@Kristopher\_Cieplak](https://forum.ansible.com/u/Kristopher_Cieplak)\
**Replies:** 4\
**Last updated:** [September 30, 2016, 10:27pm UTC](https://forum.ansible.com/t/dynamically-creating-a-list-in-a-group-vars-yml-file/15113 "2016-09-30T22:27:32Z")

</div>

I am wondering if this is possible I have a group\_vars file with some variables in it, and I need to set, the list is generated from the inventory and a mapping to the ec2 private ip address. For example in my group\_var…

---

## [raw module - run background tasks on remote machine (using nohup and &)](https://forum.ansible.com/t/raw-module-run-background-tasks-on-remote-machine-using-nohup-and/22691)

<div class="topic-metadata">

**Author:** [@Sourav\_Chatterjee](https://forum.ansible.com/u/Sourav_Chatterjee)\
**Replies:** 3\
**Last updated:** [September 30, 2016, 6:17pm UTC](https://forum.ansible.com/t/raw-module-run-background-tasks-on-remote-machine-using-nohup-and/22691 "2016-09-30T18:17:54Z")

</div>

I wanted to execute shell command on remote machine but in background using nohup and & like below - raw: “nohup touch /tmp/hello.txt &” It is not working. It works if it is executed without nohup and &. Any suggestio…

---

## [Can ansible work without Python2.7 on target (remote) machine? We cannot install python in remote machine as there might not be internet connection available.](https://forum.ansible.com/t/can-ansible-work-without-python2-7-on-target-remote-machine-we-cannot-install-python-in-remote-machine-as-there-might-not-be-internet-connection-available/22686)

<div class="topic-metadata">

**Author:** [@Sourav\_Chatterjee](https://forum.ansible.com/u/Sourav_Chatterjee)\
**Replies:** 2\
**Last updated:** [September 30, 2016, 5:31pm UTC](https://forum.ansible.com/t/can-ansible-work-without-python2-7-on-target-remote-machine-we-cannot-install-python-in-remote-machine-as-there-might-not-be-internet-connection-available/22686 "2016-09-30T17:31:44Z")

</div>

Hi, I would like to confirm if ansible can be used without python2.7 on target machine, if there is any way …? We will not be able to able to install python on target machine using ansible raw module as there may not be…

---

## [What's going on?](https://forum.ansible.com/t/whats-going-on/22692)

<div class="topic-metadata">

**Author:** [@Muha\_Zokotuha](https://forum.ansible.com/u/Muha_Zokotuha)\
**Replies:** 1\
**Last updated:** [September 30, 2016, 5:26pm UTC](https://forum.ansible.com/t/whats-going-on/22692 "2016-09-30T17:26:04Z")

</div>

Hi all! I have a problem:https://dl.dropboxusercontent.com/u/5848220/screenshot.8830.jpg My playbook file: https://dl.dropboxusercontent.com/u/5848220/screenshot.8829.jpg Is that an Ansibles bug or what?

---

## [2.1.2 Cron Module](https://forum.ansible.com/t/2-1-2-cron-module/22690)

<div class="topic-metadata">

**Author:** [@Taylor\_Swann](https://forum.ansible.com/u/Taylor_Swann)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 3:45pm UTC](https://forum.ansible.com/t/2-1-2-cron-module/22690 "2016-09-30T15:45:26Z")

</div>

Running into an issue on my Ubuntu 14.04 EC2 instances. I install ansible via user data and apt-get. When I invoke ansible-pull in my user data I’m seeing this failure: \<127.0.0.1\> ESTABLISH LOCAL CONNECTION FOR USER: …

---

## [Dependencies from private repo](https://forum.ansible.com/t/dependencies-from-private-repo/22596)

<div class="topic-metadata">

**Author:** [@Karibou\_Hunter](https://forum.ansible.com/u/Karibou_Hunter)\
**Replies:** 2\
**Last updated:** [September 30, 2016, 3:01pm UTC](https://forum.ansible.com/t/dependencies-from-private-repo/22596 "2016-09-30T15:01:42Z")

</div>

Hi all, I am trying to automatically pull roles within a role meta/main.yml dependencies. I have seen something deleted on documentation about this format : \` dependencies: { role: ‘git+http://git.example.com/repos…

---

## [ansible pipelining config for aix](https://forum.ansible.com/t/ansible-pipelining-config-for-aix/22674)

<div class="topic-metadata">

**Author:** [@hzj.zh](https://forum.ansible.com/u/hzj.zh)\
**Replies:** 1\
**Last updated:** [September 30, 2016, 1:56pm UTC](https://forum.ansible.com/t/ansible-pipelining-config-for-aix/22674 "2016-09-30T13:56:00Z")

</div>

hello，all when i set pipelining = True in ansible.cfg， when i execute task for aix, adhoc returns MODULE FAILURE, playbook returns “module\_stderr”: “3004-501 Cannot su to "root" : Authentication is denied.\\n” is the…

---

## [ovs-vsctl add-bond with Ansible](https://forum.ansible.com/t/ovs-vsctl-add-bond-with-ansible/22689)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 10:17am UTC](https://forum.ansible.com/t/ovs-vsctl-add-bond-with-ansible/22689 "2016-09-30T10:17:43Z")

</div>

Is there a way to replicate the command “ovs-vsctl add-bond ” with openvswitch\_port in Ansible?

---

## [Playbook development - Stuck on Fs](https://forum.ansible.com/t/playbook-development-stuck-on-fs/22688)

<div class="topic-metadata">

**Author:** [@Miguel\_Lopez\_Laguna](https://forum.ansible.com/u/Miguel_Lopez_Laguna)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 9:43am UTC](https://forum.ansible.com/t/playbook-development-stuck-on-fs/22688 "2016-09-30T09:43:03Z")

</div>

Hi, first of all i would like to introduce myself, i work with linux and AIX systems and I’m trying to have some automation over the servers farm I’m new to ansible and i’ve been reading the docs and i get how playbooks…

---

## [Nested facts get clobbered with an update to child fact](https://forum.ansible.com/t/nested-facts-get-clobbered-with-an-update-to-child-fact/22670)

<div class="topic-metadata">

**Author:** [@E.C\_Raymond](https://forum.ansible.com/u/E.C_Raymond)\
**Replies:** 1\
**Last updated:** [September 30, 2016, 9:41am UTC](https://forum.ansible.com/t/nested-facts-get-clobbered-with-an-update-to-child-fact/22670 "2016-09-30T09:41:51Z")

</div>

I am testing on both 1.9.4 and 2.1 and seeing the exact same behavior. We have a fact.d generator that creates a tree of facts under ansible\_local. We use this to set defaults, but if during playbook execution it needs …

---

## [Stuck on a playbook development - Fs](https://forum.ansible.com/t/stuck-on-a-playbook-development-fs/22685)

<div class="topic-metadata">

**Author:** [@Miguel\_Lopez\_Laguna](https://forum.ansible.com/u/Miguel_Lopez_Laguna)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 6:56am UTC](https://forum.ansible.com/t/stuck-on-a-playbook-development-fs/22685 "2016-09-30T06:56:14Z")

</div>

Hi, first of all i would like to introduce myself, i work with linux and AIX systems and I’m trying to have some automation over the servers farm I’m new to ansible and i’ve been reading the docs and i get how playbooks…

---

## [Stuck on a playbook development - Fs](https://forum.ansible.com/t/stuck-on-a-playbook-development-fs/22684)

<div class="topic-metadata">

**Author:** [@Miguel\_Lopez\_Laguna](https://forum.ansible.com/u/Miguel_Lopez_Laguna)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 6:51am UTC](https://forum.ansible.com/t/stuck-on-a-playbook-development-fs/22684 "2016-09-30T06:51:54Z")

</div>

Hi, first of all i would like to introduce myself, i work with linux and AIX systems and I’m trying to have some automation over the servers farm I’m new to ansible and i’ve been reading the docs and i get how playbooks…

---

## [Stuck on a playbook development - Fs](https://forum.ansible.com/t/stuck-on-a-playbook-development-fs/22673)

<div class="topic-metadata">

**Author:** [@Miguel\_Lopez\_Laguna](https://forum.ansible.com/u/Miguel_Lopez_Laguna)\
**Replies:** 4\
**Last updated:** [September 30, 2016, 6:42am UTC](https://forum.ansible.com/t/stuck-on-a-playbook-development-fs/22673 "2016-09-30T06:42:20Z")

</div>

Hi, first of all i would like to introduce myself, i work with linux and AIX systems and I’m trying to have some automation over the servers farm I’m new to ansible and i’ve been reading the docs and i get how playbooks…

---

## [mounting new disk on Ubuntu](https://forum.ansible.com/t/mounting-new-disk-on-ubuntu/22683)

<div class="topic-metadata">

**Author:** [@jude\_m](https://forum.ansible.com/u/jude_m)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 5:55am UTC](https://forum.ansible.com/t/mounting-new-disk-on-ubuntu/22683 "2016-09-30T05:55:31Z")

</div>

Hello All, I have added a new disk to my Ubuntu machine, I would like to automate the below step using Ansible partition the new disk with fdisk format the disk as ext4 mount the disk Any help here is greatly appreci…

---

## [ANN: Playbook for 'Installing Kubernetes on Linux with kubeadm'](https://forum.ansible.com/t/ann-playbook-for-installing-kubernetes-on-linux-with-kubeadm/22681)

<div class="topic-metadata">

**Author:** [@Don\_Jackson](https://forum.ansible.com/u/Don_Jackson)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 3:44am UTC](https://forum.ansible.com/t/ann-playbook-for-installing-kubernetes-on-linux-with-kubeadm/22681 "2016-09-30T03:44:33Z")

</div>

I wrote: https://github.com/dcj/ansible-kubeadm-cluster To implement: Installing Kubernetes on Linux with kubeadm

---

## [What's the point of docker connection?](https://forum.ansible.com/t/whats-the-point-of-docker-connection/22680)

<div class="topic-metadata">

**Author:** [@Joaquin\_Menchaca](https://forum.ansible.com/u/Joaquin_Menchaca)\
**Replies:** 2\
**Last updated:** [September 29, 2016, 10:15pm UTC](https://forum.ansible.com/t/whats-the-point-of-docker-connection/22680 "2016-09-29T22:15:53Z")

</div>

I was wondering, as docker seems to be more popular to administer servers, not local development systems, what is the point of docker connection? It’s utility seems rather limited. The docker connection only works on lo…

---

## [ansible 2.1.1, yum install and disabled respositories](https://forum.ansible.com/t/ansible-2-1-1-yum-install-and-disabled-respositories/22665)

<div class="topic-metadata">

**Author:** [@TheUnicornXXL](https://forum.ansible.com/u/TheUnicornXXL)\
**Replies:** 2\
**Last updated:** [September 29, 2016, 10:06pm UTC](https://forum.ansible.com/t/ansible-2-1-1-yum-install-and-disabled-respositories/22665 "2016-09-29T22:06:57Z")

</div>

Hi, I use ansible 2.1.1 and have a problem with "yum install" if the used repository is disabled. Here the task: - name: Bareos-fd installieren / RedHat family yum: name={{item}} state=latest with\_items: -…

---

## [Ansible-vault errors with "Odd-length string"](https://forum.ansible.com/t/ansible-vault-errors-with-odd-length-string/17188)

<div class="topic-metadata">

**Author:** [@Mxx](https://forum.ansible.com/u/Mxx)\
**Replies:** 2\
**Last updated:** [September 29, 2016, 9:25pm UTC](https://forum.ansible.com/t/ansible-vault-errors-with-odd-length-string/17188 "2016-09-29T21:25:22Z")

</div>

I’m running Ansible 1.8.2 I have a vaulted file created on another system. On that system it works without any problems. However, when I run it on my local system I get the follow error: \` $» ansible-vault --debug vi…

---

## [Ansible 2.1.2 FINAL has been released!](https://forum.ansible.com/t/ansible-2-1-2-final-has-been-released/22678)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [September 29, 2016, 9:02pm UTC](https://forum.ansible.com/t/ansible-2-1-2-final-has-been-released/22678 "2016-09-29T21:02:41Z")

</div>

Hi all, we’re very happy to announce that Ansible 2.1.2 has been released! This release fixes many bugs, which can be found in the CHANGELOG or the previous RC-related emails for 2.1.2. As always, this update is availa…

---

## [FAILED =\> the username/password specified for this server was incorrect](https://forum.ansible.com/t/failed-the-username-password-specified-for-this-server-was-incorrect/22545)

<div class="topic-metadata">

**Author:** [@Cory\_Coager](https://forum.ansible.com/u/Cory_Coager)\
**Replies:** 1\
**Last updated:** [September 29, 2016, 7:42pm UTC](https://forum.ansible.com/t/failed-the-username-password-specified-for-this-server-was-incorrect/22545 "2016-09-29T19:42:24Z")

</div>

The majority of Windows hosts are working correctly. However, I have a couple that are giving me an error “FAILED =\> the username/password specified for this server was incorrect”. The account I’m using to connect is par…

---

## [Ansible Core 2.2 is Frozen!](https://forum.ansible.com/t/ansible-core-2-2-is-frozen/22584)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 2\
**Last updated:** [September 29, 2016, 7:42pm UTC](https://forum.ansible.com/t/ansible-core-2-2-is-frozen/22584 "2016-09-29T19:42:05Z")

</div>

Ansible Core and Modules are totally feature frozen for testing before we release our first 2.2 Release Candidate on 03 OCTOBER 2016. ONLY bug-fixes will be accepted for inclusion for 2.2 Release Candidate 1.

---

## [Differentiating between environments using the ec2 dynamic inventory](https://forum.ansible.com/t/differentiating-between-environments-using-the-ec2-dynamic-inventory/22679)

<div class="topic-metadata">

**Author:** [@daniel\_robert\_pilch](https://forum.ansible.com/u/daniel_robert_pilch)\
**Replies:** 0\
**Last updated:** [September 29, 2016, 4:49pm UTC](https://forum.ansible.com/t/differentiating-between-environments-using-the-ec2-dynamic-inventory/22679 "2016-09-29T16:49:06Z")

</div>

Hi all, Suppose I have two environments and in EC2 built with cloudformation and they are grouped or tagged as: tag\_aws\_cloudformation\_stack\_name\_example\_d1 tag\_aws\_cloudformation\_stack\_name\_example\_d2 within each cl…

---

## [Set fact on all hosts if a directory is present on one of the hosts.](https://forum.ansible.com/t/set-fact-on-all-hosts-if-a-directory-is-present-on-one-of-the-hosts/22672)

<div class="topic-metadata">

**Author:** [@Rafal\_Radecki](https://forum.ansible.com/u/Rafal_Radecki)\
**Replies:** 2\
**Last updated:** [September 29, 2016, 11:14am UTC](https://forum.ansible.com/t/set-fact-on-all-hosts-if-a-directory-is-present-on-one-of-the-hosts/22672 "2016-09-29T11:14:52Z")

</div>

Hi All :slight\_smile: I am currently trying to find a way to set a variable/fact on all hosts in case a directory for a service will already exist on one of the play’s hosts. Basically: check if dir exists on all hosts…

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

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