# Latest

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

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

**Page:** 705

---

## [ansible on Ubuntu](https://forum.ansible.com/t/ansible-on-ubuntu/23167)

<div class="topic-metadata">

**Author:** [@Jason\_Li](https://forum.ansible.com/u/Jason_Li)\
**Replies:** 1\
**Last updated:** [December 5, 2016, 7:23am UTC](https://forum.ansible.com/t/ansible-on-ubuntu/23167 "2016-12-05T07:23:55Z")

</div>

Hi Support, I’m new for ansible and Linux, may I know, as Ubuntu disabled ‘root’ account, but when we install system, the permission was grant to ‘root’ as well, like ‘/etc/’… I’m facing the problem when create /etc/ng…

---

## [Callback plugin Types](https://forum.ansible.com/t/callback-plugin-types/23168)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 2\
**Last updated:** [December 4, 2016, 2:04am UTC](https://forum.ansible.com/t/callback-plugin-types/23168 "2016-12-04T02:04:20Z")

</div>

What are the different types of Callback\_plugins - notification, stdout, aggregate ? Any more? And what are the differences? I am trying to develop a callback\_plugin using the json plugin as base. But I would like stdo…

---

## [Weird ec2\_elb\_facts error](https://forum.ansible.com/t/weird-ec2-elb-facts-error/23159)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [December 3, 2016, 7:57am UTC](https://forum.ansible.com/t/weird-ec2-elb-facts-error/23159 "2016-12-03T07:57:41Z")

</div>

I’m running into a very odd problem with an ansible playbook that I’m running from Jenkins. The playbook executes the ec2\_elb\_facts module (without the names parameter). When it runs from my jenkins pipeline job, I get t…

---

## [output var not used?](https://forum.ansible.com/t/output-var-not-used/23166)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 0\
**Last updated:** [December 3, 2016, 6:05am UTC](https://forum.ansible.com/t/output-var-not-used/23166 "2016-12-03T06:05:19Z")

</div>

hi folks, I was looking at the nxos\_command module here https://github.com/ansible/ansible-modules-core/blob/6890003c4f8dcd8f63a5b280211068cfaf1dcc35/network/nxos/nxos\_command.py#L245 and noticed it used a cmd.get(‘out…

---

## [Ansible 2.2: register with a variable in the name](https://forum.ansible.com/t/ansible-2-2-register-with-a-variable-in-the-name/23111)

<div class="topic-metadata">

**Author:** [@Andreas\_Olsson](https://forum.ansible.com/u/Andreas_Olsson)\
**Replies:** 1\
**Last updated:** [December 3, 2016, 4:52am UTC](https://forum.ansible.com/t/ansible-2-2-register-with-a-variable-in-the-name/23111 "2016-12-03T04:52:18Z")

</div>

Greetings Since moving from Ansible 2.1.3 to Ansible 2.2.0 I have run into an issue with register, and when it's variable name is built up using a variable. I have no idea if this is due to a regression in Ansible 2.2…

---

## [How to "flatten" nested keys in a dictionary, when key structure varies?](https://forum.ansible.com/t/how-to-flatten-nested-keys-in-a-dictionary-when-key-structure-varies/23164)

<div class="topic-metadata">

**Author:** [@Mike\_Titus1](https://forum.ansible.com/u/Mike_Titus1)\
**Replies:** 2\
**Last updated:** [December 2, 2016, 11:52pm UTC](https://forum.ansible.com/t/how-to-flatten-nested-keys-in-a-dictionary-when-key-structure-varies/23164 "2016-12-02T23:52:09Z")

</div>

Given this YAML: somevar: alpha: beta: gamma: foo1: bar1 foo2: bar2 red: green: blue: baz1: quz1 baz2: quz2 I want to construct strings of the full key paths: somevar/alpha/beta/gamma somevar/red/green/b…

---

## [synchronize using a file list](https://forum.ansible.com/t/synchronize-using-a-file-list/23001)

<div class="topic-metadata">

**Author:** [@giaf](https://forum.ansible.com/u/giaf)\
**Replies:** 1\
**Last updated:** [December 2, 2016, 9:27pm UTC](https://forum.ansible.com/t/synchronize-using-a-file-list/23001 "2016-12-02T21:27:27Z")

</div>

Hi all, I’m new on this mailing list. I was wondering why the ansible plugin synchronize doesn’t support filelist. The correspondent rsync option is: --files-from= Is there any particular reason to not implement this …

---

## [Server not found in Kerberos Database](https://forum.ansible.com/t/server-not-found-in-kerberos-database/21638)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 8\
**Last updated:** [December 2, 2016, 5:18pm UTC](https://forum.ansible.com/t/server-not-found-in-kerberos-database/21638 "2016-12-02T17:18:58Z")

</div>

Control Node: CentOS 7 Ansible 2.1 pywinrm version from May 19th, 2016 Remote Node: Windows 7 Powershell 3 I’m having trouble connecting to my remote node with kerberos. I have carefully followed all…

---

## [ansible vault and lookups module for password hashes](https://forum.ansible.com/t/ansible-vault-and-lookups-module-for-password-hashes/23099)

<div class="topic-metadata">

**Author:** [@Asil](https://forum.ansible.com/u/Asil)\
**Replies:** 1\
**Last updated:** [December 2, 2016, 11:51am UTC](https://forum.ansible.com/t/ansible-vault-and-lookups-module-for-password-hashes/23099 "2016-12-02T11:51:18Z")

</div>

Is this possible? Lookups will work on an un-encrytped file but the following example on a vaulted file: root\_passwd\_hash: "{{ lookup('csvfile', 'root file=vault/pw\_hash.csv' ) }}" Gives me: \<propval type="astring"…

---

## [SSH failure connection](https://forum.ansible.com/t/ssh-failure-connection/23161)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 0\
**Last updated:** [December 2, 2016, 6:49am UTC](https://forum.ansible.com/t/ssh-failure-connection/23161 "2016-12-02T06:49:14Z")

</div>

Hi The playbook is failing with this error; FAILED! =\> {“changed”: false, “failed”: true, “invocation”: {“module\_name”: “command”}, “module\_stderr”: “OpenSSH\_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\\r\\ndebug1: Reading co…

---

## [How to list Ansible Roles and version used by my playbook on Ansible Tower](https://forum.ansible.com/t/how-to-list-ansible-roles-and-version-used-by-my-playbook-on-ansible-tower/23158)

<div class="topic-metadata">

**Author:** [@Coolman](https://forum.ansible.com/u/Coolman)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 11:29pm UTC](https://forum.ansible.com/t/how-to-list-ansible-roles-and-version-used-by-my-playbook-on-ansible-tower/23158 "2016-12-01T23:29:32Z")

</div>

Hello there, I use Ansible Tower to Orchestrate my Continous Delivery Pipeline. I call my roles using the requirement.yml file located in the roles directory within my playbook directory. The thing is that I want to k…

---

## [Hierarchical hostgroups](https://forum.ansible.com/t/hierarchical-hostgroups/23154)

<div class="topic-metadata">

**Author:** [@Gregor\_Giesen](https://forum.ansible.com/u/Gregor_Giesen)\
**Replies:** 2\
**Last updated:** [December 1, 2016, 10:49pm UTC](https://forum.ansible.com/t/hierarchical-hostgroups/23154 "2016-12-01T22:49:47Z")

</div>

Hello everybody, our current configuration management system uses a path notation for hierarchical hostgroups (subgroups), i.e. testgroup testgroup/subgroup1 testgroup/subgroup2 which would correspond to Ansible's …

---

## [Crontab run in specific timezone](https://forum.ansible.com/t/crontab-run-in-specific-timezone/23144)

<div class="topic-metadata">

**Author:** [@Falldog\_Hsieh](https://forum.ansible.com/u/Falldog_Hsieh)\
**Replies:** 1\
**Last updated:** [December 1, 2016, 9:57pm UTC](https://forum.ansible.com/t/crontab-run-in-specific-timezone/23144 "2016-12-01T21:57:28Z")

</div>

ansible cron module doesn’t support setup timezone info currently Hope to add this new feature Thanks reference from http://serverfault.com/questions/374284/crontab-schedule-in-different-timezones

---

## [How to do a Pull Request for a doc string that affects multiple versions?](https://forum.ansible.com/t/how-to-do-a-pull-request-for-a-doc-string-that-affects-multiple-versions/23157)

<div class="topic-metadata">

**Author:** [@Mark\_Breedlove](https://forum.ansible.com/u/Mark_Breedlove)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 9:26pm UTC](https://forum.ansible.com/t/how-to-do-a-pull-request-for-a-doc-string-that-affects-multiple-versions/23157 "2016-12-01T21:26:23Z")

</div>

I have a PR I’d like to submit to the https://github.com/ansible/ansible-modules-core repo but I’m unsure of what I should write in the PR for the Ansible version. The PR is for changing a DOCUMENTATION string, and the i…

---

## [No module named markupsafe](https://forum.ansible.com/t/no-module-named-markupsafe/21505)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 2\
**Last updated:** [December 1, 2016, 8:38pm UTC](https://forum.ansible.com/t/no-module-named-markupsafe/21505 "2016-12-01T20:38:47Z")

</div>

Hi, I just hit a problem with Ansible installed with pip. I cannot even get ansible version (see the bottom), but it is version 2.0.2.0 @ Ubuntu 14.04.4 LTS pip list | grep ansible ansible (2.0.2.0) Installing markup…

---

## [Compare two variables](https://forum.ansible.com/t/compare-two-variables/23156)

<div class="topic-metadata">

**Author:** [@marcin\_zimnica](https://forum.ansible.com/u/marcin_zimnica)\
**Replies:** 1\
**Last updated:** [December 1, 2016, 8:23pm UTC](https://forum.ansible.com/t/compare-two-variables/23156 "2016-12-01T20:23:29Z")

</div>

Hi All, I am trying to compare two variables however it looks like it does not work. I am new to ansible so please be understanding. I know that this script is not optimal but I am still learning. My code looks like th…

---

## [Ansible :  ERROR! Decryption failed](https://forum.ansible.com/t/ansible-error-decryption-failed/23137)

<div class="topic-metadata">

**Author:** [@Swathi\_Cutie](https://forum.ansible.com/u/Swathi_Cutie)\
**Replies:** 1\
**Last updated:** [December 1, 2016, 7:47pm UTC](https://forum.ansible.com/t/ansible-error-decryption-failed/23137 "2016-12-01T19:47:50Z")

</div>

Hi , I am a newbie to ansible When i try to run the ansible-playbook i am getting a decryption failed error \[root@localhost infrastructure\]# ansible-playbook -i /home/swathi/Desktop/infrastructure/production/ec2.py ve…

---

## [MODULE FAILURE using Replace and with\_together](https://forum.ansible.com/t/module-failure-using-replace-and-with-together/23116)

<div class="topic-metadata">

**Author:** [@John\_Galts](https://forum.ansible.com/u/John_Galts)\
**Replies:** 3\
**Last updated:** [December 1, 2016, 3:15pm UTC](https://forum.ansible.com/t/module-failure-using-replace-and-with-together/23116 "2016-12-01T15:15:27Z")

</div>

Hello, I’m getting a module failure when trying to use ‘replace’ and with\_together. Is there something wrong with my script? thank you. Tasks: name: Gather Current DB Settings - Database Name shell: grep -v “|” /tm…

---

## [How to create a package module like the YUM one](https://forum.ansible.com/t/how-to-create-a-package-module-like-the-yum-one/23152)

<div class="topic-metadata">

**Author:** [@Peter\_Burns](https://forum.ansible.com/u/Peter_Burns)\
**Replies:** 1\
**Last updated:** [December 1, 2016, 2:45pm UTC](https://forum.ansible.com/t/how-to-create-a-package-module-like-the-yum-one/23152 "2016-12-01T14:45:53Z")

</div>

Hi there, I posted this to the Ansible Project list but got no responses, perhaps this is the better forum for it to be answered though, so I’m cross posting it here to. I’m trying to create an ansible module to instal…

---

## [QUESTION/POLL regarding repo merge](https://forum.ansible.com/t/question-poll-regarding-repo-merge/23155)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 2:35pm UTC](https://forum.ansible.com/t/question-poll-regarding-repo-merge/23155 "2016-12-01T14:35:20Z")

</div>

Hi all, per the email I sent the other day regarding the repo merge, a question has been raised internally regarding whether or not we would make the same changes to existing stable branches (stable-2.2, stable-2.1, etc)…

---

## [Ansible on OpenBSD - failures in 'package' module](https://forum.ansible.com/t/ansible-on-openbsd-failures-in-package-module/23148)

<div class="topic-metadata">

**Author:** [@Darren\_S](https://forum.ansible.com/u/Darren_S)\
**Replies:** 1\
**Last updated:** [December 1, 2016, 2:33pm UTC](https://forum.ansible.com/t/ansible-on-openbsd-failures-in-package-module/23148 "2016-12-01T14:33:33Z")

</div>

Ansible manager: OpenBSD 5.7, Python 2.7.9, Ansible 2.2.0.0 Managed host: OpenBSD 6.0 (RELEASE), Python 2.7.12 Using 'package' module on OpenBSD 6.0 appears to fail. Running this task: - name: install common packages …

---

## [Ansible module's default parameter value](https://forum.ansible.com/t/ansible-modules-default-parameter-value/23151)

<div class="topic-metadata">

**Author:** [@machacekondra](https://forum.ansible.com/u/machacekondra)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 12:24pm UTC](https://forum.ansible.com/t/ansible-modules-default-parameter-value/23151 "2016-12-01T12:24:00Z")

</div>

Hello all, I would like to ask about the sense of the default values of the parameters of Ansible modules. Let me give you an example, let’s say there is a module to manage Virtual Machines(VM), the module looks for ex…

---

## [Variable undefined after set\_fact](https://forum.ansible.com/t/variable-undefined-after-set-fact/15419)

<div class="topic-metadata">

**Author:** [@Nathan\_Robertson](https://forum.ansible.com/u/Nathan_Robertson)\
**Replies:** 3\
**Last updated:** [December 1, 2016, 9:33am UTC](https://forum.ansible.com/t/variable-undefined-after-set-fact/15419 "2016-12-01T09:33:33Z")

</div>

I am either missing something simple or ran into a bug. I have a playbook that passes variable to a role as follows: roles: { role: test\_role, var1: ‘some string’, var2: “{{ some\_var }}”, var3: “{{ some\_var2 }}” } N…

---

## [Sudo auth fails in the middle of playbook](https://forum.ansible.com/t/sudo-auth-fails-in-the-middle-of-playbook/23095)

<div class="topic-metadata">

**Author:** [@marko](https://forum.ansible.com/u/marko)\
**Replies:** 4\
**Last updated:** [December 1, 2016, 8:31am UTC](https://forum.ansible.com/t/sudo-auth-fails-in-the-middle-of-playbook/23095 "2016-12-01T08:31:15Z")

</div>

Hi, I’m having weird problems where sudo authentication seems to fail in the middle of a playbook. The playbook is run like this: ansible-playbook … -b --ask-become-pass … myplaybook.yml The playbook includes this bi…

---

## [Ansible dynamic vars](https://forum.ansible.com/t/ansible-dynamic-vars/23150)

<div class="topic-metadata">

**Author:** [@Nirmal\_Kumar](https://forum.ansible.com/u/Nirmal_Kumar)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 7:39am UTC](https://forum.ansible.com/t/ansible-dynamic-vars/23150 "2016-12-01T07:39:25Z")

</div>

I have a query regarding vars structure in Ansible. Example: -vars sample.yml tasks main.yml In task: include\_vars: sample.yml - copy: src={{vars\[inventory\_hostname\_short + ‘\_instance’ }} dest={{some\_path…

---

## [How to consider vars/sample.yml to create a dynamic variable name ?](https://forum.ansible.com/t/how-to-consider-vars-sample-yml-to-create-a-dynamic-variable-name/23149)

<div class="topic-metadata">

**Author:** [@Nirmal\_Kumar](https://forum.ansible.com/u/Nirmal_Kumar)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 7:32am UTC](https://forum.ansible.com/t/how-to-consider-vars-sample-yml-to-create-a-dynamic-variable-name/23149 "2016-12-01T07:32:59Z")

</div>

I have a query regarding vars structure in Ansible. Example: -vars sample.yml tasks main.yml In task: include\_vars: sample.yml - copy: src={{vars\[inventory\_hostname\_short + ‘\_instance’ }} dest={{some\_path…

---

## [Fundamental Template Problem](https://forum.ansible.com/t/fundamental-template-problem/23068)

<div class="topic-metadata">

**Author:** [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Replies:** 1\
**Last updated:** [December 1, 2016, 4:26am UTC](https://forum.ansible.com/t/fundamental-template-problem/23068 "2016-12-01T04:26:15Z")

</div>

(Ansible 2.2 - Mac OS 12.1) I'm having trouble with a template I'm trying to create. So, I cut it down to a bare minimum. Consider the following: jon.yml

---

## [Is Ansible a client/server protocol?](https://forum.ansible.com/t/is-ansible-a-client-server-protocol/23147)

<div class="topic-metadata">

**Author:** [@utunaaga](https://forum.ansible.com/u/utunaaga)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 3:36am UTC](https://forum.ansible.com/t/is-ansible-a-client-server-protocol/23147 "2016-12-01T03:36:22Z")

</div>

Hi There Hope this picture shows ok. Would greatly appreciate any feedback as to the accuracy of this diagram. Please understand that I am very much a newby in this matter so anything deep wll be lost :slight\_smile: I…

---

## [Ansible model of operation - Client/Server?](https://forum.ansible.com/t/ansible-model-of-operation-client-server/23146)

<div class="topic-metadata">

**Author:** [@utunaaga](https://forum.ansible.com/u/utunaaga)\
**Replies:** 0\
**Last updated:** [December 1, 2016, 2:58am UTC](https://forum.ansible.com/t/ansible-model-of-operation-client-server/23146 "2016-12-01T02:58:04Z")

</div>

Hi There I would greatly appreciate any comments on the accuracy and validy of my little picture Hope it is visible I dont see nay preview button here. Many thanks for any reply

---

## [Modify registered variable content from the copy module?](https://forum.ansible.com/t/modify-registered-variable-content-from-the-copy-module/23142)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 1\
**Last updated:** [December 1, 2016, 12:40am UTC](https://forum.ansible.com/t/modify-registered-variable-content-from-the-copy-module/23142 "2016-12-01T00:40:09Z")

</div>

Hello - Is there a way to modify the content of a registered variable? I have a shared role that logs output of my deployments. tasks/main.yml \` name: Log {{ filename }} changes blockinfile: dest: “{{ log\_dir }}/{…

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

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