# Latest

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

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

**Page:** 494

---

## [synchronize between two remote servers](https://forum.ansible.com/t/synchronize-between-two-remote-servers/29374)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 5\
**Last updated:** [January 7, 2019, 8:02pm UTC](https://forum.ansible.com/t/synchronize-between-two-remote-servers/29374 "2019-01-07T20:02:15Z")

</div>

I have found other docs on this, but can’t seem to “fix” my issue with what I am finding. Consider the following playbook: \` hosts: mybackup gather\_facts: false vars: one\_week: “/devbackup/nonprod\_images/one\_week\_o…

---

## [Newbie - how to associate a credential with a inventory host?](https://forum.ansible.com/t/newbie-how-to-associate-a-credential-with-a-inventory-host/29253)

<div class="topic-metadata">

**Author:** [@kurrent93](https://forum.ansible.com/u/kurrent93)\
**Replies:** 9\
**Last updated:** [January 7, 2019, 8:01pm UTC](https://forum.ansible.com/t/newbie-how-to-associate-a-credential-with-a-inventory-host/29253 "2019-01-07T20:01:28Z")

</div>

Hello I’m new to Awx, so please excuse my lack of knowledge. I have an inventory, which has one remote host. To access this remote host I use a ssh username and password. I have this added to credentials. My question…

---

## ["become" not working on centos 7 hosts](https://forum.ansible.com/t/become-not-working-on-centos-7-hosts/29352)

<div class="topic-metadata">

**Author:** [@John.1209](https://forum.ansible.com/u/John.1209)\
**Replies:** 4\
**Last updated:** [January 7, 2019, 4:45pm UTC](https://forum.ansible.com/t/become-not-working-on-centos-7-hosts/29352 "2019-01-07T16:45:38Z")

</div>

I’ve got ansible setup in a centos 6 & 7 environment. The Centos 6 hosts all work fine. The centos 7 hosts work, but I cannot use “become” with centos 7. It works with Centos 6, and non-root commands work with centos 7. …

---

## [unable to send a file to target machine using git file](https://forum.ansible.com/t/unable-to-send-a-file-to-target-machine-using-git-file/29380)

<div class="topic-metadata">

**Author:** [@amarnath\_Reddy](https://forum.ansible.com/u/amarnath_Reddy)\
**Replies:** 1\
**Last updated:** [January 7, 2019, 3:54pm UTC](https://forum.ansible.com/t/unable-to-send-a-file-to-target-machine-using-git-file/29380 "2019-01-07T15:54:06Z")

</div>

While running below command in ansible i ma getting an error message. please help me on this $ansible stagserver -m git -a "repo= https://github.com/ansible/ansible-examples.git dest=/tmp/testfolder " ERROR! this task…

---

## [Question: Job Template - "Job Slicing" configuration](https://forum.ansible.com/t/question-job-template-job-slicing-configuration/29365)

<div class="topic-metadata">

**Author:** [@Mauro\_Aragunde](https://forum.ansible.com/u/Mauro_Aragunde)\
**Replies:** 1\
**Last updated:** [January 7, 2019, 2:31pm UTC](https://forum.ansible.com/t/question-job-template-job-slicing-configuration/29365 "2019-01-07T14:31:25Z")

</div>

Hello, I have some doubts about the Job Slicing configuration inside the Job templates and I couldn’t find any specific documentation. I have some questions yet it would be great to also hear some examples and comments…

---

## [Problems with vendor.js creating inventory](https://forum.ansible.com/t/problems-with-vendor-js-creating-inventory/29376)

<div class="topic-metadata">

**Author:** [@mj11](https://forum.ansible.com/u/mj11)\
**Replies:** 1\
**Last updated:** [January 7, 2019, 2:27pm UTC](https://forum.ansible.com/t/problems-with-vendor-js-creating-inventory/29376 "2019-01-07T14:27:42Z")

</div>

Hi… I’m doing the RPMs (unofficial) for AWX… The last couple of build, I have gotten a weird error, when trying to do a new inventory… https://pastebin.com/1b7CfPCn … can anyone give me hint? /Martin

---

## [aws\_ec2 inventory plugin brings up empty list](https://forum.ansible.com/t/aws-ec2-inventory-plugin-brings-up-empty-list/29378)

<div class="topic-metadata">

**Author:** [@marcelo.melo](https://forum.ansible.com/u/marcelo.melo)\
**Replies:** 2\
**Last updated:** [January 7, 2019, 2:26pm UTC](https://forum.ansible.com/t/aws-ec2-inventory-plugin-brings-up-empty-list/29378 "2019-01-07T14:26:13Z")

</div>

Hi, I’m trying to use the aws\_ec2 inventory plugin but it’s always showing an empty list with no errors: \` ansible-inventory -vvv -i ./inventory/aws\_ec2.yml --list ansible-inventory 2.7.5 config file = /ansible/ansibl…

---

## [Find version with json\_query](https://forum.ansible.com/t/find-version-with-json-query/29381)

<div class="topic-metadata">

**Author:** [@mcoussi](https://forum.ansible.com/u/mcoussi)\
**Replies:** 2\
**Last updated:** [January 6, 2019, 9:40am UTC](https://forum.ansible.com/t/find-version-with-json-query/29381 "2019-01-06T09:40:46Z")

</div>

Hi, I have to deploy an application wich compose of many files to install. I created a dictionnary whith version and file who need to be install. Here is the dictionnary \` dict\_app: version: RC1 sql bin version:…

---

## [ios\_command multiple commands](https://forum.ansible.com/t/ios-command-multiple-commands/29375)

<div class="topic-metadata">

**Author:** [@Eduardo\_Nunes\_Pereir](https://forum.ansible.com/u/Eduardo_Nunes_Pereir)\
**Replies:** 2\
**Last updated:** [January 6, 2019, 2:34am UTC](https://forum.ansible.com/t/ios-command-multiple-commands/29375 "2019-01-06T02:34:21Z")

</div>

name: Network Getting Started First Playbook connection: network\_cli gather\_facts: false hosts: lab tasks: name: run multiple commands on remote nodes ios\_command: commands: show run register: output na…

---

## [adding time with ISO8601 format](https://forum.ansible.com/t/adding-time-with-iso8601-format/29379)

<div class="topic-metadata">

**Author:** [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 11:58pm UTC](https://forum.ansible.com/t/adding-time-with-iso8601-format/29379 "2019-01-05T23:58:42Z")

</div>

I’m trying to send a ISO8601 time format string to the Prometheus alert manager through the uri moule to tell it to silence an alarm for the next hour. I have worked out that the current time is available (ansible\_date\_…

---

## [with\_sequence run a line only once](https://forum.ansible.com/t/with-sequence-run-a-line-only-once/29377)

<div class="topic-metadata">

**Author:** [@Piyush\_Bansal](https://forum.ansible.com/u/Piyush_Bansal)\
**Replies:** 6\
**Last updated:** [January 5, 2019, 6:33pm UTC](https://forum.ansible.com/t/with-sequence-run-a-line-only-once/29377 "2019-01-05T18:33:22Z")

</div>

Hello, I am trying to loop over a task using “with\_sequence” and I need to make it work such that it run one specific line only once but rest of the lines it executes as normal times. It not succeeding or I am not able…

---

## [Dynamic Inventory using Active Directory / LDAP](https://forum.ansible.com/t/dynamic-inventory-using-active-directory-ldap/26714)

<div class="topic-metadata">

**Author:** [@aaron](https://forum.ansible.com/u/aaron)\
**Replies:** 6\
**Last updated:** [January 5, 2019, 9:23am UTC](https://forum.ansible.com/t/dynamic-inventory-using-active-directory-ldap/26714 "2019-01-05T09:23:28Z")

</div>

Does anyone have code that can pull a dynamic inventory from list of AD OUs? Want to use the windows\_update module to patch our servers only in specific OUs. Maybe I missed it, but I don’t see Windows Active Directory i…

---

## [rolling tasks for multiple clusters?](https://forum.ansible.com/t/rolling-tasks-for-multiple-clusters/29362)

<div class="topic-metadata">

**Author:** [@Doug\_OLeary](https://forum.ansible.com/u/Doug_OLeary)\
**Replies:** 3\
**Last updated:** [January 5, 2019, 9:21am UTC](https://forum.ansible.com/t/rolling-tasks-for-multiple-clusters/29362 "2019-01-05T09:21:07Z")

</div>

Hi; I’ve read the docs on rolling updates and that sounds very close to what I’m looking for; however, I need to execute rolling reboots for multiple clusters preferably simultaneously. More specifically, after patchin…

---

## [Dynamically adding instance to cluster in k8s](https://forum.ansible.com/t/dynamically-adding-instance-to-cluster-in-k8s/26840)

<div class="topic-metadata">

**Author:** [@Steven\_Bateman](https://forum.ansible.com/u/Steven_Bateman)\
**Replies:** 5\
**Last updated:** [January 5, 2019, 3:34am UTC](https://forum.ansible.com/t/dynamically-adding-instance-to-cluster-in-k8s/26840 "2019-01-05T03:34:47Z")

</div>

I don’t see any documentation yet with respect to how to dynamically add an instance to a k8s cluster, even though it’s supported in 1.0.4. Adding a replica seems to break it, so that’s obviously not the right solution.…

---

## [finding first host meeting a condition](https://forum.ansible.com/t/finding-first-host-meeting-a-condition/29370)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 1\
**Last updated:** [January 4, 2019, 8:17pm UTC](https://forum.ansible.com/t/finding-first-host-meeting-a-condition/29370 "2019-01-04T20:17:40Z")

</div>

Hey all- I need to find the first host in the inventory running a particular process. I can query the hosts to look for the process using a shell pipeline and register the output in a variable (call it ps\_output). But I…

---

## [Consolidated configuration file handling?](https://forum.ansible.com/t/consolidated-configuration-file-handling/29373)

<div class="topic-metadata">

**Author:** [@Robert\_Rapplean](https://forum.ansible.com/u/Robert_Rapplean)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 5:28pm UTC](https://forum.ansible.com/t/consolidated-configuration-file-handling/29373 "2019-01-04T17:28:53Z")

</div>

I’ve been digging through the documentation and have run into a wall in terms of Ansible’s ability to manage the contents of configuration files. This might have something to do with search engine results returning artic…

---

## [CVE-2018-16879 Tower: security channel is not set properly for AMPQ connection](https://forum.ansible.com/t/cve-2018-16879-tower-security-channel-is-not-set-properly-for-ampq-connection/29372)

<div class="topic-metadata">

**Author:** [@xfy1dvr](https://forum.ansible.com/u/xfy1dvr)\
**Replies:** 1\
**Last updated:** [January 4, 2019, 4:35pm UTC](https://forum.ansible.com/t/cve-2018-16879-tower-security-channel-is-not-set-properly-for-ampq-connection/29372 "2019-01-04T16:35:04Z")

</div>

Hi All, Are we impacted by this CVE as of AWX 2.1.2 ? It seem like this was resolved with the pull (https://github.com/ansible/awx/pull/1372) in Feb 2018. Would appreciate if someone can confirm.

---

## [Ansible Lookup Issue](https://forum.ansible.com/t/ansible-lookup-issue/29371)

<div class="topic-metadata">

**Author:** [@Freddie\_Eisa](https://forum.ansible.com/u/Freddie_Eisa)\
**Replies:** 2\
**Last updated:** [January 4, 2019, 4:31pm UTC](https://forum.ansible.com/t/ansible-lookup-issue/29371 "2019-01-04T16:31:21Z")

</div>

Hello, Im running the following set\_fact: host: “{{ lookup(‘nios’, ‘record:host’, filter={‘name’: ‘{{ ansible\_facts.fqdn }}’ }, provider=nios\_provider) }}” Im trying to pass the ansible\_facts.fqdn as the name. If i u…

---

## [Rebooting a Cisco ASA device](https://forum.ansible.com/t/rebooting-a-cisco-asa-device/29364)

<div class="topic-metadata">

**Author:** [@Sahar](https://forum.ansible.com/u/Sahar)\
**Replies:** 3\
**Last updated:** [January 4, 2019, 3:41pm UTC](https://forum.ansible.com/t/rebooting-a-cisco-asa-device/29364 "2019-01-04T15:41:28Z")

</div>

I’m trying to reboot a Cisco ASA Firewall, and run the “show version” command after it. It seems that rebooting works, but when the playbook gets to the show version command, it will get failed by showing the error down …

---

## [Pyinstaller doesn't import ansible library (Python API v2 of Ansible)](https://forum.ansible.com/t/pyinstaller-doesnt-import-ansible-library-python-api-v2-of-ansible/29369)

<div class="topic-metadata">

**Author:** [@Kawther\_Arfaoui](https://forum.ansible.com/u/Kawther_Arfaoui)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 2:17pm UTC](https://forum.ansible.com/t/pyinstaller-doesnt-import-ansible-library-python-api-v2-of-ansible/29369 "2019-01-04T14:17:31Z")

</div>

Hello all, I’m trying to execute a binary file generated by Pyinstaller , but I have got this error: Traceback (most recent call last): File “kubernetes\_deployer/cm2\_deploy\_ansible.py”, line 32, in File “/tmp/pip-in…

---

## [AWX on Openshift Origin with Freeipa / Certificate problem](https://forum.ansible.com/t/awx-on-openshift-origin-with-freeipa-certificate-problem/29367)

<div class="topic-metadata">

**Author:** [@Wilfried\_Anuzet](https://forum.ansible.com/u/Wilfried_Anuzet)\
**Replies:** 2\
**Last updated:** [January 4, 2019, 1:42pm UTC](https://forum.ansible.com/t/awx-on-openshift-origin-with-freeipa-certificate-problem/29367 "2019-01-04T13:42:19Z")

</div>

Hello, I installed the awx project on an okd instance using the official playbook. I’ve a problem to set the LDAPS authentication against our freeipa implementation. The OKD node is integrated with Freeipa using the i…

---

## [Pyinstaller doesn't import ansible library (Python API v2 of Ansible)](https://forum.ansible.com/t/pyinstaller-doesnt-import-ansible-library-python-api-v2-of-ansible/29368)

<div class="topic-metadata">

**Author:** [@Kawther\_Arfaoui](https://forum.ansible.com/u/Kawther_Arfaoui)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 1:35pm UTC](https://forum.ansible.com/t/pyinstaller-doesnt-import-ansible-library-python-api-v2-of-ansible/29368 "2019-01-04T13:35:43Z")

</div>

Hello all, I’m trying to execute a binary file generated by Pyinstaller , but I have got this error: Traceback (most recent call last): File “kubernetes\_deployer/cm2\_deploy\_ansible.py”, line 32, in File “/tmp/pip-in…

---

## [ansible role/playbook  cloudwatch alarm](https://forum.ansible.com/t/ansible-role-playbook-cloudwatch-alarm/29366)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 2:31am UTC](https://forum.ansible.com/t/ansible-role-playbook-cloudwatch-alarm/29366 "2019-01-04T02:31:46Z")

</div>

I am looking for a role or play book that one could run against AWS EC2 instances and set a cloud watch alarm for “cpucreditbalance”. frank

---

## [Inventory scripts: How to add debug info when run via Ansible?](https://forum.ansible.com/t/inventory-scripts-how-to-add-debug-info-when-run-via-ansible/29334)

<div class="topic-metadata">

**Author:** [@Jimmy\_Htor](https://forum.ansible.com/u/Jimmy_Htor)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 9:41pm UTC](https://forum.ansible.com/t/inventory-scripts-how-to-add-debug-info-when-run-via-ansible/29334 "2019-01-03T21:41:47Z")

</div>

Hey, The way I see it you either output to STDOUT, which would make debug output part of the inventory data, thus corrupt it. Or you output to STDERR and Ansible will treat is as actual errors (and show it using red col…

---

## [win\_pagefile is not returning configured pagefiles](https://forum.ansible.com/t/win-pagefile-is-not-returning-configured-pagefiles/29363)

<div class="topic-metadata">

**Author:** [@Dave\_Olker](https://forum.ansible.com/u/Dave_Olker)\
**Replies:** 0\
**Last updated:** [January 3, 2019, 7:29pm UTC](https://forum.ansible.com/t/win-pagefile-is-not-returning-configured-pagefiles/29363 "2019-01-03T19:29:40Z")

</div>

My Windows 2016 server has the following pagefile configuration: C:\\Windows\\system32\>wmic pagefile list /format:list AllocatedBaseSize=9728 CurrentUsage=0 Description=D:\\pagefile.sys InstallDate=20190103102344.59885…

---

## [Security concerns on user enumeration](https://forum.ansible.com/t/security-concerns-on-user-enumeration/29359)

<div class="topic-metadata">

**Author:** [@zan](https://forum.ansible.com/u/zan)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 5:57pm UTC](https://forum.ansible.com/t/security-concerns-on-user-enumeration/29359 "2019-01-03T17:57:02Z")

</div>

Right now the system allows a ‘Normal User’ of AWX to see all the other users including administrators of the system and their information. The user’s information or Id may be leveraged in attacks such as password sprayi…

---

## [How to Random Roles](https://forum.ansible.com/t/how-to-random-roles/29358)

<div class="topic-metadata">

**Author:** [@Francis\_Santos](https://forum.ansible.com/u/Francis_Santos)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 5:41pm UTC](https://forum.ansible.com/t/how-to-random-roles/29358 "2019-01-03T17:41:53Z")

</div>

I gotta random both the hosts and the roles. I successfully randomed the hosts, but I not getting the roles to random. Here is what I got

---

## [How to random roles](https://forum.ansible.com/t/how-to-random-roles/29351)

<div class="topic-metadata">

**Author:** [@Francis\_Santos](https://forum.ansible.com/u/Francis_Santos)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 4:55pm UTC](https://forum.ansible.com/t/how-to-random-roles/29351 "2019-01-03T16:55:26Z")

</div>

I gotta random both the hosts and the roles. I successfully randomed the hosts, but I not getting the roles to random. Here is what I got

---

## [Ansible root permission](https://forum.ansible.com/t/ansible-root-permission/29192)

<div class="topic-metadata">

**Author:** [@Subrat\_Nayak](https://forum.ansible.com/u/Subrat_Nayak)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 3:11pm UTC](https://forum.ansible.com/t/ansible-root-permission/29192 "2019-01-03T15:11:07Z")

</div>

Hi All - We are doing set up of Ansible in our cloud environment. We wanted to create an user “ansibleadmin” and use that user for all the installation of ansible and middleware provisioning. Could you please help me if …

---

## [Philosophical Question: To contribute or not to contribute](https://forum.ansible.com/t/philosophical-question-to-contribute-or-not-to-contribute/29324)

<div class="topic-metadata">

**Author:** [@Randall\_Becker](https://forum.ansible.com/u/Randall_Becker)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 3:07pm UTC](https://forum.ansible.com/t/philosophical-question-to-contribute-or-not-to-contribute/29324 "2019-01-03T15:07:23Z")

</div>

Hi All, To contribute or not to contribute? I have to (no choice) integrate an SCM front-end product into Ansible that performs some very platform-specific installation and activation tasks that do not have general appl…

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

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