# Ansible Project

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

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

**Page:** 111

---

## [Ansible IOS gather facts](https://forum.ansible.com/t/ansible-ios-gather-facts/33575)

<div class="topic-metadata">

**Author:** [@Zaldy\_B](https://forum.ansible.com/u/Zaldy_B)\
**Replies:** 0\
**Last updated:** [August 10, 2020, 9:47am UTC](https://forum.ansible.com/t/ansible-ios-gather-facts/33575 "2020-08-10T09:47:42Z")

</div>

HI guys / experts, Have you tried gathering ios facts and when it is satisfied, it will gather another facts using the output of the first facts? Dont know if this is possible. Thank you.

---

## [ansible foreman callback plugin](https://forum.ansible.com/t/ansible-foreman-callback-plugin/33572)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 8:41am UTC](https://forum.ansible.com/t/ansible-foreman-callback-plugin/33572 "2020-08-10T08:41:35Z")

</div>

Hi I have setup the plugin for forman https://raw.githubusercontent.com/theforeman/foreman\_ansible/master/extras/foreman\_callback.py Also install below on ansible control node yum install -y python-pip pip install r…

---

## [FAILED! =\> {"censored": "the output has been hidden due to the fact that 'no\_log: true' was specified for this result", "changed": false}](https://forum.ansible.com/t/failed-censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result-changed-false/33573)

<div class="topic-metadata">

**Author:** [@anilkumar\_panditi](https://forum.ansible.com/u/anilkumar_panditi)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 7:47am UTC](https://forum.ansible.com/t/failed-censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result-changed-false/33573 "2020-08-10T07:47:46Z")

</div>

Hello, My playbook has following github module , which is failing with error FAILED! =\> {“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”, “changed”: false} code…

---

## [Is there a strategy that runs on X hosts as fast as possible](https://forum.ansible.com/t/is-there-a-strategy-that-runs-on-x-hosts-as-fast-as-possible/33570)

<div class="topic-metadata">

**Author:** [@Igor\_Gnatenko](https://forum.ansible.com/u/Igor_Gnatenko)\
**Replies:** 2\
**Last updated:** [August 9, 2020, 5:48pm UTC](https://forum.ansible.com/t/is-there-a-strategy-that-runs-on-x-hosts-as-fast-as-possible/33570 "2020-08-09T17:48:31Z")

</div>

Basically I am looking for something like parallel -jX linux command. At any time it runs up to X threads with a command. I noticed that serial: 2 with any strategy will wait for play to run on these 2 hosts and only af…

---

## [acme\_certificate account\_key\* support for sectigo CA](https://forum.ansible.com/t/acme-certificate-account-key-support-for-sectigo-ca/33420)

<div class="topic-metadata">

**Author:** [@Victor\_Olivo](https://forum.ansible.com/u/Victor_Olivo)\
**Replies:** 2\
**Last updated:** [August 9, 2020, 2:54pm UTC](https://forum.ansible.com/t/acme-certificate-account-key-support-for-sectigo-ca/33420 "2020-08-09T14:54:13Z")

</div>

Hello, sectigo is my SSL provider and they support the ACME protocol and I’d like to leverage the acme\_certificate module; however, Sectigo seems to use and HMAC key for authentication rather than RSA keys. is it possib…

---

## [Privilege escalation error when running a sudo command on AWS Ubuntu machine](https://forum.ansible.com/t/privilege-escalation-error-when-running-a-sudo-command-on-aws-ubuntu-machine/33568)

<div class="topic-metadata">

**Author:** [@lovesh\_harchandani](https://forum.ansible.com/u/lovesh_harchandani)\
**Replies:** 2\
**Last updated:** [August 8, 2020, 6:50am UTC](https://forum.ansible.com/t/privilege-escalation-error-when-running-a-sudo-command-on-aws-ubuntu-machine/33568 "2020-08-08T06:50:06Z")

</div>

Hi. I am trying to install a package on an AWS Ubuntu machine using ansible and getting error FAILED! =\> {“msg”: "Timeout (42s) waiting for privilege escalation prompt: "} I have tried with high timeouts as suggested …

---

## [Ansible- libselinux-python Error](https://forum.ansible.com/t/ansible-libselinux-python-error/33569)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 2\
**Last updated:** [August 8, 2020, 1:34am UTC](https://forum.ansible.com/t/ansible-libselinux-python-error/33569 "2020-08-08T01:34:47Z")

</div>

Hi Team, i am getting bellow error: i can see libselinux-python installed but i am getting below error not sure why \[root@s605141sl7vl402 ansible\]# rpm -qa | grep libselinux-python libselinux-python-2.5-15.el7.x86\_64 …

---

## [Ansible on Azure Pipelines](https://forum.ansible.com/t/ansible-on-azure-pipelines/33567)

<div class="topic-metadata">

**Author:** [@Swapna\_Priya](https://forum.ansible.com/u/Swapna_Priya)\
**Replies:** 3\
**Last updated:** [August 7, 2020, 1:53pm UTC](https://forum.ansible.com/t/ansible-on-azure-pipelines/33567 "2020-08-07T13:53:32Z")

</div>

Has anyone used Ansible in Azure pipelines? I am using a simple ping command to connect to a VM. It throws an error that it is unreachable.

---

## [Checkpoint Module - cp\_mgmt\_run\_script - Smart Console task not completing](https://forum.ansible.com/t/checkpoint-module-cp-mgmt-run-script-smart-console-task-not-completing/33566)

<div class="topic-metadata">

**Author:** [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Replies:** 0\
**Last updated:** [August 7, 2020, 3:02am UTC](https://forum.ansible.com/t/checkpoint-module-cp-mgmt-run-script-smart-console-task-not-completing/33566 "2020-08-07T03:02:21Z")

</div>

Hi, I’m running a bash script using the cp\_mgmt\_run\_script Ansible module for checkpoint against one remote gateway. The script runs successfully on the gateway. Within Smart Console however, the task populates in the…

---

## [Question: What format should the dynamic input variables be for ansible?](https://forum.ansible.com/t/question-what-format-should-the-dynamic-input-variables-be-for-ansible/33560)

<div class="topic-metadata">

**Author:** [@DevOps\_Automation](https://forum.ansible.com/u/DevOps_Automation)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 5:00pm UTC](https://forum.ansible.com/t/question-what-format-should-the-dynamic-input-variables-be-for-ansible/33560 "2020-08-06T17:00:17Z")

</div>

Hi All, Thanks in advance, We had a process i.e when ever a server is ready to use, before providing it to customer it has to be pass through a validation. For this validation a form/ticket will be created and they wil…

---

## [The powershell shell family is incompatible with the sudo become plugin](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/33551)

<div class="topic-metadata">

**Author:** [@Wafi\_sh](https://forum.ansible.com/u/Wafi_sh)\
**Replies:** 5\
**Last updated:** [August 6, 2020, 4:46pm UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/33551 "2020-08-06T16:46:44Z")

</div>

Using AWX 13.0.0 (Ansible 2.9.10) The playbook:

---

## [Can a AWX job template can be called from Ansible task ?](https://forum.ansible.com/t/can-a-awx-job-template-can-be-called-from-ansible-task/33558)

<div class="topic-metadata">

**Author:** [@Ramesh\_K.G](https://forum.ansible.com/u/Ramesh_K.G)\
**Replies:** 2\
**Last updated:** [August 6, 2020, 12:43pm UTC](https://forum.ansible.com/t/can-a-awx-job-template-can-be-called-from-ansible-task/33558 "2020-08-06T12:43:05Z")

</div>

Hi All, Is there any examples for an AWX template job calling from Ansible task ? the reason i wanted, is just to discover the possibility so i could invoke a job templates from the ansible-playbook. -Thanks,

---

## [ios\_l2\_interfaces - attempting to trunk port fails](https://forum.ansible.com/t/ios-l2-interfaces-attempting-to-trunk-port-fails/33543)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 3\
**Last updated:** [August 6, 2020, 5:13am UTC](https://forum.ansible.com/t/ios-l2-interfaces-attempting-to-trunk-port-fails/33543 "2020-08-06T05:13:42Z")

</div>

I am trying to finish configuring a Cisco switch, I’ve created VLANs, Port Channels, populated VLANs Final task is to trunk 3 ports the docs seem to say allowd\_vlan: when in fact it is allowed\_vlans: then I followed th…

---

## [Unable to update debian header and build essential using Ansible playbook](https://forum.ansible.com/t/unable-to-update-debian-header-and-build-essential-using-ansible-playbook/33554)

<div class="topic-metadata">

**Author:** [@abhishek\_verma](https://forum.ansible.com/u/abhishek_verma)\
**Replies:** 1\
**Last updated:** [August 5, 2020, 8:41pm UTC](https://forum.ansible.com/t/unable-to-update-debian-header-and-build-essential-using-ansible-playbook/33554 "2020-08-05T20:41:03Z")

</div>

\` hosts: DEV1 become: yes tasks: name: “Update linux headers” apt: name: “linux-headers-{{ ansible\_kernel }}” \` After running this the ansible hangs after fact gathering. Please find the output below: \` ansible…

---

## [vmware\_host\_vmnic\_facts -- can i get the vmnic firmware and driver version](https://forum.ansible.com/t/vmware-host-vmnic-facts-can-i-get-the-vmnic-firmware-and-driver-version/33552)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 1\
**Last updated:** [August 5, 2020, 4:42pm UTC](https://forum.ansible.com/t/vmware-host-vmnic-facts-can-i-get-the-vmnic-firmware-and-driver-version/33552 "2020-08-05T16:42:32Z")

</div>

Hi team, can i get VMNIC firmware and driver version using this module ?, i am getting useful information but driver version and firmware version is missing , is there anyway we can get the info firmware and driver vers…

---

## [Updating Windows 10](https://forum.ansible.com/t/updating-windows-10/33486)

<div class="topic-metadata">

**Author:** [@Alan\_Woods](https://forum.ansible.com/u/Alan_Woods)\
**Replies:** 16\
**Last updated:** [August 4, 2020, 4:40pm UTC](https://forum.ansible.com/t/updating-windows-10/33486 "2020-08-04T16:40:48Z")

</div>

Hello, I am trying to install windows updates with Ansible and for some reason it is not working. This is what I have so far. My playbook: This is the results after the play runs: Then when I go to the windows 1…

---

## [pinging both Windows and Linux hosts](https://forum.ansible.com/t/pinging-both-windows-and-linux-hosts/33534)

<div class="topic-metadata">

**Author:** [@Ed\_Wong](https://forum.ansible.com/u/Ed_Wong)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 4:25pm UTC](https://forum.ansible.com/t/pinging-both-windows-and-linux-hosts/33534 "2020-08-04T16:25:38Z")

</div>

I have a mixed platform environment and have set up two Windows system (for testing out Ansible) along with the usual linux boxes. I don’t know if I’m forgetting or misremembering; but I thought I had “ansible all -m pi…

---

## [\[question\] postgresql\_privs\_module: REVOKE CREATE ON schema public FROM \[user\]](https://forum.ansible.com/t/question-postgresql-privs-module-revoke-create-on-schema-public-from-user/33550)

<div class="topic-metadata">

**Author:** [@Bob2](https://forum.ansible.com/u/Bob2)\
**Replies:** 0\
**Last updated:** [August 4, 2020, 3:36pm UTC](https://forum.ansible.com/t/question-postgresql-privs-module-revoke-create-on-schema-public-from-user/33550 "2020-08-04T15:36:58Z")

</div>

Hi folks, How can I write the following simple PostgreSQL outcome? REVOKE CREATE ON schema public FROM \[user\] I’m using: Module: https://docs.ansible.com/ansible/latest/modules/postgresql\_privs\_module.html Ansib…

---

## [Winrm Transport Error while used in Retries](https://forum.ansible.com/t/winrm-transport-error-while-used-in-retries/33544)

<div class="topic-metadata">

**Author:** [@monohara\_behera](https://forum.ansible.com/u/monohara_behera)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 1:38pm UTC](https://forum.ansible.com/t/winrm-transport-error-while-used-in-retries/33544 "2020-08-04T13:38:06Z")

</div>

Hi Team, I am using win shell module to execute some command in windows machine and it executes properly while its used without any retries and delay. There is one set of code which I wanted to run at least 3 times on …

---

## [OracleJava installation](https://forum.ansible.com/t/oraclejava-installation/33548)

<div class="topic-metadata">

**Author:** [@Manish\_Chawda](https://forum.ansible.com/u/Manish_Chawda)\
**Replies:** 0\
**Last updated:** [August 4, 2020, 1:14pm UTC](https://forum.ansible.com/t/oraclejava-installation/33548 "2020-08-04T13:14:57Z")

</div>

Hi, I have created YAML file as under to install OracleJava, but somehow not working. Kindly advise.

---

## [rysnc ansible](https://forum.ansible.com/t/rysnc-ansible/33545)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 11:38am UTC](https://forum.ansible.com/t/rysnc-ansible/33545 "2020-08-04T11:38:00Z")

</div>

I have synchronize playbook but show error message this my playbook hosts: localhost connection: local gather\_facts: no tasks: name: push local folder to remote host synchronize: src: /tmp/client/ dest: /tmp/t…

---

## [Unable to install python on windows node using ansible](https://forum.ansible.com/t/unable-to-install-python-on-windows-node-using-ansible/33546)

<div class="topic-metadata">

**Author:** [@surabhy\_mr](https://forum.ansible.com/u/surabhy_mr)\
**Replies:** 0\
**Last updated:** [August 4, 2020, 9:58am UTC](https://forum.ansible.com/t/unable-to-install-python-on-windows-node-using-ansible/33546 "2020-08-04T09:58:16Z")

</div>

Hello Team, I am trying to install below python version on my windows server 2012R. But not succeeded. Please help. Pls someone help me to get exact yaml file to install python. ansible installed on a Ubuntu server. …

---

## [copy remote files to remote directory](https://forum.ansible.com/t/copy-remote-files-to-remote-directory/33541)

<div class="topic-metadata">

**Author:** [@Ed\_Wong](https://forum.ansible.com/u/Ed_Wong)\
**Replies:** 3\
**Last updated:** [August 3, 2020, 7:48am UTC](https://forum.ansible.com/t/copy-remote-files-to-remote-directory/33541 "2020-08-03T07:48:30Z")

</div>

Hi, I’d like to copy (on a remote system) a file from one directory to another. What I’m doing is: – tasks: – name: copy remote file to local fetch: src: “/etc/resolve.conf” dest": “/tmp/” owner: root group: roo…

---

## [I am getting below error while invoking ansible playbook from Jenkins](https://forum.ansible.com/t/i-am-getting-below-error-while-invoking-ansible-playbook-from-jenkins/33539)

<div class="topic-metadata">

**Author:** [@lakshminarayanan\_R](https://forum.ansible.com/u/lakshminarayanan_R)\
**Replies:** 6\
**Last updated:** [August 3, 2020, 7:37am UTC](https://forum.ansible.com/t/i-am-getting-below-error-while-invoking-ansible-playbook-from-jenkins/33539 "2020-08-03T07:37:43Z")

</div>

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "\[https://ec2.ap-northeast-1.amazonaws.…

---

## [Running ansible-playbook with an inventories directory does no utilize the host\_vars files](https://forum.ansible.com/t/running-ansible-playbook-with-an-inventories-directory-does-no-utilize-the-host-vars-files/33533)

<div class="topic-metadata">

**Author:** [@Kevin\_Clay](https://forum.ansible.com/u/Kevin_Clay)\
**Replies:** 2\
**Last updated:** [August 1, 2020, 7:51am UTC](https://forum.ansible.com/t/running-ansible-playbook-with-an-inventories-directory-does-no-utilize-the-host-vars-files/33533 "2020-08-01T07:51:00Z")

</div>

Hello, I have run into an issues with my ansible installation wherein, if I run ansible-playbook -i inventories/userland site.yml, the playbook picks up all of the group\_vars and host\_vars files and fills in all of the …

---

## [ansible vs. ansible-playbook re: where they get their config](https://forum.ansible.com/t/ansible-vs-ansible-playbook-re-where-they-get-their-config/33536)

<div class="topic-metadata">

**Author:** [@Ed\_Wong](https://forum.ansible.com/u/Ed_Wong)\
**Replies:** 0\
**Last updated:** [July 31, 2020, 8:42am UTC](https://forum.ansible.com/t/ansible-vs-ansible-playbook-re-where-they-get-their-config/33536 "2020-07-31T08:42:22Z")

</div>

I’m using ansible 2.9.11 w/ python3.8 I’ve ssh’d into my ansible control box via putty from a Windows box. I have set Agent forwarding to true. I have the following ansible\_host: all: hosts: 127.0.0.1: lister: ansi…

---

## [collecting local facts in ansible from a custom location (not the default)](https://forum.ansible.com/t/collecting-local-facts-in-ansible-from-a-custom-location-not-the-default/33526)

<div class="topic-metadata">

**Author:** [@Dennis\_McCarthy1](https://forum.ansible.com/u/Dennis_McCarthy1)\
**Replies:** 0\
**Last updated:** [July 30, 2020, 10:58am UTC](https://forum.ansible.com/t/collecting-local-facts-in-ansible-from-a-custom-location-not-the-default/33526 "2020-07-30T10:58:25Z")

</div>

Hi, I’m currently collecting remote host facts like this on my servers: name: Copy fact output to file copy: content: “{{ hostvars\[inventory\_hostname\]|to\_json }}” dest: ‘/tmp/{{ ansible\_hostname }}.yaml’ delegate…

---

## [Powershell script works locally on windows machine but fails when attempted to run via playbook.](https://forum.ansible.com/t/powershell-script-works-locally-on-windows-machine-but-fails-when-attempted-to-run-via-playbook/33498)

<div class="topic-metadata">

**Author:** [@Darshan\_Yamakanamard](https://forum.ansible.com/u/Darshan_Yamakanamard)\
**Replies:** 4\
**Last updated:** [July 30, 2020, 6:12am UTC](https://forum.ansible.com/t/powershell-script-works-locally-on-windows-machine-but-fails-when-attempted-to-run-via-playbook/33498 "2020-07-30T06:12:26Z")

</div>

Hello All, I have a PowerShell script that actually takes an argument and stops/starts a service based on the argument passed. The script works well on the Windows machine when running locally. But fails when attempted…

---

## [Jinja2 Template to use as SRC Path](https://forum.ansible.com/t/jinja2-template-to-use-as-src-path/33497)

<div class="topic-metadata">

**Author:** [@Poseidon\_Olympian](https://forum.ansible.com/u/Poseidon_Olympian)\
**Replies:** 2\
**Last updated:** [July 30, 2020, 2:44am UTC](https://forum.ansible.com/t/jinja2-template-to-use-as-src-path/33497 "2020-07-30T02:44:52Z")

</div>

Hello Group, Requesting for advise or solution. The idea/objective is to have the specific filename to copy to the specific node as the SRC path. Filename node1-appprops.config node2-appprops.config Server Host ap…

---

## [backup playbook yml files - only if chaned](https://forum.ansible.com/t/backup-playbook-yml-files-only-if-chaned/33523)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [July 30, 2020, 2:14am UTC](https://forum.ansible.com/t/backup-playbook-yml-files-only-if-chaned/33523 "2020-07-30T02:14:53Z")

</div>

Hi I do not want to use GIT for version control , so i am going to backup my playbooks … only if this is changed copy the yml file with date … I see copy module can do it - name: Copy a new "ntp.conf file into place, …

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

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