# Latest

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

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

**Page:** 568

---

## [Installing Jenkins plugins with their dependencies](https://forum.ansible.com/t/installing-jenkins-plugins-with-their-dependencies/27177)

<div class="topic-metadata">

**Author:** [@JiElPe-Fr38](https://forum.ansible.com/u/JiElPe-Fr38)\
**Replies:** 2\
**Last updated:** [April 5, 2018, 8:07am UTC](https://forum.ansible.com/t/installing-jenkins-plugins-with-their-dependencies/27177 "2018-04-05T08:07:16Z")

</div>

Dear all, I have created a jenkins role that creates a jenkins instance and add plugins. The task related to plugins is as follows : \` \` name: Install plugins jenkins\_plugin: group: “{{ jenkins\_process\_group }}” …

---

## [How to make mandatory variables if variable is defined](https://forum.ansible.com/t/how-to-make-mandatory-variables-if-variable-is-defined/27193)

<div class="topic-metadata">

**Author:** [@Javier\_Marti](https://forum.ansible.com/u/Javier_Marti)\
**Replies:** 1\
**Last updated:** [April 5, 2018, 7:25am UTC](https://forum.ansible.com/t/how-to-make-mandatory-variables-if-variable-is-defined/27193 "2018-04-05T07:25:31Z")

</div>

Hi, I want to make sure before execution of the role that if a variable is defined you have to define another variables, can I do that? I have a template: {% if variable1 != ‘’ %} variable1 = {{ variable1 }} variable…

---

## [ansible-vault encrypt\_string and inventory files](https://forum.ansible.com/t/ansible-vault-encrypt-string-and-inventory-files/27192)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 5:15am UTC](https://forum.ansible.com/t/ansible-vault-encrypt-string-and-inventory-files/27192 "2018-04-05T05:15:14Z")

</div>

Have you tried ansible\_password: !vault | $ANSIBLE\_VAULT;1.1;AES256 30653431356634633165316664383264313636623136623831663566303436613834366536663333 62366664356131643061623462616663393532303…

---

## [ansible-vault encrypt\_string and inventory files](https://forum.ansible.com/t/ansible-vault-encrypt-string-and-inventory-files/27189)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 3\
**Last updated:** [April 5, 2018, 4:47am UTC](https://forum.ansible.com/t/ansible-vault-encrypt-string-and-inventory-files/27189 "2018-04-05T04:47:08Z")

</div>

It will never work in ini file, you can encrypt the whole inventory though (yaml or ini). As for the single var, it 'should' work in a YAML inventory, but i don't think we had it as a specific feature.

---

## [Subject: Ansible 2.4.4.0 Final released](https://forum.ansible.com/t/subject-ansible-2-4-4-0-final-released/27190)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 4:17am UTC](https://forum.ansible.com/t/subject-ansible-2-4-4-0-final-released/27190 "2018-04-05T04:17:24Z")

</div>

Hi all, For everyone who has not yet decided to upgrade to ansible-2.5.0 we're happy to announce that ansible- 2.4.4.0 has been released.

---

## [ansible regex with lineinfile module not updating all host](https://forum.ansible.com/t/ansible-regex-with-lineinfile-module-not-updating-all-host/27184)

<div class="topic-metadata">

**Author:** [@rraka1002](https://forum.ansible.com/u/rraka1002)\
**Replies:** 2\
**Last updated:** [April 5, 2018, 3:49am UTC](https://forum.ansible.com/t/ansible-regex-with-lineinfile-module-not-updating-all-host/27184 "2018-04-05T03:49:12Z")

</div>

Esteemed Collegues, I have created a Playbook to replcae the Entry in a file using a lineinfile module, while i tried running it run and replace in entry on the one host while not on the another host, i don’t understand …

---

## [Ansible help regex](https://forum.ansible.com/t/ansible-help-regex/27182)

<div class="topic-metadata">

**Author:** [@Numi](https://forum.ansible.com/u/Numi)\
**Replies:** 1\
**Last updated:** [April 4, 2018, 5:51pm UTC](https://forum.ansible.com/t/ansible-help-regex/27182 "2018-04-04T17:51:42Z")

</div>

Hello, I was wondering if someone can possible help me with my Ansible playbook. I have a file called myfile.yml with a line that contains an image. Example line: service: blahblah image: myoldimagename blahblah I want…

---

## [set\_fact, map command combination returning 'undefined'](https://forum.ansible.com/t/set-fact-map-command-combination-returning-undefined/27187)

<div class="topic-metadata">

**Author:** [@Gregory\_Mirsky](https://forum.ansible.com/u/Gregory_Mirsky)\
**Replies:** 0\
**Last updated:** [April 4, 2018, 1:45pm UTC](https://forum.ansible.com/t/set-fact-map-command-combination-returning-undefined/27187 "2018-04-04T13:45:39Z")

</div>

I am able to successfully execute Ansible module ec2\_vpc\_subnet\_facts and register the output into a variable, subnet\_facts. I am using Ansible version 2.5.0and python version = 2.7.14 I am able to check that subnet\_fa…

---

## [Passing variables in roles](https://forum.ansible.com/t/passing-variables-in-roles/27185)

<div class="topic-metadata">

**Author:** [@Pranay\_Nanda](https://forum.ansible.com/u/Pranay_Nanda)\
**Replies:** 1\
**Last updated:** [April 4, 2018, 1:15pm UTC](https://forum.ansible.com/t/passing-variables-in-roles/27185 "2018-04-04T13:15:18Z")

</div>

Is it possible to pass values registered in role to be passed as a variable to another role? I have a list of files that I want to register using the find module in one role and then pass the registered value to another …

---

## [ansibullbot news: automerge status via bot\_status](https://forum.ansible.com/t/ansibullbot-news-automerge-status-via-bot-status/27186)

<div class="topic-metadata">

**Author:** [@Martin\_Krizek](https://forum.ansible.com/u/Martin_Krizek)\
**Replies:** 0\
**Last updated:** [April 4, 2018, 12:47pm UTC](https://forum.ansible.com/t/ansibullbot-news-automerge-status-via-bot-status/27186 "2018-04-04T12:47:58Z")

</div>

Hi, people often wonder why particular PR was not auto-merged by the bot. Well, as of today you can find out why (or at least get a hint) via the bot\_status command which includes status of automerge. Hope it will be…

---

## [ansible.parsing.yaml.objects.AnsibleUnicode error](https://forum.ansible.com/t/ansible-parsing-yaml-objects-ansibleunicode-error/27175)

<div class="topic-metadata">

**Author:** [@Ridvan\_KARATAS](https://forum.ansible.com/u/Ridvan_KARATAS)\
**Replies:** 1\
**Last updated:** [April 4, 2018, 11:08am UTC](https://forum.ansible.com/t/ansible-parsing-yaml-objects-ansibleunicode-error/27175 "2018-04-04T11:08:46Z")

</div>

Hi I’m using ansible 2.5.0 When I’m trying to deploy a service it gives me this error: \` ansible.parsing.yaml.objects.AnsibleUnicode object’ has no attribute ‘ipv4’ \` I couldn’t find much more relevant according to…

---

## [\[Urgent help\] Running a task every x seconds till y seconds](https://forum.ansible.com/t/urgent-help-running-a-task-every-x-seconds-till-y-seconds/27161)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [April 4, 2018, 8:49am UTC](https://forum.ansible.com/t/urgent-help-running-a-task-every-x-seconds-till-y-seconds/27161 "2018-04-04T08:49:52Z")

</div>

Hi All, I there a way to run a task every x seconds, store the output. The task should run till y second. Example, I would like to run a task every 10 seconds , get the output , till 300 seconds. So the task would be ru…

---

## [errors for unknown reasons](https://forum.ansible.com/t/errors-for-unknown-reasons/27183)

<div class="topic-metadata">

**Author:** [@Paul\_Franks](https://forum.ansible.com/u/Paul_Franks)\
**Replies:** 0\
**Last updated:** [April 4, 2018, 5:09am UTC](https://forum.ansible.com/t/errors-for-unknown-reasons/27183 "2018-04-04T05:09:40Z")

</div>

Hi All - noob question - trying to create resources via ansible → CFN and i get an error i can’t understand Failed to create stack pfranks-VPC: Parameter validation failed:\\nUnknown parameter in input: "ClientRequestTok…

---

## [Set up a check for the patching logs in the nodes](https://forum.ansible.com/t/set-up-a-check-for-the-patching-logs-in-the-nodes/26804)

<div class="topic-metadata">

**Author:** [@Shreela\_Roy](https://forum.ansible.com/u/Shreela_Roy)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 8:12pm UTC](https://forum.ansible.com/t/set-up-a-check-for-the-patching-logs-in-the-nodes/26804 "2018-04-03T20:12:40Z")

</div>

I am running an ansible playbook for patching the nodes from the control server. I want to set up a check which would check for the word COMPLETED in the file: something like: /var/log/12-2017PM-PATCH.log| grep -o COMP…

---

## [Absurd run\_once behavior, skipping entirely if first node fails a when test](https://forum.ansible.com/t/absurd-run-once-behavior-skipping-entirely-if-first-node-fails-a-when-test/27044)

<div class="topic-metadata">

**Author:** [@Alex\_Hunt](https://forum.ansible.com/u/Alex_Hunt)\
**Replies:** 18\
**Last updated:** [April 3, 2018, 7:15pm UTC](https://forum.ansible.com/t/absurd-run-once-behavior-skipping-entirely-if-first-node-fails-a-when-test/27044 "2018-04-03T19:15:27Z")

</div>

When running a task with run\_once, if the first node is skipped, the entire task is skipped, rather than running on the first host that is not skipped. This behavior is not what is intuitively understood, this behavior …

---

## [AWX Usability Tests ($25 Amazon Giftcard giveaway)](https://forum.ansible.com/t/awx-usability-tests-25-amazon-giftcard-giveaway/27171)

<div class="topic-metadata">

**Author:** [@David\_Williams](https://forum.ansible.com/u/David_Williams)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 6:04pm UTC](https://forum.ansible.com/t/awx-usability-tests-25-amazon-giftcard-giveaway/27171 "2018-04-03T18:04:27Z")

</div>

Hello AWX users! This will be my last time posting here, but if you haven’t seen my previous posts, my name is David and I’m on a team of Masters students at the University of MIchigan that are conducting research on AW…

---

## [complete ansible command line verbose like display using the python API](https://forum.ansible.com/t/complete-ansible-command-line-verbose-like-display-using-the-python-api/27172)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 5:38pm UTC](https://forum.ansible.com/t/complete-ansible-command-line-verbose-like-display-using-the-python-api/27172 "2018-04-03T17:38:20Z")

</div>

Hi So when we run a ansible playbook in command line with -vvv \[ verbosity=3\] we get all these below information like “Task path” , “using module” and the internals of how each hosts gets connectivity established. TASK…

---

## [How do you add an EC2 instance created with ec2 module to ~/.ssh/known\_hosts](https://forum.ansible.com/t/how-do-you-add-an-ec2-instance-created-with-ec2-module-to-ssh-known-hosts/27181)

<div class="topic-metadata">

**Author:** [@Tim\_Stewart](https://forum.ansible.com/u/Tim_Stewart)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 5:36pm UTC](https://forum.ansible.com/t/how-do-you-add-an-ec2-instance-created-with-ec2-module-to-ssh-known-hosts/27181 "2018-04-03T17:36:46Z")

</div>

Let’s say I have this ec2 task (taken from the documentation) in a file named site.yml: \` Basic provisioning example ec2: key\_name: mykey instance\_type: t2.micro image: ami-123456 wait: yes group: webserver cou…

---

## [Config multiple devices](https://forum.ansible.com/t/config-multiple-devices/27166)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 5:05pm UTC](https://forum.ansible.com/t/config-multiple-devices/27166 "2018-04-03T17:05:20Z")

</div>

all, I have to configure multiple devices with different configurations, how can I run a single playbook and separate the configurations for each device? .

---

## [having a ssh connection failure between visual studio and ansible server. But playbook works fine between to two servers](https://forum.ansible.com/t/having-a-ssh-connection-failure-between-visual-studio-and-ansible-server-but-playbook-works-fine-between-to-two-servers/27180)

<div class="topic-metadata">

**Author:** [@workarea448](https://forum.ansible.com/u/workarea448)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 4:44pm UTC](https://forum.ansible.com/t/having-a-ssh-connection-failure-between-visual-studio-and-ansible-server-but-playbook-works-fine-between-to-two-servers/27180 "2018-04-03T16:44:12Z")

</div>

Can any provide me what should i provide and modify in ansible server. even though i have given RUN PLAYBOOK details in vsts getting below error. please help me 2018-03-28T23:20:19.5242922Z ##\[section\]Starting: Run play…

---

## [Configuration of /etc/ansible/hosts](https://forum.ansible.com/t/configuration-of-etc-ansible-hosts/27179)

<div class="topic-metadata">

**Author:** [@Didier\_Bretin](https://forum.ansible.com/u/Didier_Bretin)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 4:15pm UTC](https://forum.ansible.com/t/configuration-of-etc-ansible-hosts/27179 "2018-04-03T16:15:56Z")

</div>

Hello, I would like to define a SSH private key by host in /etc/ansible/hosts of my « awxcontainer\_awx\_task\_1 » docker container. If I login in this container and try to use the hosts defined in the ansible configurati…

---

## [Outputs to TXT & Compare](https://forum.ansible.com/t/outputs-to-txt-compare/27178)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 12:42pm UTC](https://forum.ansible.com/t/outputs-to-txt-compare/27178 "2018-04-03T12:42:48Z")

</div>

Hi all, I have a playbook that grabas a config from a Network device, the issue is how can I configure the output so it can have the time stamp, on the name because it always saves the file with the same name. If I can …

---

## [Ansible command-line like verbose \> 3 using python API 2.0](https://forum.ansible.com/t/ansible-command-line-like-verbose-3-using-python-api-2-0/27176)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 11:33am UTC](https://forum.ansible.com/t/ansible-command-line-like-verbose-3-using-python-api-2-0/27176 "2018-04-03T11:33:25Z")

</div>

Hi So when we run a ansible playbook in command line with -vvv \[ verbosity=3\] we get all these below information like “Task path” , “using module” and the internals of how each hosts gets connectivity established. TASK…

---

## [Cannot build AWX following Contributing guide on Mac.](https://forum.ansible.com/t/cannot-build-awx-following-contributing-guide-on-mac/27122)

<div class="topic-metadata">

**Author:** [@MarcG](https://forum.ansible.com/u/MarcG)\
**Replies:** 21\
**Last updated:** [April 3, 2018, 10:27am UTC](https://forum.ansible.com/t/cannot-build-awx-following-contributing-guide-on-mac/27122 "2018-04-03T10:27:48Z")

</div>

Hi I am trying to setup the my development environment. I am running the latest version of mac os and have docker for mac installed. It is failing at starting the containers (make docker-compose ). I didn’t want to rais…

---

## [Ansible 2.4.4 RC2 is ready for testing](https://forum.ansible.com/t/ansible-2-4-4-rc2-is-ready-for-testing/27160)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 9:10am UTC](https://forum.ansible.com/t/ansible-2-4-4-rc2-is-ready-for-testing/27160 "2018-04-03T09:10:24Z")

</div>

For those who are waiting a bit to upgrade to Ansible-2.5.x, we're happy to announce that RC2 for 2.4.4 is now available for testing! How do you get it?

---

## [EOF occurred in violation of protocol](https://forum.ansible.com/t/eof-occurred-in-violation-of-protocol/27174)

<div class="topic-metadata">

**Author:** [@chanond](https://forum.ansible.com/u/chanond)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 8:09am UTC](https://forum.ansible.com/t/eof-occurred-in-violation-of-protocol/27174 "2018-04-03T08:09:16Z")

</div>

I am setting up ansible on a new device using the following step. Machine setup: Windows 10 with WSL enabled sudo apt-get-y install python-pip python-dev libffi-dev libssl-dev pip install ansible --user echoPATH=$HOME/…

---

## [Check for a string value in a log file in a path and match and proceed accordingly using ansible find module](https://forum.ansible.com/t/check-for-a-string-value-in-a-log-file-in-a-path-and-match-and-proceed-accordingly-using-ansible-find-module/27173)

<div class="topic-metadata">

**Author:** [@Shreela\_Roy](https://forum.ansible.com/u/Shreela_Roy)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 5:59am UTC](https://forum.ansible.com/t/check-for-a-string-value-in-a-log-file-in-a-path-and-match-and-proceed-accordingly-using-ansible-find-module/27173 "2018-04-03T05:59:03Z")

</div>

What I want to achieve here is check the log file: 12-2017PM-PATCH.log in /var/log and find for the word COMPLETED in it and return to me the output for each hosts in Inventory . What would be the syntax to put the sea…

---

## [how to enable MS AD in AWX so that winrm transport kerberos works](https://forum.ansible.com/t/how-to-enable-ms-ad-in-awx-so-that-winrm-transport-kerberos-works/26359)

<div class="topic-metadata">

**Author:** [@Urs\_Rau](https://forum.ansible.com/u/Urs_Rau)\
**Replies:** 2\
**Last updated:** [April 3, 2018, 12:18am UTC](https://forum.ansible.com/t/how-to-enable-ms-ad-in-awx-so-that-winrm-transport-kerberos-works/26359 "2018-04-03T00:18:44Z")

</div>

for testing and poc playing around with AWX i have deployed it using the Docker method, which quickly spins up 5 new containers. But since 75% of my inventories are windows AD domain joined machines I would like to use …

---

## [Ansible Azure create VM with Java installed](https://forum.ansible.com/t/ansible-azure-create-vm-with-java-installed/27168)

<div class="topic-metadata">

**Author:** [@Bubul\_Medhi](https://forum.ansible.com/u/Bubul_Medhi)\
**Replies:** 2\
**Last updated:** [April 2, 2018, 7:28pm UTC](https://forum.ansible.com/t/ansible-azure-create-vm-with-java-installed/27168 "2018-04-02T19:28:28Z")

</div>

Hi, I am new to Ansible. I have two separate playbooks to create VM and Install Java on it. I am trying to create a single playbook which creates an VM with latest Java installed on it. Please help. Regards, Uday

---

## [Custom module to get list of open linux ports and running services](https://forum.ansible.com/t/custom-module-to-get-list-of-open-linux-ports-and-running-services/27144)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 1\
**Last updated:** [April 2, 2018, 4:42pm UTC](https://forum.ansible.com/t/custom-module-to-get-list-of-open-linux-ports-and-running-services/27144 "2018-04-02T16:42:34Z")

</div>

Hi All, Is there a custom module/role already present to get list fo open ports and linux running services? If not, then I have to use command module. How do i parse the returned netstat output and conevert to a JSON d…

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

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