# Archives

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

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

**Page:** 302

---

## [Iptables module fragment option](https://forum.ansible.com/t/iptables-module-fragment-option/30006)

<div class="topic-metadata">

**Author:** [@Guy\_Knights1](https://forum.ansible.com/u/Guy_Knights1)\
**Replies:** 0\
**Last updated:** [March 27, 2019, 11:56pm UTC](https://forum.ansible.com/t/iptables-module-fragment-option/30006 "2019-03-27T23:56:11Z")

</div>

I’m trying to add an iptables rule that uses the fragment option, and I cannot work out how to get it working using Ansible’s iptables module. Here’s my task: name: drop fragmented packets iptables: jump: DROP chai…

---

## [How to install Chocolatey offline?](https://forum.ansible.com/t/how-to-install-chocolatey-offline/30003)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 1\
**Last updated:** [March 27, 2019, 9:49pm UTC](https://forum.ansible.com/t/how-to-install-chocolatey-offline/30003 "2019-03-27T21:49:09Z")

</div>

Hello, I’m trying to make a task to install Chocolatey on Windows. I have a remote windows host with the Chocolatey installer package at: C:\\updater\\ chocolatey.0.10.13.nupkg I don’t think I can use “win\_chocolatey” be…

---

## [vmware\_guest : Could not find template in Content Library](https://forum.ansible.com/t/vmware-guest-could-not-find-template-in-content-library/30001)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 0\
**Last updated:** [March 27, 2019, 8:03pm UTC](https://forum.ansible.com/t/vmware-guest-could-not-find-template-in-content-library/30001 "2019-03-27T20:03:34Z")

</div>

Hi, please let me know if vmware\_guest can provision a VM from vCenter/vSphere Content Library in a future release, is there a PR, if yes please share. I am tracking below - https://github.com/ansible/ansible/issues/3…

---

## [Meraki API Integration with Ansible](https://forum.ansible.com/t/meraki-api-integration-with-ansible/29999)

<div class="topic-metadata">

**Author:** [@Hitesh\_Kumar](https://forum.ansible.com/u/Hitesh_Kumar)\
**Replies:** 1\
**Last updated:** [March 27, 2019, 6:11pm UTC](https://forum.ansible.com/t/meraki-api-integration-with-ansible/29999 "2019-03-27T18:11:41Z")

</div>

Hi Everyone I would like to implement Meraki Networks using Ansible. Is there some supportive documents available? I wanted to know what we can in ansible with Meraki Automation. Br- Hitesh

---

## [ansible tail file](https://forum.ansible.com/t/ansible-tail-file/29997)

<div class="topic-metadata">

**Author:** [@jer8jer](https://forum.ansible.com/u/jer8jer)\
**Replies:** 4\
**Last updated:** [March 27, 2019, 5:28pm UTC](https://forum.ansible.com/t/ansible-tail-file/29997 "2019-03-27T17:28:48Z")

</div>

I want to start the nodes serially so I need to wait until I see “Confluence is ready to serve”. The search\_regex looks at the entire file so I added part of the date. This only works when the application has not been re…

---

## [Looking for easy way to filter out windows versions below Server 2016](https://forum.ansible.com/t/looking-for-easy-way-to-filter-out-windows-versions-below-server-2016/29965)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 3\
**Last updated:** [March 27, 2019, 3:25pm UTC](https://forum.ansible.com/t/looking-for-easy-way-to-filter-out-windows-versions-below-server-2016/29965 "2019-03-27T15:25:42Z")

</div>

Is there a easy way to filter out older windows versions below 2016 For windows 7, windows 2008 etc I do other command in my playbook then for server 2016 and 2019 and windows 10. I want to make one when statement inst…

---

## [awx 3 api  credeetntials post](https://forum.ansible.com/t/awx-3-api-credeetntials-post/29995)

<div class="topic-metadata">

**Author:** [@Ignazio\_Cassano](https://forum.ansible.com/u/Ignazio_Cassano)\
**Replies:** 6\
**Last updated:** [March 27, 2019, 3:03pm UTC](https://forum.ansible.com/t/awx-3-api-credeetntials-post/29995 "2019-03-27T15:03:17Z")

</div>

Hello, I am trying to post new ssh credentials with python but it returns the list ov credentials and not creates the new credential: def add\_ssh\_credentials(self, uri, token, name, description, organization, team, tipo…

---

## [module mssql\_db in ansible](https://forum.ansible.com/t/module-mssql-db-in-ansible/29994)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 4\
**Last updated:** [March 27, 2019, 2:35pm UTC](https://forum.ansible.com/t/module-mssql-db-in-ansible/29994 "2019-03-27T14:35:54Z")

</div>

Hi all, I want know if module mssql\_db can only do “Add and remove MSSQL databases from a remote host” ? https://docs.ansible.com/ansible/latest/modules/mssql\_db\_module.html#examples If i want exemple show table with …

---

## [Need help with how to grab public ip and use it for later part in playbook](https://forum.ansible.com/t/need-help-with-how-to-grab-public-ip-and-use-it-for-later-part-in-playbook/29946)

<div class="topic-metadata">

**Author:** [@tinkuchowdary32](https://forum.ansible.com/u/tinkuchowdary32)\
**Replies:** 5\
**Last updated:** [March 27, 2019, 11:26am UTC](https://forum.ansible.com/t/need-help-with-how-to-grab-public-ip-and-use-it-for-later-part-in-playbook/29946 "2019-03-27T11:26:49Z")

</div>

here is the dubug output ec2-facts “ec2”: { “changed”: false, “failed”: false, “instances”: \[ { “ami\_launch\_index”: 0, “architecture”: “x86\_64”, “block\_device\_mappings”: \[ { “device\_name”: “/dev/xvda”, “ebs”: …

---

## [Launch instances from a file](https://forum.ansible.com/t/launch-instances-from-a-file/29989)

<div class="topic-metadata">

**Author:** [@shyam.rpms](https://forum.ansible.com/u/shyam.rpms)\
**Replies:** 3\
**Last updated:** [March 27, 2019, 5:58am UTC](https://forum.ansible.com/t/launch-instances-from-a-file/29989 "2019-03-27T05:58:26Z")

</div>

Hi, I want to launch instances from a file. The file contains the variables like “InstanceName”, HttpPortnumber and Portnumber and I want to pass this file as a Input parameter to the playbook to launch the instances on…

---

## [Ansible modules copy/template errors for Linux 5 hosts using python26 ,python binding libselinux-pyt](https://forum.ansible.com/t/ansible-modules-copy-template-errors-for-linux-5-hosts-using-python26-python-binding-libselinux-pyt/29990)

<div class="topic-metadata">

**Author:** [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Replies:** 2\
**Last updated:** [March 27, 2019, 1:48am UTC](https://forum.ansible.com/t/ansible-modules-copy-template-errors-for-linux-5-hosts-using-python26-python-binding-libselinux-pyt/29990 "2019-03-27T01:48:38Z")

</div>

Hello Ladies & Gentlemen, We have some 50 odd linux 5 hosts, and to manage that we use ansible. Problem :- Ansible modules copy/template errors for Linux 5 hosts using python26 ,python binding libselinux-python needed …

---

## [Files validation](https://forum.ansible.com/t/files-validation/29992)

<div class="topic-metadata">

**Author:** [@Karthik\_Sivakumar](https://forum.ansible.com/u/Karthik_Sivakumar)\
**Replies:** 1\
**Last updated:** [March 26, 2019, 9:18pm UTC](https://forum.ansible.com/t/files-validation/29992 "2019-03-26T21:18:49Z")

</div>

Hi While executing the main.yml file , the ansible controller validate the main.yml , it checks for all files in the path , if the files is present , it runs sucessfully. Eventhough we are creating the file at run time…

---

## [ansible using lambda module](https://forum.ansible.com/t/ansible-using-lambda-module/29979)

<div class="topic-metadata">

**Author:** [@qasim\_sahi](https://forum.ansible.com/u/qasim_sahi)\
**Replies:** 1\
**Last updated:** [March 26, 2019, 7:58pm UTC](https://forum.ansible.com/t/ansible-using-lambda-module/29979 "2019-03-26T19:58:38Z")

</div>

Hi, can someone please help in creating the playbook to stop/start EC2 instance using lambda ?

---

## [aws\_ec2 & constructed not working as per documentation?](https://forum.ansible.com/t/aws-ec2-constructed-not-working-as-per-documentation/29993)

<div class="topic-metadata">

**Author:** [@Derek\_Murawsky](https://forum.ansible.com/u/Derek_Murawsky)\
**Replies:** 1\
**Last updated:** [March 26, 2019, 6:57pm UTC](https://forum.ansible.com/t/aws-ec2-constructed-not-working-as-per-documentation/29993 "2019-03-26T18:57:21Z")

</div>

Hi All, I’m trying to create a dynamic group of hosts that are in the intersection of 3 other groups. From what I am reading, I see that the new aws\_ec2 and constructed inventory plugins should be able to do what I want…

---

## [debug statement not working](https://forum.ansible.com/t/debug-statement-not-working/29962)

<div class="topic-metadata">

**Author:** [@Jerry\_Seven](https://forum.ansible.com/u/Jerry_Seven)\
**Replies:** 6\
**Last updated:** [March 26, 2019, 3:30pm UTC](https://forum.ansible.com/t/debug-statement-not-working/29962 "2019-03-26T15:30:52Z")

</div>

I cant figure out why

---

## [Ansible and SQL Server ?](https://forum.ansible.com/t/ansible-and-sql-server/29991)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [March 26, 2019, 1:44pm UTC](https://forum.ansible.com/t/ansible-and-sql-server/29991 "2019-03-26T13:44:55Z")

</div>

Hi all, I want know if Ansible can execut commands SQL for Microsoft SQL Server ? I think that possible with command powershell but what is syntax ansible ? for exemple, i want create table on my SQL Server (CREATE DA…

---

## [Host related problem](https://forum.ansible.com/t/host-related-problem/29987)

<div class="topic-metadata">

**Author:** [@skdmeng](https://forum.ansible.com/u/skdmeng)\
**Replies:** 3\
**Last updated:** [March 26, 2019, 3:44am UTC](https://forum.ansible.com/t/host-related-problem/29987 "2019-03-26T03:44:25Z")

</div>

Hello, I just starte to use ansible, now there is a question ， when during the batch execution of the playbook, some operations are performed only on one of the hosts. How do you avoid other hosts on a piaybook while pe…

---

## [ec2\_instance vs ec2 - which one to use & and is there a plan?](https://forum.ansible.com/t/ec2-instance-vs-ec2-which-one-to-use-and-is-there-a-plan/29976)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [March 26, 2019, 3:07am UTC](https://forum.ansible.com/t/ec2-instance-vs-ec2-which-one-to-use-and-is-there-a-plan/29976 "2019-03-26T03:07:24Z")

</div>

Hi While trying to debug some issues (notably trying to add several security groups to an EC2 instance), I once again ran into the question about which ansible module to use to for EC2 instances. From the docs it appea…

---

## [Random anisble failures due to tmp files not found](https://forum.ansible.com/t/random-anisble-failures-due-to-tmp-files-not-found/29835)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 3\
**Last updated:** [March 26, 2019, 12:51am UTC](https://forum.ansible.com/t/random-anisble-failures-due-to-tmp-files-not-found/29835 "2019-03-26T00:51:13Z")

</div>

Anyone else seeing random playbook execution failuers like this: \` Source /home/user/.ansible/tmp/ansible-tmp-1551917585.84-139567381415844/source not found"} \` Any idea what is causing them and how to fix it? Thank…

---

## [ansible using lambda module](https://forum.ansible.com/t/ansible-using-lambda-module/29978)

<div class="topic-metadata">

**Author:** [@qasim\_sahi](https://forum.ansible.com/u/qasim_sahi)\
**Replies:** 1\
**Last updated:** [March 25, 2019, 10:59pm UTC](https://forum.ansible.com/t/ansible-using-lambda-module/29978 "2019-03-25T22:59:43Z")

</div>

Hi, can someone please help in creating the playbook to stop/start EC2 instance using lambda ?

---

## [aws\_s3 module fails, says Boto3 is missing when it is not - bug?](https://forum.ansible.com/t/aws-s3-module-fails-says-boto3-is-missing-when-it-is-not-bug/29963)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 9:36pm UTC](https://forum.ansible.com/t/aws-s3-module-fails-says-boto3-is-missing-when-it-is-not-bug/29963 "2019-03-25T21:36:00Z")

</div>

This Play installs python3, pip3, boto3 and botocore, and trys to use aws\_s3 module to download a file: TASK \[run yum update -y using yum module\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible upgrade](https://forum.ansible.com/t/ansible-upgrade/29986)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 1\
**Last updated:** [March 25, 2019, 9:32pm UTC](https://forum.ansible.com/t/ansible-upgrade/29986 "2019-03-25T21:32:22Z")

</div>

Hello, Can some one pls answer following 2 questions.? Trying to upgrade Tower from 3.2.5 to 3.4.2. Installation fails with error Preflight check — require new enough ansible Msg:: “ your current version of Ansible …

---

## [Display specific lines from cisco output](https://forum.ansible.com/t/display-specific-lines-from-cisco-output/29972)

<div class="topic-metadata">

**Author:** [@Raheel\_Khilji](https://forum.ansible.com/u/Raheel_Khilji)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 9:03pm UTC](https://forum.ansible.com/t/display-specific-lines-from-cisco-output/29972 "2019-03-25T21:03:02Z")

</div>

I have a situation my script is hosts: Branch gather\_facts: false connection: local tasks: name: Facts ios\_command: commands: show inter gi0/0 register: output debug: msg: “{{ output.stdout\_lines }}” T…

---

## [DEFAULT\_REMOTE\_TMP not working](https://forum.ansible.com/t/default-remote-tmp-not-working/29952)

<div class="topic-metadata">

**Author:** [@syed.qasim.sarfraz](https://forum.ansible.com/u/syed.qasim.sarfraz)\
**Replies:** 1\
**Last updated:** [March 25, 2019, 8:10pm UTC](https://forum.ansible.com/t/default-remote-tmp-not-working/29952 "2019-03-25T20:10:51Z")

</div>

Hi, I want to fetch the custom controller remote directory and create it if required, I used the remote\_tmp in my ansible.cfg to set a custom value. Previously I was using DEFAULT\_REMOTE\_TMP to get the custom value but…

---

## [Changing the network and ip of th virtual machine after creation using vmware\_guest module](https://forum.ansible.com/t/changing-the-network-and-ip-of-th-virtual-machine-after-creation-using-vmware-guest-module/29982)

<div class="topic-metadata">

**Author:** [@Sahar](https://forum.ansible.com/u/Sahar)\
**Replies:** 0\
**Last updated:** [March 25, 2019, 7:20pm UTC](https://forum.ansible.com/t/changing-the-network-and-ip-of-th-virtual-machine-after-creation-using-vmware-guest-module/29982 "2019-03-25T19:20:23Z")

</div>

Hi, I’m trying to change the network and ip/netmask of a vm after creation in vmware using the below playbook: vmware\_guest: hostname: ‘{{ }}’ username: ‘{{ }}’ password: ‘{{ }}’ validate\_certs: no datacenter: ‘{…

---

## [Certificate invalid error while accessing the Ansible Tower URL from a Windows Server - internet explorer](https://forum.ansible.com/t/certificate-invalid-error-while-accessing-the-ansible-tower-url-from-a-windows-server-internet-explorer/29977)

<div class="topic-metadata">

**Author:** [@Muthu\_R\_D](https://forum.ansible.com/u/Muthu_R_D)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 6:38pm UTC](https://forum.ansible.com/t/certificate-invalid-error-while-accessing-the-ansible-tower-url-from-a-windows-server-internet-explorer/29977 "2019-03-25T18:38:12Z")

</div>

Certificate invalid error while accessing the Ansible Tower URL from a Windows Server - internet explorer. Ansible Tower own support edition installed on RHEL 7.3. Trying to access the Tower Server URL from a windows m…

---

## [K8s module with Custom Resource Definition always changed](https://forum.ansible.com/t/k8s-module-with-custom-resource-definition-always-changed/29969)

<div class="topic-metadata">

**Author:** [@Thms\_Hmm](https://forum.ansible.com/u/Thms_Hmm)\
**Replies:** 2\
**Last updated:** [March 25, 2019, 6:09pm UTC](https://forum.ansible.com/t/k8s-module-with-custom-resource-definition-always-changed/29969 "2019-03-25T18:09:20Z")

</div>

Hi, when I use the k8s module to patch a CRD object the task is always marked as “changed: true” even if there are no changes to the object. ok: \[localhost\] =\> { "msg": { "changed": true, "diff": \[ \[ "change", "metadat…

---

## [String concatenation whith stdout under with\_items](https://forum.ansible.com/t/string-concatenation-whith-stdout-under-with-items/29981)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 0\
**Last updated:** [March 25, 2019, 6:06pm UTC](https://forum.ansible.com/t/string-concatenation-whith-stdout-under-with-items/29981 "2019-03-25T18:06:19Z")

</div>

Hi All, Request your help with string concatenation whith stdout under with\_items. name: \_List Name shell: (sysls -l) register: sys\_list ignore\_errors: true name: check System Type shell: (systype -t {{item.s}…

---

## [loop using only the top items in a data structure.](https://forum.ansible.com/t/loop-using-only-the-top-items-in-a-data-structure/29975)

<div class="topic-metadata">

**Author:** [@Steve\_Button](https://forum.ansible.com/u/Steve_Button)\
**Replies:** 1\
**Last updated:** [March 25, 2019, 5:58pm UTC](https://forum.ansible.com/t/loop-using-only-the-top-items-in-a-data-structure/29975 "2019-03-25T17:58:13Z")

</div>

Hi, Bit of a confusing one, and perhaps I’m barking up the wrong tree (which is why I’ve turned here after some research) . I’m trying to create a bunch of kubernetes namespaces using a template, have got that working …

---

## [Root prefix for AWX](https://forum.ansible.com/t/root-prefix-for-awx/29973)

<div class="topic-metadata">

**Author:** [@ahmed](https://forum.ansible.com/u/ahmed)\
**Replies:** 2\
**Last updated:** [March 25, 2019, 1:49pm UTC](https://forum.ansible.com/t/root-prefix-for-awx/29973 "2019-03-25T13:49:23Z")

</div>

Hi, I’m wondering if it is possible to configure a root prefix for all requests received by AWX. Example : Instead of https://@IP/#/home, AWX serves https://@IP/app/#/home Thank you.

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

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