# Latest

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

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

**Page:** 565

---

## [Triggering a Jenkins build through ansible](https://forum.ansible.com/t/triggering-a-jenkins-build-through-ansible/25259)

<div class="topic-metadata">

**Author:** [@Seeram\_Venkatesh](https://forum.ansible.com/u/Seeram_Venkatesh)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 1:03pm UTC](https://forum.ansible.com/t/triggering-a-jenkins-build-through-ansible/25259 "2018-04-16T13:03:16Z")

</div>

Hi Techies, I’m looking for a solution where I want to trigger a Jenkins build through Ansible. I went through a module called jenkins\_job from which I can connect to the jenkins server but not able to trigger a new bu…

---

## [Configure multiple oracle instances in a loop](https://forum.ansible.com/t/configure-multiple-oracle-instances-in-a-loop/27269)

<div class="topic-metadata">

**Author:** [@Christopher\_Priest](https://forum.ansible.com/u/Christopher_Priest)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 12:35pm UTC](https://forum.ansible.com/t/configure-multiple-oracle-instances-in-a-loop/27269 "2018-04-16T12:35:02Z")

</div>

Hi There, I have set up a playbook and two roles → The first role sets up the Linux kernel and OS The second role installs the Oracle software WITH a listener but WITHOUT any instance. This role has checks to termina…

---

## [Using subversion via http?](https://forum.ansible.com/t/using-subversion-via-http/27275)

<div class="topic-metadata">

**Author:** [@Michael\_Renner](https://forum.ansible.com/u/Michael_Renner)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 12:29pm UTC](https://forum.ansible.com/t/using-subversion-via-http/27275 "2018-04-16T12:29:36Z")

</div>

Moin, a simple playbook won’t work: name: svn checkout subversion: repo: http://svn-01.int.de/operation/foobar dest: /tmp/checkout delegate\_to: localhost but it fail: TASK \[svn checkout\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Possible Bug in azure\_rm\_networkinterface module (Ansible 2.5.0)](https://forum.ansible.com/t/possible-bug-in-azure-rm-networkinterface-module-ansible-2-5-0/27246)

<div class="topic-metadata">

**Author:** [@f.floimair.commend](https://forum.ansible.com/u/f.floimair.commend)\
**Replies:** 1\
**Last updated:** [April 16, 2018, 12:20pm UTC](https://forum.ansible.com/t/possible-bug-in-azure-rm-networkinterface-module-ansible-2-5-0/27246 "2018-04-16T12:20:52Z")

</div>

Hi everyone! I am using Ansible 2.5.0 and I think I found a bug in the azure\_rm\_networkinterface module (either in the code or the documentation). When I create a network-interface that should be used with an already e…

---

## [Ansible Python API 2.0 - capture warnings](https://forum.ansible.com/t/ansible-python-api-2-0-capture-warnings/27240)

<div class="topic-metadata">

**Author:** [@Suren\_Baskaran](https://forum.ansible.com/u/Suren_Baskaran)\
**Replies:** 4\
**Last updated:** [April 16, 2018, 12:11pm UTC](https://forum.ansible.com/t/ansible-python-api-2-0-capture-warnings/27240 "2018-04-16T12:11:09Z")

</div>

Hello All Been circling around the Callbackbase with all possible tries , but I could not find a way till now to capture these warnings from a playbook execution with the API output \[WARNING\]: \* Failed to parse hosts/U…

---

## [install Ansible on Mac 2.5.0](https://forum.ansible.com/t/install-ansible-on-mac-2-5-0/27287)

<div class="topic-metadata">

**Author:** [@Jose\_Julian\_Orjuela](https://forum.ansible.com/u/Jose_Julian_Orjuela)\
**Replies:** 2\
**Last updated:** [April 16, 2018, 8:51am UTC](https://forum.ansible.com/t/install-ansible-on-mac-2-5-0/27287 "2018-04-16T08:51:42Z")

</div>

Hello guys, I need you help, I try the install Ansible on my Mac, but not is possible, I have this is error: Please, Can someone tell me, how can I install Ansible correctly on my MAC? macOS Hig Sierra version 10.13.4…

---

## [Need to execute complex unix commands](https://forum.ansible.com/t/need-to-execute-complex-unix-commands/27222)

<div class="topic-metadata">

**Author:** [@Akash\_Agarwal](https://forum.ansible.com/u/Akash_Agarwal)\
**Replies:** 5\
**Last updated:** [April 16, 2018, 7:38am UTC](https://forum.ansible.com/t/need-to-execute-complex-unix-commands/27222 "2018-04-16T07:38:20Z")

</div>

Hi All, I need to execute complex shell commands on remote or local hosts. What is the best way to this? I tried multiple ways. Either it is not passing Ansible syntax, or shell script syntax Example: Suppose I want …

---

## [Ansible : get running config from aruba switches](https://forum.ansible.com/t/ansible-get-running-config-from-aruba-switches/27270)

<div class="topic-metadata">

**Author:** [@Martial\_CHAVIGNY](https://forum.ansible.com/u/Martial_CHAVIGNY)\
**Replies:** 3\
**Last updated:** [April 16, 2018, 7:26am UTC](https://forum.ansible.com/t/ansible-get-running-config-from-aruba-switches/27270 "2018-04-16T07:26:19Z")

</div>

Hello, I’m new user of ansible and for the first projet, I would to get current config of aruba (2930F) switches (for backup). I read these documentations : https://docs.ansible.com/ansible/devel/network/getting\_start…

---

## [Automated patch management - CentOS machines](https://forum.ansible.com/t/automated-patch-management-centos-machines/27286)

<div class="topic-metadata">

**Author:** [@k\_sreenivas](https://forum.ansible.com/u/k_sreenivas)\
**Replies:** 0\
**Last updated:** [April 15, 2018, 3:32pm UTC](https://forum.ansible.com/t/automated-patch-management-centos-machines/27286 "2018-04-15T15:32:18Z")

</div>

Hello All, How can I automate the security patching process routine for 100+ machine’s using ansible whats the best the way to do it, I am not completely new to ansible but could not find a good solution on my research …

---

## [Postgresql (Peer Authentication Error) with Ansible 2.4](https://forum.ansible.com/t/postgresql-peer-authentication-error-with-ansible-2-4/27283)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 3\
**Last updated:** [April 15, 2018, 2:34pm UTC](https://forum.ansible.com/t/postgresql-peer-authentication-error-with-ansible-2-4/27283 "2018-04-15T14:34:32Z")

</div>

Hi, i am having a problem in setting up postgresql through ansible. Error::-

---

## [Variables with quotes](https://forum.ansible.com/t/variables-with-quotes/27271)

<div class="topic-metadata">

**Author:** [@Shaun\_Lim](https://forum.ansible.com/u/Shaun_Lim)\
**Replies:** 3\
**Last updated:** [April 15, 2018, 1:21pm UTC](https://forum.ansible.com/t/variables-with-quotes/27271 "2018-04-15T13:21:14Z")

</div>

Hi all, I’m new to Ansible and am trying to use some variables with quotes. The command I’m trying to run is as follows: rabbitmqctl set\_permissions -p /vhost username ".\*" ".\*" ".\*" To do this, I’m trying to use the …

---

## [Could anyone help to fix - file module link in list all module and files modules list?](https://forum.ansible.com/t/could-anyone-help-to-fix-file-module-link-in-list-all-module-and-files-modules-list/27285)

<div class="topic-metadata">

**Author:** [@Chun-Hung\_Huang](https://forum.ansible.com/u/Chun-Hung_Huang)\
**Replies:** 0\
**Last updated:** [April 15, 2018, 12:43pm UTC](https://forum.ansible.com/t/could-anyone-help-to-fix-file-module-link-in-list-all-module-and-files-modules-list/27285 "2018-04-15T12:43:59Z")

</div>

Hi, I don’t know it’s right or wrong. If you check the all modules or Files modules list And try to find how to use file module ( create file or directory in your system ) All modules – http://docs.ansible.com/ansibl…

---

## [Ansible in High Availability](https://forum.ansible.com/t/ansible-in-high-availability/27282)

<div class="topic-metadata">

**Author:** [@user106](https://forum.ansible.com/u/user106)\
**Replies:** 1\
**Last updated:** [April 15, 2018, 11:10am UTC](https://forum.ansible.com/t/ansible-in-high-availability/27282 "2018-04-15T11:10:18Z")

</div>

Hey All, Trying to understand how to setup Ansible in High Availability. I know AWX (Tower) can be setup and there’s plenty of docs out there but being a relative Novice to Ansible, I’m not able to find much on setting …

---

## [can ansible do BGP or OSPF troubleshooting automatically?](https://forum.ansible.com/t/can-ansible-do-bgp-or-ospf-troubleshooting-automatically/27284)

<div class="topic-metadata">

**Author:** [@Ho\_Yeung\_Lee](https://forum.ansible.com/u/Ho_Yeung_Lee)\
**Replies:** 0\
**Last updated:** [April 15, 2018, 9:29am UTC](https://forum.ansible.com/t/can-ansible-do-bgp-or-ospf-troubleshooting-automatically/27284 "2018-04-15T09:29:54Z")

</div>

can ansible do BGP or OSPF troubleshooting automatically? can it follow the steps below? https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/22166-bgp-trouble-main.html or https://www.cisco.com/…

---

## [replace string in file created by root on remote server](https://forum.ansible.com/t/replace-string-in-file-created-by-root-on-remote-server/27278)

<div class="topic-metadata">

**Author:** [@Agoston\_Bejo](https://forum.ansible.com/u/Agoston_Bejo)\
**Replies:** 2\
**Last updated:** [April 15, 2018, 7:32am UTC](https://forum.ansible.com/t/replace-string-in-file-created-by-root-on-remote-server/27278 "2018-04-15T07:32:27Z")

</div>

Hi! What I’m trying to do is very “complicated” task: create a file on the remote server as root (in /root) replace a string in the file I just can’t seem to achieve this without resorting to executing shell commands…

---

## [Ansible : Add multiple security group on ec2](https://forum.ansible.com/t/ansible-add-multiple-security-group-on-ec2/27281)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 0\
**Last updated:** [April 14, 2018, 5:21pm UTC](https://forum.ansible.com/t/ansible-add-multiple-security-group-on-ec2/27281 "2018-04-14T17:21:54Z")

</div>

I have one ec2 instance(instance\_A), and I have to create one more new ec2 instance(instance\_B) using instance\_A ec2\_fact. to get facts of ec2 I am using the ec2\_instance\_facts module.on instance\_A have multiple securit…

---

## [timed out. (connect timeout=30)](https://forum.ansible.com/t/timed-out-connect-timeout-30/27279)

<div class="topic-metadata">

**Author:** [@subbireddy\_gajulapal](https://forum.ansible.com/u/subbireddy_gajulapal)\
**Replies:** 0\
**Last updated:** [April 14, 2018, 11:08am UTC](https://forum.ansible.com/t/timed-out-connect-timeout-30/27279 "2018-04-14T11:08:57Z")

</div>

172.31.45.80 | UNREACHABLE! =\> { “changed”: false, “msg”: “ssl: HTTPSConnectionPool(host=‘172.31.45.80’, port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(\<urllib3.connection.VerifiedHTTP…

---

## [Getting two results with custom callbacks](https://forum.ansible.com/t/getting-two-results-with-custom-callbacks/27273)

<div class="topic-metadata">

**Author:** [@tommcf64](https://forum.ansible.com/u/tommcf64)\
**Replies:** 2\
**Last updated:** [April 14, 2018, 9:26am UTC](https://forum.ansible.com/t/getting-two-results-with-custom-callbacks/27273 "2018-04-14T09:26:28Z")

</div>

Hi, I am attempting to use the Ansible API to run and playbook and insert the facts into a mongodb database but I am getting two documents for each machine. I am a newbie and unfamiliar with the API. Can anyone shed my …

---

## [How to recover from expected connection loss?](https://forum.ansible.com/t/how-to-recover-from-expected-connection-loss/27249)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 1\
**Last updated:** [April 14, 2018, 9:11am UTC](https://forum.ansible.com/t/how-to-recover-from-expected-connection-loss/27249 "2018-04-14T09:11:52Z")

</div>

Hi all, I'm trying to reduce the size of the locale archive on CentOS 7.4 as described in \[1\] and \[2\]. Ansible version is 2.4.2.0-2.el7 For this I have a script on the client, that calls the needed commands: ###### /r…

---

## [How do I loop a task with variables defined in another file?](https://forum.ansible.com/t/how-do-i-loop-a-task-with-variables-defined-in-another-file/27236)

<div class="topic-metadata">

**Author:** [@Olof\_Lundgren](https://forum.ansible.com/u/Olof_Lundgren)\
**Replies:** 2\
**Last updated:** [April 14, 2018, 9:01am UTC](https://forum.ansible.com/t/how-do-i-loop-a-task-with-variables-defined-in-another-file/27236 "2018-04-14T09:01:11Z")

</div>

I have built a .yml file with a set of users that I want to push to my routers with vyos\_user module. This is my users.yml \` users: full\_name: “Olof Lundgren” name: “olof” configured\_password: “abcd1234” level: …

---

## [ansible with elastic search with Jinja2 Template](https://forum.ansible.com/t/ansible-with-elastic-search-with-jinja2-template/27274)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 3\
**Last updated:** [April 14, 2018, 5:10am UTC](https://forum.ansible.com/t/ansible-with-elastic-search-with-jinja2-template/27274 "2018-04-14T05:10:21Z")

</div>

Hi, my question is ::-------------------------------- My ansible script will be running for multiple systems. But in elasticsearch.jinja2 how can i change the value of node.name for different systems. Jinja 2 Code::-

---

## [How to sort ansible output](https://forum.ansible.com/t/how-to-sort-ansible-output/27263)

<div class="topic-metadata">

**Author:** [@The\_Wanderer](https://forum.ansible.com/u/The_Wanderer)\
**Replies:** 4\
**Last updated:** [April 14, 2018, 2:49am UTC](https://forum.ansible.com/t/how-to-sort-ansible-output/27263 "2018-04-14T02:49:39Z")

</div>

Hi all, I have a couple of servers that are managed via ansible. On all of them, I have got a script - free.sh - that when run, outputs just the free memory, like - 5GB. This is not the free system RAM, but a value that…

---

## [List of running processes form multiple linux hosts using with\_items](https://forum.ansible.com/t/list-of-running-processes-form-multiple-linux-hosts-using-with-items/27238)

<div class="topic-metadata">

**Author:** [@smitconsultant2017](https://forum.ansible.com/u/smitconsultant2017)\
**Replies:** 3\
**Last updated:** [April 13, 2018, 3:14pm UTC](https://forum.ansible.com/t/list-of-running-processes-form-multiple-linux-hosts-using-with-items/27238 "2018-04-13T15:14:13Z")

</div>

Hi I am trying to achieve all running processes on our linux machines via ansible and get output in a file along with each host name and processes. I have made below playbook but not getting to the point how to get list…

---

## [vsphere wait for vm powered off](https://forum.ansible.com/t/vsphere-wait-for-vm-powered-off/23007)

<div class="topic-metadata">

**Author:** [@Mathias\_Waack](https://forum.ansible.com/u/Mathias_Waack)\
**Replies:** 13\
**Last updated:** [April 13, 2018, 3:01pm UTC](https://forum.ansible.com/t/vsphere-wait-for-vm-powered-off/23007 "2018-04-13T15:01:32Z")

</div>

We use cloning to create new VMs in our vsphere cluster. The template is usually powered on (to receive regular updates), so we power it off before we create a clone: name: power off the template vsphere\_guest: vcen…

---

## [Cannot create user](https://forum.ansible.com/t/cannot-create-user/27272)

<div class="topic-metadata">

**Author:** [@Werner\_Flamme](https://forum.ansible.com/u/Werner_Flamme)\
**Replies:** 2\
**Last updated:** [April 13, 2018, 2:56pm UTC](https://forum.ansible.com/t/cannot-create-user/27272 "2018-04-13T14:56:21Z")

</div>

Hi, can someone please show me what's wrong? - name: create one single user user: user: "someguy" password: "something secret here" group: "users" state: "present" does not create a user, but in…

---

## [unable to fit the piece of code in ansible](https://forum.ansible.com/t/unable-to-fit-the-piece-of-code-in-ansible/27254)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 5\
**Last updated:** [April 13, 2018, 2:52pm UTC](https://forum.ansible.com/t/unable-to-fit-the-piece-of-code-in-ansible/27254 "2018-04-13T14:52:14Z")

</div>

Hi all, I am a beginner in ansible. If anyone can help me in finding the answer. It would be great. My problem was finding a phrase in ansible which one of the person have helped me. But unfortunately i am not able to f…

---

## [Ternary filter vs conditional expressions](https://forum.ansible.com/t/ternary-filter-vs-conditional-expressions/27241)

<div class="topic-metadata">

**Author:** [@rbarlik](https://forum.ansible.com/u/rbarlik)\
**Replies:** 4\
**Last updated:** [April 13, 2018, 9:18am UTC](https://forum.ansible.com/t/ternary-filter-vs-conditional-expressions/27241 "2018-04-13T09:18:47Z")

</div>

I’ve been recently wondering about the ternary filter in Ansible. I’ve seen it used in a couple of places and it’s also mentioned in the documentation. As you probably know, it’s not a standard Jinja filter but one creat…

---

## [Trying to create a new user and password for server login . SSH permission denied error.](https://forum.ansible.com/t/trying-to-create-a-new-user-and-password-for-server-login-ssh-permission-denied-error/27264)

<div class="topic-metadata">

**Author:** [@poojavenkateshreddy](https://forum.ansible.com/u/poojavenkateshreddy)\
**Replies:** 1\
**Last updated:** [April 13, 2018, 6:23am UTC](https://forum.ansible.com/t/trying-to-create-a-new-user-and-password-for-server-login-ssh-permission-denied-error/27264 "2018-04-13T06:23:04Z")

</div>

Hi, I am trying to create a new user and password for the server login. The user is created in /etc/passwd and also I can see the password entry in /etc/shadow however when I try to ssh through the new user I cannot log…

---

## [Facts](https://forum.ansible.com/t/facts/27267)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 0\
**Last updated:** [April 12, 2018, 10:30pm UTC](https://forum.ansible.com/t/facts/27267 "2018-04-12T22:30:53Z")

</div>

Hi all, I have the following playbook

---

## [I am trying to disable a user and give no login access to the user.](https://forum.ansible.com/t/i-am-trying-to-disable-a-user-and-give-no-login-access-to-the-user/27265)

<div class="topic-metadata">

**Author:** [@poojavenkateshreddy](https://forum.ansible.com/u/poojavenkateshreddy)\
**Replies:** 4\
**Last updated:** [April 12, 2018, 10:00pm UTC](https://forum.ansible.com/t/i-am-trying-to-disable-a-user-and-give-no-login-access-to-the-user/27265 "2018-04-12T22:00:10Z")

</div>

I am trying to disable a user and not remove it completely

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

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