# Ansible Developer

**URL:** https://forum.ansible.com/c/archives/ansible-developer/29.md?page=7

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

**Page:** 8

---

## [How to detect a rescued task while using the CallbackBase?](https://forum.ansible.com/t/how-to-detect-a-rescued-task-while-using-the-callbackbase/36270)

<div class="topic-metadata">

**Author:** [@Victor\_Martinez](https://forum.ansible.com/u/Victor_Martinez)\
**Replies:** 2\
**Last updated:** [April 20, 2022, 8:05pm UTC](https://forum.ansible.com/t/how-to-detect-a-rescued-task-while-using-the-callbackbase/36270 "2022-04-20T20:05:19Z")

</div>

Hi all, I’d like to distinguish a failed task from a rescued time using a callback plugin, but I cannot see anything in https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/\_\_init\_\_.py Any hints h…

---

## [New release candidates: ansible-base 2.12.5rc1, ansible-base 2.11.11rc1](https://forum.ansible.com/t/new-release-candidates-ansible-base-2-12-5rc1-ansible-base-2-11-11rc1/36538)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [April 18, 2022, 9:59pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-base-2-12-5rc1-ansible-base-2-11-11rc1/36538 "2022-04-18T21:59:47Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-base 2.12.5rc1 ansible-base 2.11.11rc1 How to get it

---

## [New release beta: ansible-core 2.13.0b0](https://forum.ansible.com/t/new-release-beta-ansible-core-2-13-0b0/36522)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 4:07pm UTC](https://forum.ansible.com/t/new-release-beta-ansible-core-2-13-0b0/36522 "2022-04-11T16:07:52Z")

</div>

Hi all- we’re happy to announce the beta release of: ansible-core 2.13.0b0 How to get it

---

## [Ansible Contributor Summit 2022.04 - Agenda](https://forum.ansible.com/t/ansible-contributor-summit-2022-04-agenda/36519)

<div class="topic-metadata">

**Author:** [@cybette](https://forum.ansible.com/u/cybette)\
**Replies:** 0\
**Last updated:** [April 8, 2022, 9:07pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-2022-04-agenda/36519 "2022-04-08T21:07:21Z")

</div>

Ansible Contributor Summit - April 12, 2022 (Tuesday) The agenda for next week’s Ansible Contributor Summit is now available! Join us on April 12 (Tuesday) from 12:00 - 20:00 UTC to hear updates about various project…

---

## [Approaches to distributing binary modules?](https://forum.ansible.com/t/approaches-to-distributing-binary-modules/36514)

<div class="topic-metadata">

**Author:** [@Jonas\_Kongslund](https://forum.ansible.com/u/Jonas_Kongslund)\
**Replies:** 0\
**Last updated:** [April 6, 2022, 12:59pm UTC](https://forum.ansible.com/t/approaches-to-distributing-binary-modules/36514 "2022-04-06T12:59:09Z")

</div>

Hi all, I am playing around with creating an Ansible collection and some modules for managing different aspects of an open-source service. I am writing the modules using Go since the service’s admin client SDK is only a…

---

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

<div class="topic-metadata">

**Author:** [@jayanth\_reddy](https://forum.ansible.com/u/jayanth_reddy)\
**Replies:** 0\
**Last updated:** [March 28, 2022, 12:19pm UTC](https://forum.ansible.com/t/need-help-with-tags/36487 "2022-03-28T12:19:59Z")

</div>

Hello Team, when : “‘Application’ == tags.role” when i tried this it has worked. I need to add region for the same condition. How can i add the region for this. Can you please help me with this? Thanks in advance.

---

## [EC2 tags usage in Ansible play book](https://forum.ansible.com/t/ec2-tags-usage-in-ansible-play-book/36477)

<div class="topic-metadata">

**Author:** [@jayanth\_reddy](https://forum.ansible.com/u/jayanth_reddy)\
**Replies:** 1\
**Last updated:** [March 28, 2022, 7:39am UTC](https://forum.ansible.com/t/ec2-tags-usage-in-ansible-play-book/36477 "2022-03-28T07:39:13Z")

</div>

Hello Team, Hope you are doing well and good. Can you help me on how to use multiple ec2 tags in ansible plays by using when condition. Best Regards, Jayanth

---

## [New release candidates: ansible-core 2.12.4rc1, ansible-core 2.11.10rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-4rc1-ansible-core-2-11-10rc1/36469)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 1:31pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-4rc1-ansible-core-2-11-10rc1/36469 "2022-03-22T13:31:38Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-core 2.12.4rc1 ansible-core 2.11.10rc1 How to get it

---

## [Consider changing the remote tmp path in ansible.cfg to a path rooted in \\"/tmp\\"](https://forum.ansible.com/t/consider-changing-the-remote-tmp-path-in-ansible-cfg-to-a-path-rooted-in-tmp/36459)

<div class="topic-metadata">

**Author:** [@Jorge\_Rua1](https://forum.ansible.com/u/Jorge_Rua1)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 8:43pm UTC](https://forum.ansible.com/t/consider-changing-the-remote-tmp-path-in-ansible-cfg-to-a-path-rooted-in-tmp/36459 "2022-03-18T20:43:47Z")

</div>

I’d say to approach this issue as a problem with the remote\_user you’re using. So it’s worth checking if remote\_user has all required privileges to become root. Another quick test is to set remote\_tmp to just /tmp. Hop…

---

## [Ansible ERROR](https://forum.ansible.com/t/ansible-error/36444)

<div class="topic-metadata">

**Author:** [@Pritam\_Dadhe](https://forum.ansible.com/u/Pritam_Dadhe)\
**Replies:** 0\
**Last updated:** [March 15, 2022, 3:59pm UTC](https://forum.ansible.com/t/ansible-error/36444 "2022-03-15T15:59:27Z")

</div>

Hello Mates, I am getting below error while executing playbook for Ec2 Error : fatal: \[local\]: FAILED! =\> {“changed”: false, “msg”: “argument ‘image’ is of type \<class ‘str’\> and we were unable to convert to dict:arse …

---

## [ansible coding help](https://forum.ansible.com/t/ansible-coding-help/36374)

<div class="topic-metadata">

**Author:** [@Nancy\_Desai](https://forum.ansible.com/u/Nancy_Desai)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 9:00pm UTC](https://forum.ansible.com/t/ansible-coding-help/36374 "2022-03-05T21:00:14Z")

</div>

Hello. I’m in an ansible coding class and I need some assistance if you can provide it. I’ve been given an assignment to create an ansible playbook on CentOS which will do the following: check users in a csv file to see …

---

## [Ansible not recognizing hosts for aws ec2 hosts](https://forum.ansible.com/t/ansible-not-recognizing-hosts-for-aws-ec2-hosts/36370)

<div class="topic-metadata">

**Author:** [@Huda](https://forum.ansible.com/u/Huda)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 9:29pm UTC](https://forum.ansible.com/t/ansible-not-recognizing-hosts-for-aws-ec2-hosts/36370 "2022-02-25T21:29:27Z")

</div>

Hello, Could someone please help with the following issue: when I run any of the ansible list hosts commands, it doesn’t show the host that’s listed in the file. What am I doing wrong? I’m able to ssh passwordless to t…

---

## [New release candidates: ansible-core 2.12.3rc1, ansible-core 2.11.9rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-3rc1-ansible-core-2-11-9rc1/36367)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 4:57pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-3rc1-ansible-core-2-11-9rc1/36367 "2022-02-24T16:57:07Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-core 2.12.3rc1 ansible-core 2.11.9rc1 How to get it

---

## [AttributeError: module 'ansible.constants' has no attribute 'ANSIBLE\_NOCOLOR'](https://forum.ansible.com/t/attributeerror-module-ansible-constants-has-no-attribute-ansible-nocolor/36362)

<div class="topic-metadata">

**Author:** [@igor\_haase](https://forum.ansible.com/u/igor_haase)\
**Replies:** 1\
**Last updated:** [February 23, 2022, 5:54pm UTC](https://forum.ansible.com/t/attributeerror-module-ansible-constants-has-no-attribute-ansible-nocolor/36362 "2022-02-23T17:54:22Z")

</div>

Hi fellows, I tried my first steps with ansible folowing to this manual: https://dokuwiki.nausch.org/doku.php/centos:ansible:first When I try ro rn this: ansible rhel8 -m shell -a “/usr/bin/ls -alF /root/” I get: Fil…

---

## [2.11.9rc1 and 2.12.3rc1 delay](https://forum.ansible.com/t/2-11-9rc1-and-2-12-3rc1-delay/36357)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [February 22, 2022, 5:24pm UTC](https://forum.ansible.com/t/2-11-9rc1-and-2-12-3rc1-delay/36357 "2022-02-22T17:24:58Z")

</div>

The 2.11.9rc1 and 2.12.3rc1 releases were supposed to happen on Feb 21, 2022, but have been delayed, and will likely happen on Feb 23, 2022 due to issues with infrastructure and package dependency issues. Stable branches…

---

## [Several non-standard ssh ports](https://forum.ansible.com/t/several-non-standard-ssh-ports/36340)

<div class="topic-metadata">

**Author:** [@igor\_haase](https://forum.ansible.com/u/igor_haase)\
**Replies:** 3\
**Last updated:** [February 22, 2022, 3:30pm UTC](https://forum.ansible.com/t/several-non-standard-ssh-ports/36340 "2022-02-22T15:30:31Z")

</div>

Hello everyone, I am new in ansible. Therefore I have a question about editing the ansible.cfg. I am running a couple of server on different non-standard ssh ports e.g. 55500 55008 55012 etc. How can I configure that…

---

## [Need help to reboot the host](https://forum.ansible.com/t/need-help-to-reboot-the-host/36333)

<div class="topic-metadata">

**Author:** [@jayanth\_reddy](https://forum.ansible.com/u/jayanth_reddy)\
**Replies:** 3\
**Last updated:** [February 22, 2022, 2:26am UTC](https://forum.ansible.com/t/need-help-to-reboot-the-host/36333 "2022-02-22T02:26:33Z")

</div>

Hi Team, I have multiple servers in one region and seperated with zone a &b I need to reboot one system in zone a and once it come back i need to reboot rest of the systeme in zone a. Can you help with condition to wr…

---

## [KeyError: 'module\_blacklist'](https://forum.ansible.com/t/keyerror-module-blacklist/36344)

<div class="topic-metadata">

**Author:** [@igor\_haase](https://forum.ansible.com/u/igor_haase)\
**Replies:** 1\
**Last updated:** [February 21, 2022, 3:43pm UTC](https://forum.ansible.com/t/keyerror-module-blacklist/36344 "2022-02-21T15:43:19Z")

</div>

Hi there, I am new in ansible started yesterday. I got the WARNING The plugin filter file, /etc/ansible/plugin\_filters.yml does not exist when I ran ansible --list-hosts ubuntu20 So I created that file like this:

---

## [sqlite3.Row not working in module](https://forum.ansible.com/t/sqlite3-row-not-working-in-module/36321)

<div class="topic-metadata">

**Author:** [@Joe\_Gainey](https://forum.ansible.com/u/Joe_Gainey)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 3:10am UTC](https://forum.ansible.com/t/sqlite3-row-not-working-in-module/36321 "2022-02-11T03:10:09Z")

</div>

I have a very simple module to query sqlite database. it works except that the sqlite3.Row does not seem to be functional. if anyone has run into similar issues please let me know I’m using python 3.6.8, ansible 4.9.0 …

---

## [Invoking copy action plugin](https://forum.ansible.com/t/invoking-copy-action-plugin/36318)

<div class="topic-metadata">

**Author:** [@yves\_baumes](https://forum.ansible.com/u/yves_baumes)\
**Replies:** 0\
**Last updated:** [February 10, 2022, 4:04pm UTC](https://forum.ansible.com/t/invoking-copy-action-plugin/36318 "2022-02-10T16:04:02Z")

</div>

Hello, I’m trying to invoke the copy action plugin with a timestamp var. Here is the code: def copy(self, task\_vars): new\_task = self.\_task.copy() new\_task.args.update( dict( src="/etc/systemd/network/", dest="/etc/sys…

---

## [Learning Ansible with single host](https://forum.ansible.com/t/learning-ansible-with-single-host/36266)

<div class="topic-metadata">

**Author:** [@gene\_golub](https://forum.ansible.com/u/gene_golub)\
**Replies:** 2\
**Last updated:** [February 1, 2022, 7:11pm UTC](https://forum.ansible.com/t/learning-ansible-with-single-host/36266 "2022-02-01T19:11:33Z")

</div>

Hello Forum, I was wondering if i could install Ansible on Ubuntu 20 host and try to use for learning purpose. Is it recommended or there are better way to learn it?

---

## [Make an SSH connection and run a command from within the playbook](https://forum.ansible.com/t/make-an-ssh-connection-and-run-a-command-from-within-the-playbook/36256)

<div class="topic-metadata">

**Author:** [@Daniel\_Bianco](https://forum.ansible.com/u/Daniel_Bianco)\
**Replies:** 3\
**Last updated:** [January 29, 2022, 12:08am UTC](https://forum.ansible.com/t/make-an-ssh-connection-and-run-a-command-from-within-the-playbook/36256 "2022-01-29T00:08:46Z")

</div>

I’m working on an automation to create/delete users on storage devices. I have been only provided with the commands that the storage admin use and users that can ssh to the storage devices. My first attempt was to crea…

---

## [How to check if a role changed something inside a play?](https://forum.ansible.com/t/how-to-check-if-a-role-changed-something-inside-a-play/36254)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 1\
**Last updated:** [January 26, 2022, 7:06pm UTC](https://forum.ansible.com/t/how-to-check-if-a-role-changed-something-inside-a-play/36254 "2022-01-26T19:06:44Z")

</div>

Is there some way inside of a playbook to see if a role changed something? The use case is this: tests\_of\_my\_role.yml: name: call role to see if working include\_role: name: my\_role vars: my role vars set\_fac…

---

## [New release candidates: ansible-core 2.12.2rc1, ansible-core 2.11.8rc1, ansible-base 2.10.17rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-2rc1-ansible-core-2-11-8rc1-ansible-base-2-10-17rc1/36247)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [January 24, 2022, 5:24pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-2rc1-ansible-core-2-11-8rc1-ansible-base-2-10-17rc1/36247 "2022-01-24T17:24:03Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-core 2.12.2rc1 ansible-core 2.11.8rc1 ansible-base 2.10.17rc1 How to get it

---

## [How to fix TypeError : Cant compile non template nodes While running ansible-test](https://forum.ansible.com/t/how-to-fix-typeerror-cant-compile-non-template-nodes-while-running-ansible-test/36201)

<div class="topic-metadata">

**Author:** [@selvigp](https://forum.ansible.com/u/selvigp)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 11:34am UTC](https://forum.ansible.com/t/how-to-fix-typeerror-cant-compile-non-template-nodes-while-running-ansible-test/36201 "2022-01-16T11:34:03Z")

</div>

Hey, I have used Ubuntu 18.04 LTS and installed ansible 2.9.27 and python 2.7.17. I am going to test ansible-collection with the ansible-test command. When I give “ansible-test unit” , I am getting the below error. Kind…

---

## [Submitting PR for vyos.vyos module](https://forum.ansible.com/t/submitting-pr-for-vyos-vyos-module/35649)

<div class="topic-metadata">

**Author:** [@pigriffin](https://forum.ansible.com/u/pigriffin)\
**Replies:** 5\
**Last updated:** [January 11, 2022, 11:22pm UTC](https://forum.ansible.com/t/submitting-pr-for-vyos-vyos-module/35649 "2022-01-11T23:22:15Z")

</div>

Hi all. I haven’t submitted to ansible before and need a bit of guidance if anyone’s got time! My actual change is to add a single parameter in the vyos.vyos collection, and is only a few lines. But to get to the point,…

---

## [How to pass dynamic value of Ansible variable to Shell script variable and vice versa.](https://forum.ansible.com/t/how-to-pass-dynamic-value-of-ansible-variable-to-shell-script-variable-and-vice-versa/36145)

<div class="topic-metadata">

**Author:** [@Girish\_Attarde](https://forum.ansible.com/u/Girish_Attarde)\
**Replies:** 0\
**Last updated:** [December 22, 2021, 6:00am UTC](https://forum.ansible.com/t/how-to-pass-dynamic-value-of-ansible-variable-to-shell-script-variable-and-vice-versa/36145 "2021-12-22T06:00:42Z")

</div>

Can anyone please help me for syntax or logic. Thanks in advance.

---

## [How to end play in a role based on condition, but keep playing the rest of the roles](https://forum.ansible.com/t/how-to-end-play-in-a-role-based-on-condition-but-keep-playing-the-rest-of-the-roles/36140)

<div class="topic-metadata">

**Author:** [@Rijesh\_Puthiya\_Puray](https://forum.ansible.com/u/Rijesh_Puthiya_Puray)\
**Replies:** 0\
**Last updated:** [December 21, 2021, 1:07pm UTC](https://forum.ansible.com/t/how-to-end-play-in-a-role-based-on-condition-but-keep-playing-the-rest-of-the-roles/36140 "2021-12-21T13:07:41Z")

</div>

Hello, I have a playbook that has multiple roles in it. How can I exit from the execution of a role’s task while continuing to play the other roles?The module meta: end\_play just ends the play at the place it is called,…

---

## [Print Hostvar For All Host Under Group](https://forum.ansible.com/t/print-hostvar-for-all-host-under-group/36063)

<div class="topic-metadata">

**Author:** [@Jitender\_J](https://forum.ansible.com/u/Jitender_J)\
**Replies:** 4\
**Last updated:** [December 7, 2021, 8:40am UTC](https://forum.ansible.com/t/print-hostvar-for-all-host-under-group/36063 "2021-12-07T08:40:50Z")

</div>

Hi Team, Need your help got stuck I want to use host vars from inventory for all host under a specific group I tried with the below example but only getting IP when I am passing hostname not getting anything when tryi…

---

## [Ansible Contributor Summit 2021.09 + Hackathon](https://forum.ansible.com/t/ansible-contributor-summit-2021-09-hackathon/35696)

<div class="topic-metadata">

**Author:** [@cybette](https://forum.ansible.com/u/cybette)\
**Replies:** 1\
**Last updated:** [December 7, 2021, 6:10am UTC](https://forum.ansible.com/t/ansible-contributor-summit-2021-09-hackathon/35696 "2021-12-07T06:10:41Z")

</div>

Hi everyone, We’re happy to announce the third Ansible Contributor Summit for 2021! It will be held over 2 days, on Tuesday September 28 and Friday October 1, from 13:00-21:00 UTC, and will be held online. The Ansib…

[Previous page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=6)

[Next page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=8)
