# Latest

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

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

**Page:** 344

---

## [Dynamic inventory and run ansible playbook in python script](https://forum.ansible.com/t/dynamic-inventory-and-run-ansible-playbook-in-python-script/33903)

<div class="topic-metadata">

**Author:** [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Replies:** 3\
**Last updated:** [September 27, 2020, 2:28am UTC](https://forum.ansible.com/t/dynamic-inventory-and-run-ansible-playbook-in-python-script/33903 "2020-09-27T02:28:22Z")

</div>

Hi all I need help to create dynamic inventory and run playbook using python script if anyone knows please help me out Thanks Prajwal

---

## [Docker+gitlab setup using ansible](https://forum.ansible.com/t/docker-gitlab-setup-using-ansible/33878)

<div class="topic-metadata">

**Author:** [@Gopal\_Dhapa](https://forum.ansible.com/u/Gopal_Dhapa)\
**Replies:** 4\
**Last updated:** [September 26, 2020, 8:59pm UTC](https://forum.ansible.com/t/docker-gitlab-setup-using-ansible/33878 "2020-09-26T20:59:40Z")

</div>

Hello Team, Need your help to configure docker+gitlab setup in ubuntu or any linux environment using ansible please help me on this task thanks in advance.

---

## [ansible installation: no /etc/ansible/hosts file](https://forum.ansible.com/t/ansible-installation-no-etc-ansible-hosts-file/19887)

<div class="topic-metadata">

**Author:** [@Sebastian\_M\_Cheung](https://forum.ansible.com/u/Sebastian_M_Cheung)\
**Replies:** 5\
**Last updated:** [September 26, 2020, 8:55pm UTC](https://forum.ansible.com/t/ansible-installation-no-etc-ansible-hosts-file/19887 "2020-09-26T20:55:24Z")

</div>

No file for /etc/ansible/hosts Where is this file? Instructor opened an automatically generated /etc/ansible/hosts file but there is no such file in Mac OSX after ansible is installed? Am I supposed to create this file…

---

## [use source control credential in playbook](https://forum.ansible.com/t/use-source-control-credential-in-playbook/33827)

<div class="topic-metadata">

**Author:** [@John\_Ratliff](https://forum.ansible.com/u/John_Ratliff)\
**Replies:** 8\
**Last updated:** [September 26, 2020, 4:58pm UTC](https://forum.ansible.com/t/use-source-control-credential-in-playbook/33827 "2020-09-26T16:58:45Z")

</div>

Is it possible to use a source control credential within a playbook in awx? I need to clone a repo during the play and I want to use the existing source control credential in the playbook. {{ scm\_username }} or somethin…

---

## [Need some suggestion to work on precheck and post check on ansible.](https://forum.ansible.com/t/need-some-suggestion-to-work-on-precheck-and-post-check-on-ansible/33902)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 0\
**Last updated:** [September 26, 2020, 11:39am UTC](https://forum.ansible.com/t/need-some-suggestion-to-work-on-precheck-and-post-check-on-ansible/33902 "2020-09-26T11:39:33Z")

</div>

Actually trying to understand how prechecks and post checks are working in real time in ansible for configuration changes. I mean what is the best way to start to check these kind of things. Currently I am checking wit…

---

## [Error messages](https://forum.ansible.com/t/error-messages/33895)

<div class="topic-metadata">

**Author:** [@Joe3](https://forum.ansible.com/u/Joe3)\
**Replies:** 2\
**Last updated:** [September 26, 2020, 5:08am UTC](https://forum.ansible.com/t/error-messages/33895 "2020-09-26T05:08:06Z")

</div>

I’m pretty new to ansible, so I’m learning as i go. I run the code below and it seem to work. However i get the following errors messages? Any one know why? Any one have suggestions on how i should re-write it properly?

---

## [Running Awx container as non root user](https://forum.ansible.com/t/running-awx-container-as-non-root-user/33888)

<div class="topic-metadata">

**Author:** [@Shantanu\_Dutta](https://forum.ansible.com/u/Shantanu_Dutta)\
**Replies:** 1\
**Last updated:** [September 25, 2020, 11:33pm UTC](https://forum.ansible.com/t/running-awx-container-as-non-root-user/33888 "2020-09-25T23:33:37Z")

</div>

I have been trying to run the awx containers as non root, but unfortunately haven’t managed yet. Can anybody help me please? I have been trying since last few days but without any success.

---

## [Ways of debugging the installation for having more output](https://forum.ansible.com/t/ways-of-debugging-the-installation-for-having-more-output/33899)

<div class="topic-metadata">

**Author:** [@Ayrton\_Araujo](https://forum.ansible.com/u/Ayrton_Araujo)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 10:10pm UTC](https://forum.ansible.com/t/ways-of-debugging-the-installation-for-having-more-output/33899 "2020-09-25T22:10:56Z")

</div>

Hey there, my friends. I’m experiencing this issue with a new install from the latest git tag: https://pastebin.com/xwJ6FHUH Using docker-compose. Has someone ever experienced this recently? Also, something that would…

---

## [Docker Deployment - Errno 2](https://forum.ansible.com/t/docker-deployment-errno-2/33896)

<div class="topic-metadata">

**Author:** [@Dave\_Gilmore](https://forum.ansible.com/u/Dave_Gilmore)\
**Replies:** 5\
**Last updated:** [September 25, 2020, 6:46pm UTC](https://forum.ansible.com/t/docker-deployment-errno-2/33896 "2020-09-25T18:46:38Z")

</div>

Hi Folks, I am having some issues deploying containers to a remote host, specifically reading in a env\_file. The error message I get is: \[Errno 2\] No such file or directory: "\[‘/usr/local/hg/defaults.env’, ‘/var/lib/d…

---

## [Netbox collection Error](https://forum.ansible.com/t/netbox-collection-error/33898)

<div class="topic-metadata">

**Author:** [@Jamal\_Aw\_Yonis](https://forum.ansible.com/u/Jamal_Aw_Yonis)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 5:49pm UTC](https://forum.ansible.com/t/netbox-collection-error/33898 "2020-09-25T17:49:26Z")

</div>

Hey guys, I am not sure how this works but i am running into problem when i try to create device types in netbox via API. I am using ansible and python but one of the playbooks is crashed due to device type id. Here is …

---

## [catalyst 802.1x interface configuration](https://forum.ansible.com/t/catalyst-802-1x-interface-configuration/33897)

<div class="topic-metadata">

**Author:** [@Richard\_Lucht](https://forum.ansible.com/u/Richard_Lucht)\
**Replies:** 1\
**Last updated:** [September 25, 2020, 3:42pm UTC](https://forum.ansible.com/t/catalyst-802-1x-interface-configuration/33897 "2020-09-25T15:42:38Z")

</div>

Hello, I am very new to AWX. I have been a network engineer for about 10 years now. I am looking to automate a configuration change that we would have to do to about 2k switches. I would like to go from this interfac…

---

## [How to run my Playbook using the Python 3.8.5 as an interpreter?](https://forum.ansible.com/t/how-to-run-my-playbook-using-the-python-3-8-5-as-an-interpreter/33894)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 5\
**Last updated:** [September 25, 2020, 12:56pm UTC](https://forum.ansible.com/t/how-to-run-my-playbook-using-the-python-3-8-5-as-an-interpreter/33894 "2020-09-25T12:56:16Z")

</div>

Hi Members, I tried running my ansible playbook using below linux command on CentOS 7 (Minimal Install - Command line only). But Unfortunately I am getting an error message. How to run it properly using my altinstalled …

---

## [Timezone change](https://forum.ansible.com/t/timezone-change/33889)

<div class="topic-metadata">

**Author:** [@Vineeth\_Joseph\_Abrah](https://forum.ansible.com/u/Vineeth_Joseph_Abrah)\
**Replies:** 2\
**Last updated:** [September 25, 2020, 2:31am UTC](https://forum.ansible.com/t/timezone-change/33889 "2020-09-25T02:31:01Z")

</div>

Hi Following is the script to change the timezone in ec2-instance vars: timezone: Canada/Eastern name: Check current timezone shell: awk -F" ‘{ print $2}’ /etc/sysconfig/clock register: current\_zone changed\_…

---

## [single instance of module trough playbook execution](https://forum.ansible.com/t/single-instance-of-module-trough-playbook-execution/33893)

<div class="topic-metadata">

**Author:** [@thlanzer](https://forum.ansible.com/u/thlanzer)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 12:07am UTC](https://forum.ansible.com/t/single-instance-of-module-trough-playbook-execution/33893 "2020-09-25T00:07:18Z")

</div>

Hello guys I work with an API that is pretty old and only supports get of a whole bunch of data objects. The data is quite complex as I decided to define my own module/plugin to parse and store the result in memory by …

---

## [GPG Signature Validation failed for mysql community release...](https://forum.ansible.com/t/gpg-signature-validation-failed-for-mysql-community-release/33884)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 6\
**Last updated:** [September 24, 2020, 11:34pm UTC](https://forum.ansible.com/t/gpg-signature-validation-failed-for-mysql-community-release/33884 "2020-09-24T23:34:14Z")

</div>

Hi Members, I am running an ansible Playbook which installs the below community version of MySql repo: mysql-community-release-e17-5.noarch But the problem is I am getting the Below error Message: Fatal: \[localhost\]:…

---

## [Ansible can read environment variables which AWS CloudFormation creates ?](https://forum.ansible.com/t/ansible-can-read-environment-variables-which-aws-cloudformation-creates/33892)

<div class="topic-metadata">

**Author:** [@Vineeth\_Joseph\_Abrah](https://forum.ansible.com/u/Vineeth_Joseph_Abrah)\
**Replies:** 0\
**Last updated:** [September 24, 2020, 6:00pm UTC](https://forum.ansible.com/t/ansible-can-read-environment-variables-which-aws-cloudformation-creates/33892 "2020-09-24T18:00:37Z")

</div>

Hi All, Is there a way Ansible can read environment variables which AWS CloudFormation creates ?. For example : CloudFormation can create ANSIBLE\_SOURCE env variable with the S3 bucket name that Ansible can read to pul…

---

## [Is there a way to denote modules/plugins that are private to a collection?](https://forum.ansible.com/t/is-there-a-way-to-denote-modules-plugins-that-are-private-to-a-collection/33890)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 2\
**Last updated:** [September 24, 2020, 5:43pm UTC](https://forum.ansible.com/t/is-there-a-way-to-denote-modules-plugins-that-are-private-to-a-collection/33890 "2020-09-24T17:43:51Z")

</div>

The linux-system-roles project has several roles that have modules that are used in the implementation of the role. However, once we convert to collections, all of these modules will be part of the public API of the col…

---

## [How to convert dict or list to string in ansible](https://forum.ansible.com/t/how-to-convert-dict-or-list-to-string-in-ansible/33887)

<div class="topic-metadata">

**Author:** [@Devops\_testing](https://forum.ansible.com/u/Devops_testing)\
**Replies:** 2\
**Last updated:** [September 24, 2020, 4:14pm UTC](https://forum.ansible.com/t/how-to-convert-dict-or-list-to-string-in-ansible/33887 "2020-09-24T16:14:02Z")

</div>

play: set\_fact: irules: “{{ rule | json\_query(‘\[\*\].definition’) }}” debug: msg: “{{ irules }}” output: “msg”: \[ “when HTTP\_REQUEST {\\n switch -glob \[HTTP::uri\] {\\n "HAC" { pool char.hr.cal.ed.ABC.pool }\\n \\n } \\n}” …

---

## [Websitecreation playbook](https://forum.ansible.com/t/websitecreation-playbook/33885)

<div class="topic-metadata">

**Author:** [@rubod\_singh](https://forum.ansible.com/u/rubod_singh)\
**Replies:** 0\
**Last updated:** [September 24, 2020, 11:56am UTC](https://forum.ansible.com/t/websitecreation-playbook/33885 "2020-09-24T11:56:43Z")

</div>

HI Team, can someone share or point me to a playbook that can be used to create the iis websites dynamically on windows. i have this currently that i found on internet but doesnt seem to be working.

---

## [Branching/conditional statements to install different editions and versions of MS SQL Server](https://forum.ansible.com/t/branching-conditional-statements-to-install-different-editions-and-versions-of-ms-sql-server/33786)

<div class="topic-metadata">

**Author:** [@Rahul\_Puli](https://forum.ansible.com/u/Rahul_Puli)\
**Replies:** 1\
**Last updated:** [September 24, 2020, 11:27am UTC](https://forum.ansible.com/t/branching-conditional-statements-to-install-different-editions-and-versions-of-ms-sql-server/33786 "2020-09-24T11:27:55Z")

</div>

Hello, I have created a role to install MSSQL for different versions (2014,2016,2017,2019) and its working fine for all the versions. For installing MS SQL 2014 developer version I need to comment the others developer …

---

## [ios\_vlans and ios\_l2\_interfaces error](https://forum.ansible.com/t/ios-vlans-and-ios-l2-interfaces-error/33867)

<div class="topic-metadata">

**Author:** [@Jaime\_Jaca](https://forum.ansible.com/u/Jaime_Jaca)\
**Replies:** 2\
**Last updated:** [September 24, 2020, 6:31am UTC](https://forum.ansible.com/t/ios-vlans-and-ios-l2-interfaces-error/33867 "2020-09-24T06:31:33Z")

</div>

The new ios\_vlans and ios\_l2\_interfaces modules give me the following error when executing it:

---

## [unable to ping  windows machine](https://forum.ansible.com/t/unable-to-ping-windows-machine/33843)

<div class="topic-metadata">

**Author:** [@PRAVEEN\_KATTULAPALLI](https://forum.ansible.com/u/PRAVEEN_KATTULAPALLI)\
**Replies:** 3\
**Last updated:** [September 24, 2020, 4:35am UTC](https://forum.ansible.com/t/unable-to-ping-windows-machine/33843 "2020-09-24T04:35:55Z")

</div>

server16 | UNREACHABLE! =\> { “changed”: false, “msg”: “basic: HTTPConnectionPool(host=‘server16’, port=5985): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(\<urllib3.connection.HTTPConnection obje…

---

## [LDAPS issue AWX TLS](https://forum.ansible.com/t/ldaps-issue-awx-tls/31368)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 6\
**Last updated:** [September 24, 2020, 2:38am UTC](https://forum.ansible.com/t/ldaps-issue-awx-tls/31368 "2020-09-24T02:38:40Z")

</div>

Dear All, When I configure authentication using LDAPS I see this error below. 2019-09-26 15:56:06,996 DEBUG django\_auth\_ldap Initiating TLS 2019-09-26 15:56:07,039 WARNING django\_auth\_ldap Caught LDAPError while authe…

---

## [unistall windows server](https://forum.ansible.com/t/unistall-windows-server/33865)

<div class="topic-metadata">

**Author:** [@PRAVEEN\_KATTULAPALLI](https://forum.ansible.com/u/PRAVEEN_KATTULAPALLI)\
**Replies:** 13\
**Last updated:** [September 24, 2020, 2:07am UTC](https://forum.ansible.com/t/unistall-windows-server/33865 "2020-09-24T02:07:26Z")

</div>

Hii all, could anyone share ansible script or basic format of script for windows server uninstallation. i couldn’t find any related scripts or modules in official docs.

---

## [What's wrong with this block of code?](https://forum.ansible.com/t/whats-wrong-with-this-block-of-code/33883)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 1\
**Last updated:** [September 24, 2020, 1:57am UTC](https://forum.ansible.com/t/whats-wrong-with-this-block-of-code/33883 "2020-09-24T01:57:50Z")

</div>

name: Install other dependencies dnf: name: unixODBC unixODBC-devel mysql-connector-odbc MySQL-python tcpdump ntp ntpdate jansson bind-utils state: present I am getting the following error Message: ERROR! Conflicti…

---

## [AWX and running playbooks and roles.](https://forum.ansible.com/t/awx-and-running-playbooks-and-roles/33882)

<div class="topic-metadata">

**Author:** [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Replies:** 0\
**Last updated:** [September 23, 2020, 11:02pm UTC](https://forum.ansible.com/t/awx-and-running-playbooks-and-roles/33882 "2020-09-23T23:02:25Z")

</div>

As I have stated in a series of different questions tonight, I am new to AWX and to Docker. We also got a copy of Tower running, and by talking to the RedHat folks they say it is better to run the playbooks from “Tower”…

---

## [Ansible AWX on Amazon Linux 2?](https://forum.ansible.com/t/ansible-awx-on-amazon-linux-2/33441)

<div class="topic-metadata">

**Author:** [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Replies:** 1\
**Last updated:** [September 23, 2020, 10:32pm UTC](https://forum.ansible.com/t/ansible-awx-on-amazon-linux-2/33441 "2020-09-23T22:32:12Z")

</div>

Hopefully, I am in the right place to post this. Can you install Ansible AWX server on Amazon Linux 2? Thank you Daniel

---

## [Run an AWX playbook from a web page](https://forum.ansible.com/t/run-an-awx-playbook-from-a-web-page/33833)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 3\
**Last updated:** [September 23, 2020, 6:44pm UTC](https://forum.ansible.com/t/run-an-awx-playbook-from-a-web-page/33833 "2020-09-23T18:44:35Z")

</div>

Hello All, I have several playbooks that provide data on various hosts. In my case they are Juniper MX-80 routers. I have a plybooks that shows me a device(s) that have a particular vlan-id. I would like to have a co…

---

## [Ansible-2.10.0 has been released!](https://forum.ansible.com/t/ansible-2-10-0-has-been-released/33870)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 2\
**Last updated:** [September 23, 2020, 2:58pm UTC](https://forum.ansible.com/t/ansible-2-10-0-has-been-released/33870 "2020-09-23T14:58:19Z")

</div>

Hi all- \*\*Important:\*\* If you are upgrading from an older Ansible release, please see the \`How to get it\` section for an important limitation. We're happy to announce that the ansible-2.10 package is now available! T…

---

## [awx ansible\_user and ansible\_ssh\_pass](https://forum.ansible.com/t/awx-ansible-user-and-ansible-ssh-pass/33879)

<div class="topic-metadata">

**Author:** [@John\_Ratliff](https://forum.ansible.com/u/John_Ratliff)\
**Replies:** 0\
**Last updated:** [September 23, 2020, 2:18pm UTC](https://forum.ansible.com/t/awx-ansible-user-and-ansible-ssh-pass/33879 "2020-09-23T14:18:42Z")

</div>

I’m trying to use these variables in a playbook. I have a test awx environment, and a production one. In the test environment, the ansible\_user and ansible\_ssh\_pass are always set to the machine credentials. In the pro…

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

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