# Ansible Developer

**URL:** https://forum.ansible.com/c/archives/ansible-developer/29.md?page=24

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

**Page:** 25

---

## [shippable failed due to non-replicated code.  How can I force re-check ?](https://forum.ansible.com/t/shippable-failed-due-to-non-replicated-code-how-can-i-force-re-check/30793)

<div class="topic-metadata">

**Author:** [@d-little](https://forum.ansible.com/u/d-little)\
**Replies:** 2\
**Last updated:** [July 16, 2019, 6:08pm UTC](https://forum.ansible.com/t/shippable-failed-due-to-non-replicated-code-how-can-i-force-re-check/30793 "2019-07-16T18:08:26Z")

</div>

The Shippable CI failed on one of my PR’s with the following errors: 00:01 ERROR: Commit ae0ff3dc1819347652cab7589f26ca9339c7e5f9 was not found: 00:01 00:01 fatal: bad object ae0ff3dc1819347652cab7589f26ca9339c7e5f9 …

---

## [contribute to /lib/ansible/module\_utils/vmware.py](https://forum.ansible.com/t/contribute-to-lib-ansible-module-utils-vmware-py/30792)

<div class="topic-metadata">

**Author:** [@digitalsy](https://forum.ansible.com/u/digitalsy)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 3:26pm UTC](https://forum.ansible.com/t/contribute-to-lib-ansible-module-utils-vmware-py/30792 "2019-07-16T15:26:31Z")

</div>

Hi, I’m running into an issue where the facts being gathered by vmware\_deploy\_ovf module are not accurately being enumerated in the return instance when the target host has a bonded network configuration. I’ve sifted th…

---

## [Digest for ansible-devel@googlegroups.com - 1 update in 1 topic](https://forum.ansible.com/t/digest-for-ansible-devel-googlegroups-com-1-update-in-1-topic/30789)

<div class="topic-metadata">

**Author:** [@saranyasridharan17](https://forum.ansible.com/u/saranyasridharan17)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 5:42am UTC](https://forum.ansible.com/t/digest-for-ansible-devel-googlegroups-com-1-update-in-1-topic/30789 "2019-07-16T05:42:50Z")

</div>

@tony, I am trying to use that with winrm server running in windows, I am getting error saying “Specified credentials is rejected by server”. How do I correct this issue ? Thanks, Saranya

---

## [Using "update\_only" attribute with yum module reports different results in check mode](https://forum.ansible.com/t/using-update-only-attribute-with-yum-module-reports-different-results-in-check-mode/30787)

<div class="topic-metadata">

**Author:** [@Michael4](https://forum.ansible.com/u/Michael4)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 2:55pm UTC](https://forum.ansible.com/t/using-update-only-attribute-with-yum-module-reports-different-results-in-check-mode/30787 "2019-07-15T14:55:50Z")

</div>

Hi, I have a behavior that has existed since 2.5 (when the “update\_only” attribute was added to the yum module) and still exists with 2.8.2: When using the attribute “update\_only” with the yum module, when it comes acr…

---

## [Ansible playbook running in windows](https://forum.ansible.com/t/ansible-playbook-running-in-windows/30778)

<div class="topic-metadata">

**Author:** [@saranyasridharan17](https://forum.ansible.com/u/saranyasridharan17)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 6:16am UTC](https://forum.ansible.com/t/ansible-playbook-running-in-windows/30778 "2019-07-15T06:16:13Z")

</div>

Hi , I am trying to run the ansible playbook in the windows target. I am not sure which way to approach for that. Can anyone please help me with that ? should I go for ssh based run(with openssh enabled in windows) ? …

---

## [Running ansible playbook in windows target](https://forum.ansible.com/t/running-ansible-playbook-in-windows-target/30766)

<div class="topic-metadata">

**Author:** [@saranyasridharan17](https://forum.ansible.com/u/saranyasridharan17)\
**Replies:** 1\
**Last updated:** [July 12, 2019, 7:38pm UTC](https://forum.ansible.com/t/running-ansible-playbook-in-windows-target/30766 "2019-07-12T19:38:17Z")

</div>

Hi , I have used ansible and deployed in the linux host , now I got a new requirement to deploy in windows host. I wanted to try using ssh method ( using openssh in windows) . I have set proper ssh connection and manual…

---

## [ansible-collection commands](https://forum.ansible.com/t/ansible-collection-commands/30740)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 9:52pm UTC](https://forum.ansible.com/t/ansible-collection-commands/30740 "2019-07-09T21:52:03Z")

</div>

Hi The Ansible team has recently introduced collections in Ansible 2.8 and as part of our ongoing development we have been working on creating a way to build, publish, and install collections using the ansible-galaxy co…

---

## [Plugin development and distribution in 2019](https://forum.ansible.com/t/plugin-development-and-distribution-in-2019/30738)

<div class="topic-metadata">

**Author:** [@Ryan\_Small](https://forum.ansible.com/u/Ryan_Small)\
**Replies:** 1\
**Last updated:** [July 9, 2019, 7:55pm UTC](https://forum.ansible.com/t/plugin-development-and-distribution-in-2019/30738 "2019-07-09T19:55:36Z")

</div>

How do you distribute, install, and make plugins in virtual environments discoverable in 2019? A similar question was asked in 2017. I’m wondering if there is an update? Paraphrasing what Alexander asked in 2017: I wan…

---

## [ansible 2.4 set\_fact with regex\_replace Quote issue](https://forum.ansible.com/t/ansible-2-4-set-fact-with-regex-replace-quote-issue/30733)

<div class="topic-metadata">

**Author:** [@fabien\_T](https://forum.ansible.com/u/fabien_T)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 1:46pm UTC](https://forum.ansible.com/t/ansible-2-4-set-fact-with-regex-replace-quote-issue/30733 "2019-07-09T13:46:31Z")

</div>

hi everybody, i try to make a string transformation with regex\_replace for construct my array. i use ansible 2.4, i try many variation, but i don’t find the right syntax with double quote and simple quote… someone can h…

---

## [winrm send\_input failed. help needed.](https://forum.ansible.com/t/winrm-send-input-failed-help-needed/30703)

<div class="topic-metadata">

**Author:** [@Chris\_Jackson](https://forum.ansible.com/u/Chris_Jackson)\
**Replies:** 5\
**Last updated:** [July 4, 2019, 6:17pm UTC](https://forum.ansible.com/t/winrm-send-input-failed-help-needed/30703 "2019-07-04T18:17:08Z")

</div>

Hello, My playbook is failing with a long error: winrm send\_input failed; \\nstdout: Unable to initialize device PRN\\r\\nUnable to initialize device PRN\\r\\nUnable to initialize device PRN\\r\\nUnable to initialize device P…

---

## [regarding unknown error](https://forum.ansible.com/t/regarding-unknown-error/30696)

<div class="topic-metadata">

**Author:** [@Ajay\_Kannan](https://forum.ansible.com/u/Ajay_Kannan)\
**Replies:** 3\
**Last updated:** [July 2, 2019, 4:47pm UTC](https://forum.ansible.com/t/regarding-unknown-error/30696 "2019-07-02T16:47:43Z")

</div>

Hi team, am new to anisble and currently stuck up with one issue. have developed script for maintenance mode and it was working fine. But for few time it skips the tasks often. Can anyone guide me from here. Thanks …

---

## [Question on PR  adding module for ibm dmgr #56945](https://forum.ansible.com/t/question-on-pr-adding-module-for-ibm-dmgr-56945/30694)

<div class="topic-metadata">

**Author:** [@td784](https://forum.ansible.com/u/td784)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 1:25am UTC](https://forum.ansible.com/t/question-on-pr-adding-module-for-ibm-dmgr-56945/30694 "2019-07-02T01:25:40Z")

</div>

Hi everyone, I have had a PR in for quite some time in the ansible.modules.web\_infrastucture project namespace. It is known that the maintainers of that project area get the final call on merging a new module into it. I…

---

## [regex\_search](https://forum.ansible.com/t/regex-search/30688)

<div class="topic-metadata">

**Author:** [@apple.talk](https://forum.ansible.com/u/apple.talk)\
**Replies:** 0\
**Last updated:** [July 1, 2019, 6:34am UTC](https://forum.ansible.com/t/regex-search/30688 "2019-07-01T06:34:53Z")

</div>

Hi, when I use regex\_search in my playbook, then I get this error message: task \[Output to file\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* #fatal: \[R34-N5696Q-1\]: FAILED! =\> {“msg”: “Unexpected templa…

---

## [Cannot import module from ~/.ansible/plugins/module\_utils](https://forum.ansible.com/t/cannot-import-module-from-ansible-plugins-module-utils/30506)

<div class="topic-metadata">

**Author:** [@Modest\_Sokolov](https://forum.ansible.com/u/Modest_Sokolov)\
**Replies:** 5\
**Last updated:** [June 28, 2019, 8:14am UTC](https://forum.ansible.com/t/cannot-import-module-from-ansible-plugins-module-utils/30506 "2019-06-28T08:14:58Z")

</div>

Hello, I develop the modules for comware5. They run, when are in ansible standard directoriу, for my installation it is /usr/local/Cellar/ansible/2.8.0/libexec/lib/python3.7/site-packages/ansible/ I’ve tried to move t…

---

## [Ansible win\_command](https://forum.ansible.com/t/ansible-win-command/30664)

<div class="topic-metadata">

**Author:** [@sindhu\_shree](https://forum.ansible.com/u/sindhu_shree)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 4:32am UTC](https://forum.ansible.com/t/ansible-win-command/30664 "2019-06-27T04:32:44Z")

</div>

Hi All, I need help in executing batch file which has some prompts. Am using following lines of script name: run an executable with custom working dir win\_command: pisrvstop.bat /argument1 “/argument 2 with space” …

---

## [Ansible - To limit the execution for the range of hosts](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30659)

<div class="topic-metadata">

**Author:** [@Preethi\_Muruganantha](https://forum.ansible.com/u/Preethi_Muruganantha)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 11:10am UTC](https://forum.ansible.com/t/ansible-to-limit-the-execution-for-the-range-of-hosts/30659 "2019-06-26T11:10:17Z")

</div>

I need to limit the playbook execution for particular hosts. Eg., From host1 to the host mentioned in site.retry file My inventory file: 192.168.11.1 192.168.11.2 192.168.11.3 Playbook name: site.yml Command: ansi…

---

## [How to define variable based on when condition](https://forum.ansible.com/t/how-to-define-variable-based-on-when-condition/30649)

<div class="topic-metadata">

**Author:** [@sase\_kumar1](https://forum.ansible.com/u/sase_kumar1)\
**Replies:** 2\
**Last updated:** [June 25, 2019, 5:17pm UTC](https://forum.ansible.com/t/how-to-define-variable-based-on-when-condition/30649 "2019-06-25T17:17:35Z")

</div>

Hi Folks, I’m new to ansible and I have got some confusion in when the statement here is my playbook - hosts: localhost gather\_facts: false vars: nodetype: “DI” tasks: name: concatenate set\_fact: argu: “DI=1,D…

---

## [Ansible revert back operation](https://forum.ansible.com/t/ansible-revert-back-operation/30637)

<div class="topic-metadata">

**Author:** [@Preethi\_Muruganantha](https://forum.ansible.com/u/Preethi_Muruganantha)\
**Replies:** 1\
**Last updated:** [June 24, 2019, 7:34am UTC](https://forum.ansible.com/t/ansible-revert-back-operation/30637 "2019-06-24T07:34:58Z")

</div>

I have three IPs (machines) listed in the inventory file. I have to run the playbook in all the 3 mchines. For eg., Lets consider I am deploying the application in all the 3 machines. When the deployment fails in any …

---

## [Ansible Tower wont install on CentOS](https://forum.ansible.com/t/ansible-tower-wont-install-on-centos/30614)

<div class="topic-metadata">

**Author:** [@Josh\_Ferguson](https://forum.ansible.com/u/Josh_Ferguson)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 10:36pm UTC](https://forum.ansible.com/t/ansible-tower-wont-install-on-centos/30614 "2019-06-20T22:36:50Z")

</div>

Hi their, I am trying to install Ansible Tower onto CentOS 7.6 However after unpacking the “ansible-tower-setup-latest.tar.gz” and trying to run the ./setup.sh , I get the following issue: -name: ensure that /var /var…

---

## [How to pass ansible variables to powershell cmdlet using win\_shell module](https://forum.ansible.com/t/how-to-pass-ansible-variables-to-powershell-cmdlet-using-win-shell-module/30617)

<div class="topic-metadata">

**Author:** [@Stefano\_Leandro](https://forum.ansible.com/u/Stefano_Leandro)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 8:49pm UTC](https://forum.ansible.com/t/how-to-pass-ansible-variables-to-powershell-cmdlet-using-win-shell-module/30617 "2019-06-20T20:49:35Z")

</div>

Hi guys, Someone could help me ? I cannot understand how to pass an ansible variable to powershell cmdlet via win\_shell command . Below my code : tasks: set\_fact: target\_ip: “lookup(‘dig’, inventory\_hostname)” win…

---

## [Cisco switches IOS upgrade](https://forum.ansible.com/t/cisco-switches-ios-upgrade/30346)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 6:24am UTC](https://forum.ansible.com/t/cisco-switches-ios-upgrade/30346 "2019-06-19T06:24:43Z")

</div>

Hi Team, Can anyone share the sample playbook for IOS update for cisco switches thanks,

---

## [Execute module only, if package is installed](https://forum.ansible.com/t/execute-module-only-if-package-is-installed/30594)

<div class="topic-metadata">

**Author:** [@Denny\_Fuchs](https://forum.ansible.com/u/Denny_Fuchs)\
**Replies:** 0\
**Last updated:** [June 18, 2019, 2:30pm UTC](https://forum.ansible.com/t/execute-module-only-if-package-is-installed/30594 "2019-06-18T14:30:11Z")

</div>

hi, I’m pretty new to Ansible (2.8 on Debian Stretch) and we have very simple playbook for upgrading packages, including run rkhunter / puppet / reboot etc. My problem is, that I do not have puppet an all nodes installe…

---

## [include\_vars: Option for preserving existing variables from being overwritten](https://forum.ansible.com/t/include-vars-option-for-preserving-existing-variables-from-being-overwritten/27261)

<div class="topic-metadata">

**Author:** [@patrick.fink](https://forum.ansible.com/u/patrick.fink)\
**Replies:** 5\
**Last updated:** [June 13, 2019, 3:22pm UTC](https://forum.ansible.com/t/include-vars-option-for-preserving-existing-variables-from-being-overwritten/27261 "2019-06-13T15:22:47Z")

</div>

Hi all, in our project we are delivering a set of playbooks and roles to our customer on a regular basis. Our goal here is that the customer should not change our playbooks and roles and that he is able to configure & o…

---

## [conditionally give value to src of win\_copy](https://forum.ansible.com/t/conditionally-give-value-to-src-of-win-copy/30514)

<div class="topic-metadata">

**Author:** [@Deepak\_Asawa](https://forum.ansible.com/u/Deepak_Asawa)\
**Replies:** 3\
**Last updated:** [June 13, 2019, 6:05am UTC](https://forum.ansible.com/t/conditionally-give-value-to-src-of-win-copy/30514 "2019-06-13T06:05:06Z")

</div>

Hi, name: copy\_phoenix\_folder win\_copy: src: phoenix\_x86 when: “{{ ansible\_architecture }} == 32-bit” src: phoenix\_x64 when: “{{ ansible\_architecture }} == 64-bit” dest: c:\\ I have written above code but scr wil…

---

## [Display breaks up with multiple bytes](https://forum.ansible.com/t/display-breaks-up-with-multiple-bytes/30553)

<div class="topic-metadata">

**Author:** [@user68](https://forum.ansible.com/u/user68)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 10:09pm UTC](https://forum.ansible.com/t/display-breaks-up-with-multiple-bytes/30553 "2019-06-12T22:09:42Z")

</div>

When Ansible is executed with many bytes such as Japanese, the line feed position shifts as follows. \` TASK \[common : 日本語\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

---

## [Want to save variable of one role so that can be used again, and not run the compelete ansible again](https://forum.ansible.com/t/want-to-save-variable-of-one-role-so-that-can-be-used-again-and-not-run-the-compelete-ansible-again/30545)

<div class="topic-metadata">

**Author:** [@Amit\_sharma](https://forum.ansible.com/u/Amit_sharma)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 1:51pm UTC](https://forum.ansible.com/t/want-to-save-variable-of-one-role-so-that-can-be-used-again-and-not-run-the-compelete-ansible-again/30545 "2019-06-12T13:51:39Z")

</div>

Hi, I have a big Ansible with about 10+ roles in it that takes around 1 hr to run completely . Can some one help me how i can store all variables in a json so that i can trigger a only a failed role… I am using hostva…

---

## [LDAP(AD) and TACACS be integrated in ansibe tower](https://forum.ansible.com/t/ldap-ad-and-tacacs-be-integrated-in-ansibe-tower/30542)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 12:19pm UTC](https://forum.ansible.com/t/ldap-ad-and-tacacs-be-integrated-in-ansibe-tower/30542 "2019-06-12T12:19:28Z")

</div>

Hi Team, Can both LDAP(AD) and TACACS be integrated in ansibe tower? Can anyone explain me the benefits or use of LDAP and TACACS with tower? thanks Pushparaj

---

## [error executing cmd usnig shell module in Python API | "Unexpected failure during module execution."](https://forum.ansible.com/t/error-executing-cmd-usnig-shell-module-in-python-api-unexpected-failure-during-module-execution/30537)

<div class="topic-metadata">

**Author:** [@Maged\_Motawea](https://forum.ansible.com/u/Maged_Motawea)\
**Replies:** 0\
**Last updated:** [June 11, 2019, 8:55pm UTC](https://forum.ansible.com/t/error-executing-cmd-usnig-shell-module-in-python-api-unexpected-failure-during-module-execution/30537 "2019-06-11T20:55:56Z")

</div>

Hello, I’m using Python API to deploy a Kubernetes cluster but I have an issue executing two commands using the shell module. this is the first task’s dictionary: { ‘name’: ‘install flannel for pod network’, ‘actio…

---

## [getting error while installing mongoDB on remote ubuntu server via ansible](https://forum.ansible.com/t/getting-error-while-installing-mongodb-on-remote-ubuntu-server-via-ansible/30490)

<div class="topic-metadata">

**Author:** [@Vidyashankar\_Kandgal](https://forum.ansible.com/u/Vidyashankar_Kandgal)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 4:13am UTC](https://forum.ansible.com/t/getting-error-while-installing-mongodb-on-remote-ubuntu-server-via-ansible/30490 "2019-06-06T04:13:08Z")

</div>

1. For Playbook implemented see below: Install mongodb

---

## [playbook to create users on mongoDB using ansible](https://forum.ansible.com/t/playbook-to-create-users-on-mongodb-using-ansible/30489)

<div class="topic-metadata">

**Author:** [@Vidyashankar\_Kandgal](https://forum.ansible.com/u/Vidyashankar_Kandgal)\
**Replies:** 0\
**Last updated:** [June 4, 2019, 4:51pm UTC](https://forum.ansible.com/t/playbook-to-create-users-on-mongodb-using-ansible/30489 "2019-06-04T16:51:54Z")

</div>

Hi, i am trying to create users on mongoDB cluster. i need a Play book with feature for creating users, root user and admin user. Playbook Feature should have option to change password. Do we have command line option i…

[Previous page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=23)

[Next page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=25)
