# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=226

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

**Page:** 227

---

## [Fate of Ansible & Tower -- IBM Acquiring RedHat](https://forum.ansible.com/t/fate-of-ansible-tower-ibm-acquiring-redhat/28901)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 9:17pm UTC](https://forum.ansible.com/t/fate-of-ansible-tower-ibm-acquiring-redhat/28901 "2018-10-30T21:17:09Z")

</div>

Maybe this isn’t the place for this, but just wondering your thoughts on the acquisition of RedHat by IBM. They promise to keep it as its own business unit, but we have seen things like this in the past. I used to work f…

---

## [Ansible-Protecting-Paswords](https://forum.ansible.com/t/ansible-protecting-paswords/28890)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 8:24pm UTC](https://forum.ansible.com/t/ansible-protecting-paswords/28890 "2018-10-30T20:24:10Z")

</div>

Hi All,

---

## [Ansible Sudo Issue-Solaris](https://forum.ansible.com/t/ansible-sudo-issue-solaris/28834)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 9\
**Last updated:** [October 30, 2018, 6:52pm UTC](https://forum.ansible.com/t/ansible-sudo-issue-solaris/28834 "2018-10-30T18:52:22Z")

</div>

hi all, i want to run basic command on solaris OS i.e whoami using become command.so am able to sudo to different user using putty successfully but facing issues via ansible. OS:solaris Sudo user:mygroup sudo impleme…

---

## [Determine which network a host is on](https://forum.ansible.com/t/determine-which-network-a-host-is-on/28900)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 6:05pm UTC](https://forum.ansible.com/t/determine-which-network-a-host-is-on/28900 "2018-10-30T18:05:15Z")

</div>

So I’ve got a playbook I’ve written where the config is different depending on the network it resides on. How can I determine this and be able to save the network as a variable?

---

## [Joining Linux server to the Active directory Domain.](https://forum.ansible.com/t/joining-linux-server-to-the-active-directory-domain/28893)

<div class="topic-metadata">

**Author:** [@fahad.riaz1718](https://forum.ansible.com/u/fahad.riaz1718)\
**Replies:** 3\
**Last updated:** [October 30, 2018, 1:42pm UTC](https://forum.ansible.com/t/joining-linux-server-to-the-active-directory-domain/28893 "2018-10-30T13:42:53Z")

</div>

Fahad Riaz \<fahad.riaz1718@gmail.com\> 3:50 PM (4 minutes ago) to ansible-project I am working on a project and part of it includes joining the Linux server to the Active Directory domain. I’ve tried …

---

## [Ansible playbook for creating mysql user not working](https://forum.ansible.com/t/ansible-playbook-for-creating-mysql-user-not-working/28896)

<div class="topic-metadata">

**Author:** [@Arjun\_Ani](https://forum.ansible.com/u/Arjun_Ani)\
**Replies:** 5\
**Last updated:** [October 30, 2018, 9:57am UTC](https://forum.ansible.com/t/ansible-playbook-for-creating-mysql-user-not-working/28896 "2018-10-30T09:57:03Z")

</div>

When running mysql\_user module in ansible it is showing the below error. ansible version - 2.6 mysql version - 5.6 yaml syntax :- - name: Test | mysql mysql\_user: name=test password=test host=localhost state=presen…

---

## [Custom Windows Module Failing with Ansible 2.6.4 when using become](https://forum.ansible.com/t/custom-windows-module-failing-with-ansible-2-6-4-when-using-become/28877)

<div class="topic-metadata">

**Author:** [@Chris\_Hall](https://forum.ansible.com/u/Chris_Hall)\
**Replies:** 8\
**Last updated:** [October 30, 2018, 9:46am UTC](https://forum.ansible.com/t/custom-windows-module-failing-with-ansible-2-6-4-when-using-become/28877 "2018-10-30T09:46:29Z")

</div>

Hi all, First timer here. So the details of the issue are: Using Ansible 2.6.4 Playbook that runs my custom windows module (wrapping Service Fabric functionality to create and expand Service Fabric standalone cluster…

---

## [Incorrect timezone for Windows Server?](https://forum.ansible.com/t/incorrect-timezone-for-windows-server/28885)

<div class="topic-metadata">

**Author:** [@Ameya\_Agashe](https://forum.ansible.com/u/Ameya_Agashe)\
**Replies:** 3\
**Last updated:** [October 29, 2018, 11:52pm UTC](https://forum.ansible.com/t/incorrect-timezone-for-windows-server/28885 "2018-10-29T23:52:01Z")

</div>

Hey Guys, I have added a timezone task and maybe its buggy or maybe my logic is not quiet right. It is referring to Easter timezone instead of Daylight Timezone, yaml block below: - name: Set timezone to ‘A.U.S. Easter…

---

## [Ansible netconf is not working with Cisco IOS](https://forum.ansible.com/t/ansible-netconf-is-not-working-with-cisco-ios/28878)

<div class="topic-metadata">

**Author:** [@Krishna\_Kotha](https://forum.ansible.com/u/Krishna_Kotha)\
**Replies:** 2\
**Last updated:** [October 29, 2018, 5:51pm UTC](https://forum.ansible.com/t/ansible-netconf-is-not-working-with-cisco-ios/28878 "2018-10-29T17:51:07Z")

</div>

Hello, I am trying to use Netconf\_config model on Cisco switch catalyst 9300. I am getting following error message. You can see the playbook and the running the palybook. I tried with different options like changing t…

---

## [RDS module](https://forum.ansible.com/t/rds-module/28891)

<div class="topic-metadata">

**Author:** [@Guy\_Knights1](https://forum.ansible.com/u/Guy_Knights1)\
**Replies:** 0\
**Last updated:** [October 29, 2018, 4:42pm UTC](https://forum.ansible.com/t/rds-module/28891 "2018-10-29T16:42:11Z")

</div>

What’s the difference between the rds module vs the rds\_instance module? It seems like they do the same thing. I assumed that rds\_instance is a replacement for rds since it’s only been added in Ansible 2.7 but I don’t se…

---

## [Use a loop with\_items into a body command of uri ansible module](https://forum.ansible.com/t/use-a-loop-with-items-into-a-body-command-of-uri-ansible-module/28888)

<div class="topic-metadata">

**Author:** [@Alberto\_Jimenez\_Loza](https://forum.ansible.com/u/Alberto_Jimenez_Loza)\
**Replies:** 3\
**Last updated:** [October 29, 2018, 1:22pm UTC](https://forum.ansible.com/t/use-a-loop-with-items-into-a-body-command-of-uri-ansible-module/28888 "2018-10-29T13:22:45Z")

</div>

I use a loop with\_items, but I want to put the variable into a body of a json and it doesn´t works. name: Associate subscriptions ak-{{tenant}}-RHEL\_7 uri: url: “https://xxxxxxxx/katello/api/activation\_keys/{{ak\_id\[0…

---

## [Fail gracefully if no hosts match](https://forum.ansible.com/t/fail-gracefully-if-no-hosts-match/28886)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Servat](https://forum.ansible.com/u/Gonzalo_Servat)\
**Replies:** 2\
**Last updated:** [October 29, 2018, 12:17pm UTC](https://forum.ansible.com/t/fail-gracefully-if-no-hosts-match/28886 "2018-10-29T12:17:53Z")

</div>

Hi All I’ve got an Ansible playbook that I’m running against a custom inventory group I’ve created. The issue is that this group may or may not be empty. I only want Ansible to exit non-zero if it ran against a host (or…

---

## [git update](https://forum.ansible.com/t/git-update/28858)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 5\
**Last updated:** [October 29, 2018, 11:11am UTC](https://forum.ansible.com/t/git-update/28858 "2018-10-29T11:11:18Z")

</div>

Hi All, I have one use case where if the new user is created in the server then ansible playbook update the file /etc/passwd and /etc/shadow file in version control. The ansible script check the difference and update t…

---

## [Need help](https://forum.ansible.com/t/need-help/28882)

<div class="topic-metadata">

**Author:** [@Sathya\_Narayanan](https://forum.ansible.com/u/Sathya_Narayanan)\
**Replies:** 6\
**Last updated:** [October 28, 2018, 6:16pm UTC](https://forum.ansible.com/t/need-help/28882 "2018-10-28T18:16:10Z")

</div>

Hi All, I am new to ansible and I would like to understand or get some ideas about how to use ansible to maintain standard operating system environment. For example : I would like to have ansible to check all my existi…

---

## [Problem when dynamically constructing dict variables with string list as values](https://forum.ansible.com/t/problem-when-dynamically-constructing-dict-variables-with-string-list-as-values/28884)

<div class="topic-metadata">

**Author:** [@Lu\_Liu](https://forum.ansible.com/u/Lu_Liu)\
**Replies:** 0\
**Last updated:** [October 28, 2018, 2:56pm UTC](https://forum.ansible.com/t/problem-when-dynamically-constructing-dict-variables-with-string-list-as-values/28884 "2018-10-28T14:56:48Z")

</div>

SUMMARY When dynamically creating a dict var with a list as its value, it’s working when the list elements are int but will fallback to a string when the list elements are strings. ISSUE TYPE Not sure if this is a bug …

---

## [Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع](https://forum.ansible.com/t/us-congress-hearing-of-maan-alsaan-money-laundry/28883)

<div class="topic-metadata">

**Author:** [@user96](https://forum.ansible.com/u/user96)\
**Replies:** 0\
**Last updated:** [October 27, 2018, 8:54pm UTC](https://forum.ansible.com/t/us-congress-hearing-of-maan-alsaan-money-laundry/28883 "2018-10-27T20:54:12Z")

</div>

YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al sanea" with bank of America and The owner of Saad Hospital and Schools in the Eastern Province in Saudi Arabia and the Chairm…

---

## [Ansible windows patch trouble: Need help for Win Patch Automation using Ansible](https://forum.ansible.com/t/ansible-windows-patch-trouble-need-help-for-win-patch-automation-using-ansible/27617)

<div class="topic-metadata">

**Author:** [@ansible4windows](https://forum.ansible.com/u/ansible4windows)\
**Replies:** 20\
**Last updated:** [October 27, 2018, 2:44pm UTC](https://forum.ansible.com/t/ansible-windows-patch-trouble-need-help-for-win-patch-automation-using-ansible/27617 "2018-10-27T14:44:34Z")

</div>

Hello, I am facing some problems in setting up patch automation in my organization. For a quick walk through: We have 5 domains for the purpose of Production, Staging, Testing and Application. I am working on machines …

---

## [Windows: kerberos: the specified credentials were rejected by the server](https://forum.ansible.com/t/windows-kerberos-the-specified-credentials-were-rejected-by-the-server/28880)

<div class="topic-metadata">

**Author:** [@Subhi\_Andrews](https://forum.ansible.com/u/Subhi_Andrews)\
**Replies:** 1\
**Last updated:** [October 27, 2018, 12:41pm UTC](https://forum.ansible.com/t/windows-kerberos-the-specified-credentials-were-rejected-by-the-server/28880 "2018-10-27T12:41:47Z")

</div>

I am using the following ansible settings: ansible\_user: ‘myuser’ ansible\_password: ‘mypass’ ansible\_port: 5986 ansible\_connection: winrm ansible\_winrm\_transport: kerberos ansible\_winrm\_server\_cert\_validation: igno…

---

## [Difference in ec2 module and ec2\_instance module.](https://forum.ansible.com/t/difference-in-ec2-module-and-ec2-instance-module/28788)

<div class="topic-metadata">

**Author:** [@Madushan\_Chathuranga](https://forum.ansible.com/u/Madushan_Chathuranga)\
**Replies:** 1\
**Last updated:** [October 27, 2018, 12:25pm UTC](https://forum.ansible.com/t/difference-in-ec2-module-and-ec2-instance-module/28788 "2018-10-27T12:25:54Z")

</div>

Hi All, What is the difference between ec2 module and ec2\_instance module. Why there are two modules to create an ec2. https://docs.ansible.com/ansible/2.5/modules/ec2\_instance\_module.html https://docs.ansible.com/ans…

---

## [How to develop an Ansible agent for another OS](https://forum.ansible.com/t/how-to-develop-an-ansible-agent-for-another-os/28862)

<div class="topic-metadata">

**Author:** [@k3ck3c](https://forum.ansible.com/u/k3ck3c)\
**Replies:** 5\
**Last updated:** [October 26, 2018, 7:32pm UTC](https://forum.ansible.com/t/how-to-develop-an-ansible-agent-for-another-os/28862 "2018-10-26T19:32:14Z")

</div>

Hello I am looking for some docs explaining how to develop an agent for another Operating System I noticed in /usr/local/python2.7/dist-packages:ansible/modules-utils/facts/hardware some files like aix.py sunos.py …

---

## [issue with stopping the playbook](https://forum.ansible.com/t/issue-with-stopping-the-playbook/28873)

<div class="topic-metadata">

**Author:** [@itssitaram9](https://forum.ansible.com/u/itssitaram9)\
**Replies:** 2\
**Last updated:** [October 26, 2018, 1:03pm UTC](https://forum.ansible.com/t/issue-with-stopping-the-playbook/28873 "2018-10-26T13:03:13Z")

</div>

hello, I have playbook that imports multiple sub play books. Basically, i want the main playbook to shut down the servers sequentially… main play book:

---

## [getting error  \[WARNING\]: Unable to parse /etc/ansible/hosts as an inventory source](https://forum.ansible.com/t/getting-error-warning-unable-to-parse-etc-ansible-hosts-as-an-inventory-source/28875)

<div class="topic-metadata">

**Author:** [@baktavar\_baba](https://forum.ansible.com/u/baktavar_baba)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 11:27pm UTC](https://forum.ansible.com/t/getting-error-warning-unable-to-parse-etc-ansible-hosts-as-an-inventory-source/28875 "2018-10-25T23:27:45Z")

</div>

Hi i installed Ansible on MacOS and getting below errors ansible all -m ping \[WARNING\]: Unable to parse /etc/ansible/hosts as an inventory source \[WARNING\]: No inventory was parsed, only implicit localhost is availa…

---

## [Ansible-2.7.1 is released](https://forum.ansible.com/t/ansible-2-7-1-is-released/28874)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 25, 2018, 10:10pm UTC](https://forum.ansible.com/t/ansible-2-7-1-is-released/28874 "2018-10-25T22:10:06Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.7.1 is now available! How do you get it?

---

## [ansible 2.8.0.dev0 (devel 0661f2f213): ansible-playbook has only the text ansible](https://forum.ansible.com/t/ansible-2-8-0-dev0-devel-0661f2f213-ansible-playbook-has-only-the-text-ansible/28870)

<div class="topic-metadata">

**Author:** [@cyril\_thankappan](https://forum.ansible.com/u/cyril_thankappan)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 6:21pm UTC](https://forum.ansible.com/t/ansible-2-8-0-dev0-devel-0661f2f213-ansible-playbook-has-only-the-text-ansible/28870 "2018-10-25T18:21:11Z")

</div>

Hi After following the installation steps in https://www.linvirtshell.com/2017/12/step-by-step-installation-of-ansible.html i am finding the below executables having only the text ansible ansible-vault ansible-pull …

---

## [ansible yaml question for retries module](https://forum.ansible.com/t/ansible-yaml-question-for-retries-module/28866)

<div class="topic-metadata">

**Author:** [@rajeev](https://forum.ansible.com/u/rajeev)\
**Replies:** 3\
**Last updated:** [October 25, 2018, 3:41pm UTC](https://forum.ansible.com/t/ansible-yaml-question-for-retries-module/28866 "2018-10-25T15:41:46Z")

</div>

Hello, I have a use case where I need drop a long running command(x1) on a remote host and then track its status via another command(x2). I have tried doing that using async with Poll “0” for x1 command , and then run …

---

## [Ansible Play error - Template error while templating string: no filter named 'map'. String:](https://forum.ansible.com/t/ansible-play-error-template-error-while-templating-string-no-filter-named-map-string/28860)

<div class="topic-metadata">

**Author:** [@Kishore\_Ponniah](https://forum.ansible.com/u/Kishore_Ponniah)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 10:11am UTC](https://forum.ansible.com/t/ansible-play-error-template-error-while-templating-string-no-filter-named-map-string/28860 "2018-10-25T10:11:07Z")

</div>

Hello all, This is the continuation of my other Post creating direct connect gateway. This is the same but using assume roles and cross-account deployment. I have added loops but there are 2 sections which are not worki…

---

## [Could ansile access remote hosts by serial console over LAN](https://forum.ansible.com/t/could-ansile-access-remote-hosts-by-serial-console-over-lan/23725)

<div class="topic-metadata">

**Author:** [@rong\_zhao](https://forum.ansible.com/u/rong_zhao)\
**Replies:** 5\
**Last updated:** [October 25, 2018, 5:50am UTC](https://forum.ansible.com/t/could-ansile-access-remote-hosts-by-serial-console-over-lan/23725 "2018-10-25T05:50:25Z")

</div>

Hi Dears, My remote hosts’ management port is serial console over LAN. When connect by ssh manually, I use ops account connect to remote hosts, and then it become the Linux console, I just run ssh command. Now, I use …

---

## [apt result is changed incorrectly?](https://forum.ansible.com/t/apt-result-is-changed-incorrectly/28864)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 3\
**Last updated:** [October 25, 2018, 4:17am UTC](https://forum.ansible.com/t/apt-result-is-changed-incorrectly/28864 "2018-10-25T04:17:35Z")

</div>

I am running apt with a wildcard. The package is not being installed/updated, but task is marked as changed. Is this is a bug or how I should expect apt to work with a wildcard. \` ansible❯ ansible --version ansible 2.…

---

## [Get IP address, replace first three octets](https://forum.ansible.com/t/get-ip-address-replace-first-three-octets/28836)

<div class="topic-metadata">

**Author:** [@LJ\_Medina](https://forum.ansible.com/u/LJ_Medina)\
**Replies:** 7\
**Last updated:** [October 25, 2018, 3:55am UTC](https://forum.ansible.com/t/get-ip-address-replace-first-three-octets/28836 "2018-10-25T03:55:29Z")

</div>

Hello, I'm trying to assign ILO IP addresses to a range of systems, using a different subnet than their host IP, just matching the fourth octet. For example, if their IP would be 10.10.10.10, I want their ILO IP to be …

---

## [Parsing and creating new variables from inventory hostgroup](https://forum.ansible.com/t/parsing-and-creating-new-variables-from-inventory-hostgroup/28854)

<div class="topic-metadata">

**Author:** [@Brent\_Weaver](https://forum.ansible.com/u/Brent_Weaver)\
**Replies:** 3\
**Last updated:** [October 24, 2018, 6:30pm UTC](https://forum.ansible.com/t/parsing-and-creating-new-variables-from-inventory-hostgroup/28854 "2018-10-24T18:30:21Z")

</div>

I have a hostgroup that have 4 hosts in it: Example: \[ { “shcdeployer”, “shcnode1”, “shcnode3”, “shcnode3” } \] I need to get two things actually A shcnode\* node picked out of the list, does not matter A string …

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=225)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=227)
