# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=270

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

**Page:** 271

---

## [What´s the best way execute a workflow template for multiple remote machine?](https://forum.ansible.com/t/what-s-the-best-way-execute-a-workflow-template-for-multiple-remote-machine/30883)

<div class="topic-metadata">

**Author:** [@Andre\_Trindade](https://forum.ansible.com/u/Andre_Trindade)\
**Replies:** 3\
**Last updated:** [July 31, 2019, 4:34pm UTC](https://forum.ansible.com/t/what-s-the-best-way-execute-a-workflow-template-for-multiple-remote-machine/30883 "2019-07-31T16:34:14Z")

</div>

Good Afternoon! I have to execute one workflow template to deploy configurations to multiple remotes machines but i just can add one credentials to job template. I don´t want create a job tempate per remote machine, is …

---

## [ansible failing on windows machines that used to work](https://forum.ansible.com/t/ansible-failing-on-windows-machines-that-used-to-work/30911)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 3\
**Last updated:** [July 31, 2019, 3:14pm UTC](https://forum.ansible.com/t/ansible-failing-on-windows-machines-that-used-to-work/30911 "2019-07-31T15:14:41Z")

</div>

I have about 90 windows VMs that I use ansible on to configure and pull windows updates. I upgraded from ansible 2.7 to 2.8.1 - I think thats when this started. The windows server are all 2008 R2. Today when I try to …

---

## [Problem with wildfly with Ansible](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 7\
**Last updated:** [July 31, 2019, 1:50pm UTC](https://forum.ansible.com/t/problem-with-wildfly-with-ansible/30914 "2019-07-31T13:50:53Z")

</div>

Hey !! I have one problem with wildfly service. In fact, when i use this command : systemctl start wildfly10.service this service wildfly not run and when i show status he is failed. Same on the serveur or with Ansibl…

---

## [PSRemoting / WinRM / NTLMv2](https://forum.ansible.com/t/psremoting-winrm-ntlmv2/30879)

<div class="topic-metadata">

**Author:** [@ground7612](https://forum.ansible.com/u/ground7612)\
**Replies:** 2\
**Last updated:** [July 31, 2019, 1:15pm UTC](https://forum.ansible.com/t/psremoting-winrm-ntlmv2/30879 "2019-07-31T13:15:27Z")

</div>

Hi Jordan Looking at the following documentation https://www.bloggingforlogging.com/2018/01/24/demystifying-winrm/ https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/winrmsecurity?view=powershell-6 A…

---

## [ansible find with\_items register results](https://forum.ansible.com/t/ansible-find-with-items-register-results/30916)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 0\
**Last updated:** [July 31, 2019, 12:46pm UTC](https://forum.ansible.com/t/ansible-find-with-items-register-results/30916 "2019-07-31T12:46:20Z")

</div>

I’m documenting this here for posterity because I’ve been struggling with a solution off & on for months. Of course, the solution was staring me in the face the whole time, but I couldn’t see it. When using with\_items/l…

---

## [Ansible for Openstack](https://forum.ansible.com/t/ansible-for-openstack/30915)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 0\
**Last updated:** [July 31, 2019, 10:04am UTC](https://forum.ansible.com/t/ansible-for-openstack/30915 "2019-07-31T10:04:55Z")

</div>

Hi All, I am trying to create complete stack of Openstack as below snippet: os\_server: name: “{{ prefix }}-{{ item.name }}” state: present key\_name: “{{ item.key }}” availability\_zone: “{{ item.availability\_zone }}…

---

## [import\_role from another directory](https://forum.ansible.com/t/import-role-from-another-directory/30912)

<div class="topic-metadata">

**Author:** [@user89](https://forum.ansible.com/u/user89)\
**Replies:** 4\
**Last updated:** [July 31, 2019, 8:25am UTC](https://forum.ansible.com/t/import-role-from-another-directory/30912 "2019-07-31T08:25:43Z")

</div>

Hello team! My directory ansible-repo follow: ├── base │ ├── group\_vars │ │ └── all │ ├── roles │ │ └── common │ │ ├── handlers │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ └── templates │ │ └── nt…

---

## [not able to echo value of hostvars in another host](https://forum.ansible.com/t/not-able-to-echo-value-of-hostvars-in-another-host/30905)

<div class="topic-metadata">

**Author:** [@Kunalsing\_Thakur](https://forum.ansible.com/u/Kunalsing_Thakur)\
**Replies:** 2\
**Last updated:** [July 31, 2019, 4:28am UTC](https://forum.ansible.com/t/not-able-to-echo-value-of-hostvars-in-another-host/30905 "2019-07-31T04:28:59Z")

</div>

---

## [Isn't password declared in plain text under vars  when using kerberos ?](https://forum.ansible.com/t/isnt-password-declared-in-plain-text-under-vars-when-using-kerberos/30908)

<div class="topic-metadata">

**Author:** [@Neeraj\_Shah](https://forum.ansible.com/u/Neeraj_Shah)\
**Replies:** 2\
**Last updated:** [July 31, 2019, 12:03am UTC](https://forum.ansible.com/t/isnt-password-declared-in-plain-text-under-vars-when-using-kerberos/30908 "2019-07-31T00:03:59Z")

</div>

Hi All, As per official docs, using ansible to manage windows hosts requires us to specify the password in plain text for ansible\_winrm\_transport variable in the hosts file or the group\_vars file. My question or confusi…

---

## [Cannot reach newly created Windows VM](https://forum.ansible.com/t/cannot-reach-newly-created-windows-vm/30896)

<div class="topic-metadata">

**Author:** [@Walter\_Kessler](https://forum.ansible.com/u/Walter_Kessler)\
**Replies:** 3\
**Last updated:** [July 30, 2019, 11:49pm UTC](https://forum.ansible.com/t/cannot-reach-newly-created-windows-vm/30896 "2019-07-30T23:49:15Z")

</div>

I currently have a Workflow in Tower that does what I want, but it is doing so via a cumbersome method: First playbook creates a VM VMware Inventory sync Run additional playbooks (that may now be targeting alrea…

---

## [How do i respond to a same response with different input using ansible expect module](https://forum.ansible.com/t/how-do-i-respond-to-a-same-response-with-different-input-using-ansible-expect-module/30899)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 3\
**Last updated:** [July 30, 2019, 9:46pm UTC](https://forum.ansible.com/t/how-do-i-respond-to-a-same-response-with-different-input-using-ansible-expect-module/30899 "2019-07-30T21:46:44Z")

</div>

You use a list responses: Enter one: "A" Enter next: - "B" - "c"

---

## [Issue with nmcli command](https://forum.ansible.com/t/issue-with-nmcli-command/30909)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 0\
**Last updated:** [July 30, 2019, 8:08pm UTC](https://forum.ansible.com/t/issue-with-nmcli-command/30909 "2019-07-30T20:08:29Z")

</div>

We have a playbook where we are trying to create a bonded interface between 2 physical interfaces. We are specifying the connection name (conn\_name) but we get errors stating that the interface file could not be found. F…

---

## [Yet another dynamic variable problem](https://forum.ansible.com/t/yet-another-dynamic-variable-problem/30851)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 6\
**Last updated:** [July 30, 2019, 4:28pm UTC](https://forum.ansible.com/t/yet-another-dynamic-variable-problem/30851 "2019-07-30T16:28:27Z")

</div>

I am trying to generate a variable name dynamically, but so far I have been stymied. I have lists whose names are based upon the OS name: myos7: os7package1 os7package2 os7package3 myos8: os8package1 os8package…

---

## [Problem with inventory scripts](https://forum.ansible.com/t/problem-with-inventory-scripts/30902)

<div class="topic-metadata">

**Author:** [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 4:10pm UTC](https://forum.ansible.com/t/problem-with-inventory-scripts/30902 "2019-07-30T16:10:40Z")

</div>

Here is just one idea for debugging, given the weirdness you reported. Can you try activating the Ansible virtual environment? source /var/lib/awx/venv/ansible/bin/activate Then with that activated, try ansible --versi…

---

## [How do you write an ansible callback plugin to only show messages from something i explicitly write out like through debug?](https://forum.ansible.com/t/how-do-you-write-an-ansible-callback-plugin-to-only-show-messages-from-something-i-explicitly-write-out-like-through-debug/30904)

<div class="topic-metadata">

**Author:** [@Anders\_Swenson](https://forum.ansible.com/u/Anders_Swenson)\
**Replies:** 0\
**Last updated:** [July 30, 2019, 1:15pm UTC](https://forum.ansible.com/t/how-do-you-write-an-ansible-callback-plugin-to-only-show-messages-from-something-i-explicitly-write-out-like-through-debug/30904 "2019-07-30T13:15:23Z")

</div>

I’ve made a few attempts but nothing gets rid of all the extra stuff printed to stdout. I would like only things i explicitly try to print out like through debug to show. Here is a simple example: hw.yaml:

---

## [6.1.0: Migrating data from AWX Ansible 4.0.0 to AWX 6.1.0 lost schedules](https://forum.ansible.com/t/6-1-0-migrating-data-from-awx-ansible-4-0-0-to-awx-6-1-0-lost-schedules/30901)

<div class="topic-metadata">

**Author:** [@Jarkko\_Perttula](https://forum.ansible.com/u/Jarkko_Perttula)\
**Replies:** 3\
**Last updated:** [July 30, 2019, 1:13pm UTC](https://forum.ansible.com/t/6-1-0-migrating-data-from-awx-ansible-4-0-0-to-awx-6-1-0-lost-schedules/30901 "2019-07-30T13:13:53Z")

</div>

Hi, since today I’ve made always a binary backup of AWX Postgres every now and then and restored the data from there after upgraded the AWX software. It seemed to have worked fine so far but when moving from 4.0.0 to 6.…

---

## [/etc/ntp.conf settings...?](https://forum.ansible.com/t/etc-ntp-conf-settings/30893)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 3\
**Last updated:** [July 30, 2019, 12:37pm UTC](https://forum.ansible.com/t/etc-ntp-conf-settings/30893 "2019-07-30T12:37:42Z")

</div>

I haven’t figured (yet) how to search the forum if this has been answered (must have been; this is a common file). Is there a common playbook or module for setting NTP settings? Mike

---

## [Library Packages/Perl Modules](https://forum.ansible.com/t/library-packages-perl-modules/30903)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 0\
**Last updated:** [July 30, 2019, 12:22pm UTC](https://forum.ansible.com/t/library-packages-perl-modules/30903 "2019-07-30T12:22:41Z")

</div>

I am installing required packages (and some Perl modules) with\_items using default package manager. I receive the following error: failed: \[abldeb7ex6401\] (item=libssl-dev) =\> {“ansible\_loop\_var”: “item”, “cache\_update\_…

---

## [Ansible for Openstack](https://forum.ansible.com/t/ansible-for-openstack/30900)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 11:36am UTC](https://forum.ansible.com/t/ansible-for-openstack/30900 "2019-07-30T11:36:33Z")

</div>

Hi Team, Currently I am trying to provision Openstack resources using Ansible with sample template snippet as below: os\_server: state: present cloud: smscrhosp name: test-instance image: CentOS-7-x86\_64-GenericClou…

---

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

<div class="topic-metadata">

**Author:** [@Pankaj\_arora](https://forum.ansible.com/u/Pankaj_arora)\
**Replies:** 0\
**Last updated:** [July 30, 2019, 6:26am UTC](https://forum.ansible.com/t/ansible-regex-replace/30898 "2019-07-30T06:26:33Z")

</div>

Hi, I have var file in which I want to replace dot in maven group id with forwarding slash. NEXUS\_REST\_API\_PARAMS: “{{ {{ MVN\_GROUP\_ID }} | regex\_replace(‘\[.\]’,‘//’) }}/{{ MVN\_ARTIFACT\_ID }}/{{ MVN\_VERSION }}/{{ PACKAG…

---

## [What would be the checkpoint firewall ansible\_network\_os](https://forum.ansible.com/t/what-would-be-the-checkpoint-firewall-ansible-network-os/30886)

<div class="topic-metadata">

**Author:** [@Tribhuvan\_Yadav](https://forum.ansible.com/u/Tribhuvan_Yadav)\
**Replies:** 6\
**Last updated:** [July 30, 2019, 2:20am UTC](https://forum.ansible.com/t/what-would-be-the-checkpoint-firewall-ansible-network-os/30886 "2019-07-30T02:20:35Z")

</div>

any idea what should be the ansible\_network\_os for checkpoint. I am getting below error while running my playbook TASK \[SHOW COMMAND\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible Authentication or permission failure](https://forum.ansible.com/t/ansible-authentication-or-permission-failure/30897)

<div class="topic-metadata">

**Author:** [@kamran\_taherpour](https://forum.ansible.com/u/kamran_taherpour)\
**Replies:** 1\
**Last updated:** [July 29, 2019, 11:20pm UTC](https://forum.ansible.com/t/ansible-authentication-or-permission-failure/30897 "2019-07-29T23:20:35Z")

</div>

Hi, I’m receiving following error for Ansible ping command \<10.26.64.67\> Failed to connect to the host via ssh: OpenSSH\_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 debug1: Reading configuration data /etc/ssh/ssh\_config de…

---

## [The destination directory (/sys/module/nvme\_core/parameters) is not writable by the current user](https://forum.ansible.com/t/the-destination-directory-sys-module-nvme-core-parameters-is-not-writable-by-the-current-user/30895)

<div class="topic-metadata">

**Author:** [@CaptainBrewing](https://forum.ansible.com/u/CaptainBrewing)\
**Replies:** 3\
**Last updated:** [July 29, 2019, 9:58pm UTC](https://forum.ansible.com/t/the-destination-directory-sys-module-nvme-core-parameters-is-not-writable-by-the-current-user/30895 "2019-07-29T21:58:52Z")

</div>

Hello, I am using an Ansible Role to copy a template file. It is not allowing me saying… “The destination directory (/sys/module/nvme\_core/parameters) is not writable by the current user” Here is the execution of the p…

---

## [CPAN Modules](https://forum.ansible.com/t/cpan-modules/30862)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 8\
**Last updated:** [July 29, 2019, 6:50pm UTC](https://forum.ansible.com/t/cpan-modules/30862 "2019-07-29T18:50:46Z")

</div>

I have my playbook for CPAN. Right now it only works for Debian. I need it to work for SLES/RHEL/UBUNTU also but I don’t know how to add them into the playbook. Can someone please help! What I have: cpan-modules.yaml …

---

## [Getting vault ID passwords in playbook](https://forum.ansible.com/t/getting-vault-id-passwords-in-playbook/30894)

<div class="topic-metadata">

**Author:** [@Igor\_Gnatenko](https://forum.ansible.com/u/Igor_Gnatenko)\
**Replies:** 0\
**Last updated:** [July 29, 2019, 6:44pm UTC](https://forum.ansible.com/t/getting-vault-id-passwords-in-playbook/30894 "2019-07-29T18:44:31Z")

</div>

Hello, I would like to set up one host to run ansible-pull, however since credentials are encrypted with ansible-vault I need some way to deliver those credentials to that host. Is there way to get passed passwords from…

---

## [Am new to Ansible and i need a coach](https://forum.ansible.com/t/am-new-to-ansible-and-i-need-a-coach/30716)

<div class="topic-metadata">

**Author:** [@Chukwu\_Gabriel](https://forum.ansible.com/u/Chukwu_Gabriel)\
**Replies:** 1\
**Last updated:** [July 29, 2019, 5:05pm UTC](https://forum.ansible.com/t/am-new-to-ansible-and-i-need-a-coach/30716 "2019-07-29T17:05:36Z")

</div>

Good Afternoon Sir, my name is a Gabriel Chukwu an undergraduate of Electrical Electronics Engineering. am new to ansible and I have a task I have been working on, I would like you to be my private mentor and tutor to he…

---

## [Module synchronize in Ansible](https://forum.ansible.com/t/module-synchronize-in-ansible/30892)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 1\
**Last updated:** [July 29, 2019, 3:03pm UTC](https://forum.ansible.com/t/module-synchronize-in-ansible/30892 "2019-07-29T15:03:59Z")

</div>

Hey guy !! I have on problem, i want synchronize two repertory who are in destination host (source and destination), my task is : name: “Copie de la partie front-office” synchronize: src: /var/apps/hospitalis-fronto…

---

## [Converting a multi-lines string into a list](https://forum.ansible.com/t/converting-a-multi-lines-string-into-a-list/30889)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 12:22pm UTC](https://forum.ansible.com/t/converting-a-multi-lines-string-into-a-list/30889 "2019-07-29T12:22:33Z")

</div>

A call to ansible uri module returns a multi-line string: \` set\_fact: fact: “{{ return\_uri\_json.body }}” ok: \[target\] =\> { “ansible\_facts”: { “fact”: “line\_1\\nline\_2\\nline\_3\\nline\_4\\n” }, “changed”: false } \` …

---

## [Get VMWare Hypervisor Maintenance Mode state](https://forum.ansible.com/t/get-vmware-hypervisor-maintenance-mode-state/30881)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 3\
**Last updated:** [July 29, 2019, 7:40am UTC](https://forum.ansible.com/t/get-vmware-hypervisor-maintenance-mode-state/30881 "2019-07-29T07:40:05Z")

</div>

I want to check if a VMWare Hypervisor (ESXi Host) is in Maintenance Mode or not. I’ve been through the docs for the various vmware\_\* modules but I can’t see any which will return this value. Have I missed it or isn’t th…

---

## [It there any difference of using Tags on Linux server Playbook and Windows server Playbook ?](https://forum.ansible.com/t/it-there-any-difference-of-using-tags-on-linux-server-playbook-and-windows-server-playbook/30891)

<div class="topic-metadata">

**Author:** [@Muhammad\_Chughtai](https://forum.ansible.com/u/Muhammad_Chughtai)\
**Replies:** 1\
**Last updated:** [July 29, 2019, 5:09am UTC](https://forum.ansible.com/t/it-there-any-difference-of-using-tags-on-linux-server-playbook-and-windows-server-playbook/30891 "2019-07-29T05:09:19Z")

</div>

I am using 2 tags in a playbook to manage Linux server and I want to use same tags in a Playbook to manage Windows server. Is there be any difference in mentioning Tags in Window playbook i.e -Package = Yes -Configurat…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=269)

[Next page](https://forum.ansible.com/c/archives/31.md?page=271)
