# Latest

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

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

**Page:** 555

---

## [How to remove unused/old configuration automatically using Ansible?](https://forum.ansible.com/t/how-to-remove-unused-old-configuration-automatically-using-ansible/27588)

<div class="topic-metadata">

**Author:** [@SK1](https://forum.ansible.com/u/SK1)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 5:38am UTC](https://forum.ansible.com/t/how-to-remove-unused-old-configuration-automatically-using-ansible/27588 "2018-05-22T05:38:52Z")

</div>

I am currently using Ansible to generate running configuration for the network devices. Here is the simple scenario I have. I have defined the interface type (routed, access, trunk) in the variables file and then create…

---

## [control of network flows and ports between servers](https://forum.ansible.com/t/control-of-network-flows-and-ports-between-servers/27586)

<div class="topic-metadata">

**Author:** [@Diego\_Lagos](https://forum.ansible.com/u/Diego_Lagos)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 9:33pm UTC](https://forum.ansible.com/t/control-of-network-flows-and-ports-between-servers/27586 "2018-05-21T21:33:42Z")

</div>

Currently I have a small problem, but that takes a lot of time. This is the control of network flows. Specifically, check that every time I have a new machine, flows and ports have also been opened to other machines. T…

---

## [How to use the cache plugins for example the "yaml - YAML formatted files" plugin](https://forum.ansible.com/t/how-to-use-the-cache-plugins-for-example-the-yaml-yaml-formatted-files-plugin/27584)

<div class="topic-metadata">

**Author:** [@Ibrahim\_Mohamed](https://forum.ansible.com/u/Ibrahim_Mohamed)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 8:50pm UTC](https://forum.ansible.com/t/how-to-use-the-cache-plugins-for-example-the-yaml-yaml-formatted-files-plugin/27584 "2018-05-21T20:50:17Z")

</div>

How to use the cache plugins for example the “yaml - YAML formatted files” plugin There is no documentation or exampleshttps://docs.ansible.com/ansible/2.5/plugins/cache/yaml.html

---

## [\[AWX project\]: scheduler](https://forum.ansible.com/t/awx-project-scheduler/27577)

<div class="topic-metadata">

**Author:** [@Pavani\_Duvvuru](https://forum.ansible.com/u/Pavani_Duvvuru)\
**Replies:** 5\
**Last updated:** [May 21, 2018, 7:19pm UTC](https://forum.ansible.com/t/awx-project-scheduler/27577 "2018-05-21T19:19:25Z")

</div>

Hi there! I had seen the schedulers in awx in angular 1 ( i.e https://github.com/ansible/awx/blob/devel/awx/ui/client/src/scheduler ) can I have same functionality in angular 2+ ???

---

## [manage linux system policy routing?](https://forum.ansible.com/t/manage-linux-system-policy-routing/27574)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 7:06pm UTC](https://forum.ansible.com/t/manage-linux-system-policy-routing/27574 "2018-05-21T19:06:48Z")

</div>

i’m aunable to use the module net\_static\_route other ways?

---

## [procedure to run the previleages command in ansible 2.5](https://forum.ansible.com/t/procedure-to-run-the-previleages-command-in-ansible-2-5/27581)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 5:36pm UTC](https://forum.ansible.com/t/procedure-to-run-the-previleages-command-in-ansible-2-5/27581 "2018-05-21T17:36:43Z")

</div>

Hi Team, Am facing problem in running elevated commands these are my tries kindly suggest a best solution to fix this problem. I dont have problem in running the normal ping command when i ran the elevated command am fa…

---

## [executing the  previleage  adhoc  command](https://forum.ansible.com/t/executing-the-previleage-adhoc-command/27580)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 4:55pm UTC](https://forum.ansible.com/t/executing-the-previleage-adhoc-command/27580 "2018-05-21T16:55:16Z")

</div>

Hi Team, When i try to shutdown the connected node using ansible am getting the below error kindly assist 128 ansible iaf -m shell “/usr/sbin/shutdown -h now” -b 129 ansible iaf -m shell “/usr/sbin/shutdown -h now” --…

---

## [Ansible GUI Tools](https://forum.ansible.com/t/ansible-gui-tools/27571)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 4:35pm UTC](https://forum.ansible.com/t/ansible-gui-tools/27571 "2018-05-21T16:35:40Z")

</div>

Hello community, I am learning Ansible and I am getting familiar with Ansible’s commands. However, can someone let me know if there are any GUI applications that will allow the building of Playbooks and inventories etc…

---

## [Issues connecting when using the ios\_facts module](https://forum.ansible.com/t/issues-connecting-when-using-the-ios-facts-module/27563)

<div class="topic-metadata">

**Author:** [@Matt\_Hickok](https://forum.ansible.com/u/Matt_Hickok)\
**Replies:** 4\
**Last updated:** [May 21, 2018, 2:56pm UTC](https://forum.ansible.com/t/issues-connecting-when-using-the-ios-facts-module/27563 "2018-05-21T14:56:03Z")

</div>

Hey folks, I’m trying to gather some facts from a Cisco ASA. The ASA is configured as simply as possible and here are the relevant settings for the ASA ASA Software Version: 9.2(2) Hardware: ASA5515 Management IP: 10.…

---

## [How I write If syntax inside for syntax in template](https://forum.ansible.com/t/how-i-write-if-syntax-inside-for-syntax-in-template/27579)

<div class="topic-metadata">

**Author:** [@Jatinder\_Jawanda](https://forum.ansible.com/u/Jatinder_Jawanda)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 2:28pm UTC](https://forum.ansible.com/t/how-i-write-if-syntax-inside-for-syntax-in-template/27579 "2018-05-21T14:28:08Z")

</div>

\` {% for item, value in {% if source == “cde” %} abc.iteritems() {% else %} def.iteritems() {% endif %} %} item {% endfor %} \`

---

## [Unable to run Jenkins in docker container using Ansible](https://forum.ansible.com/t/unable-to-run-jenkins-in-docker-container-using-ansible/27576)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 12:02pm UTC](https://forum.ansible.com/t/unable-to-run-jenkins-in-docker-container-using-ansible/27576 "2018-05-21T12:02:22Z")

</div>

Dear All, I am not able to run jenkins inside docker container using ansible playbook. Jenkins is getting started but unable to run it name: Download Jenkins Container docker\_container: name: Jenkins\_server image: …

---

## [paper ansible](https://forum.ansible.com/t/paper-ansible/27573)

<div class="topic-metadata">

**Author:** [@Raxeon](https://forum.ansible.com/u/Raxeon)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 8:34am UTC](https://forum.ansible.com/t/paper-ansible/27573 "2018-05-21T08:34:17Z")

</div>

hey guys, i get assignment from my teacher, do you know where i can get paper or journal about ansible? thanks…

---

## [merge two sets of AWS tags?](https://forum.ansible.com/t/merge-two-sets-of-aws-tags/27572)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 8:03am UTC](https://forum.ansible.com/t/merge-two-sets-of-aws-tags/27572 "2018-05-21T08:03:34Z")

</div>

I am clearly having a brain failure, but I can’t figure out how to merge two sets of AWS tags. AWS tags are generally defined as a variable (or attribute in a module) something like this: tags: name1: value1 name2: v…

---

## [Abridged summary of ansible-project@googlegroups.com - 14 updates in 5 topics](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-14-updates-in-5-topics/27570)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 0\
**Last updated:** [May 20, 2018, 6:38pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-14-updates-in-5-topics/27570 "2018-05-20T18:38:16Z")

</div>

Hi Team, Am trying to run the shutdown command in my ansible master server using the below command \[tester@ansi ~\]$ sudo ansible Total -m shell -a “/usr/sbin/shutdown -h now” got the error message as server 1 | UNREA…

---

## [Intended behavior of variable expansion in role handlers?](https://forum.ansible.com/t/intended-behavior-of-variable-expansion-in-role-handlers/27546)

<div class="topic-metadata">

**Author:** [@luciano.cavalheiro](https://forum.ansible.com/u/luciano.cavalheiro)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 5:17pm UTC](https://forum.ansible.com/t/intended-behavior-of-variable-expansion-in-role-handlers/27546 "2018-05-20T17:17:25Z")

</div>

Greetings, I found an unexpected behavior when role variables, with default values defined, are overwritten by role parameters in the playbook. I would like to confirm whether its a bug or working as designed before ope…

---

## [Check if all the values of a yml matches a string else throw error and exit in ansible](https://forum.ansible.com/t/check-if-all-the-values-of-a-yml-matches-a-string-else-throw-error-and-exit-in-ansible/27568)

<div class="topic-metadata">

**Author:** [@BIJAY\_PARIDA](https://forum.ansible.com/u/BIJAY_PARIDA)\
**Replies:** 6\
**Last updated:** [May 20, 2018, 10:34am UTC](https://forum.ansible.com/t/check-if-all-the-values-of-a-yml-matches-a-string-else-throw-error-and-exit-in-ansible/27568 "2018-05-20T10:34:23Z")

</div>

Hi, I have two files file1.yml and file2.yml which I am passing from the deployment level. I want to verify that all the values of the file1 matches to a string else exits with error message, same with the 2nd file. f…

---

## [Decrypting/Encrypting Ansible Vault on Windows](https://forum.ansible.com/t/decrypting-encrypting-ansible-vault-on-windows/27569)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 0\
**Last updated:** [May 20, 2018, 6:10am UTC](https://forum.ansible.com/t/decrypting-encrypting-ansible-vault-on-windows/27569 "2018-05-20T06:10:10Z")

</div>

Hey This is a shameless self post but recently I’ve been spending some time trying to understand how Ansible Vault works and I decided to apply what I learnt by creating some PowerShell cmdlets to encrypt/decrypt a vaul…

---

## [Ansible Command Module Argument Entry](https://forum.ansible.com/t/ansible-command-module-argument-entry/27567)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Replies:** 3\
**Last updated:** [May 19, 2018, 10:40pm UTC](https://forum.ansible.com/t/ansible-command-module-argument-entry/27567 "2018-05-19T22:40:40Z")

</div>

I’m trying to use Ansible’s ‘command’ module to to issue the command ‘hostname -s’ on a machine. Can someone please take a look at the module and its arguments and let me know where I would enter the argument ‘hostname …

---

## [How to Use Ansible to Determine differing features of a Machine](https://forum.ansible.com/t/how-to-use-ansible-to-determine-differing-features-of-a-machine/27564)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Replies:** 1\
**Last updated:** [May 19, 2018, 6:07pm UTC](https://forum.ansible.com/t/how-to-use-ansible-to-determine-differing-features-of-a-machine/27564 "2018-05-19T18:07:49Z")

</div>

Hello community Can someone let me know how to use ansible to determine the differences between two machines. For example, lets say I don’t have any idea how a particular linux server is built. However, I know how to u…

---

## [Passing variable value from one role to the next using Ansible for AWS](https://forum.ansible.com/t/passing-variable-value-from-one-role-to-the-next-using-ansible-for-aws/27566)

<div class="topic-metadata">

**Author:** [@philip\_shangguan1](https://forum.ansible.com/u/philip_shangguan1)\
**Replies:** 1\
**Last updated:** [May 19, 2018, 5:12pm UTC](https://forum.ansible.com/t/passing-variable-value-from-one-role-to-the-next-using-ansible-for-aws/27566 "2018-05-19T17:12:49Z")

</div>

I am working on the restore a DB in AWS RDS using Ansible “rds” module. It worked and I have the DB endpoint “registered” variable rds\_instance. This is run on the localhost. Then I need to provision some AWS EC2 instan…

---

## [Subelements with the query plugin](https://forum.ansible.com/t/subelements-with-the-query-plugin/27565)

<div class="topic-metadata">

**Author:** [@K\_de\_Jong](https://forum.ansible.com/u/K_de_Jong)\
**Replies:** 1\
**Last updated:** [May 19, 2018, 11:29am UTC](https://forum.ansible.com/t/subelements-with-the-query-plugin/27565 "2018-05-19T11:29:15Z")

</div>

I’m trying to figure out how to do ‘subelements’ with the query plugin. The thing below doesn’t work, it complains that “could not find ‘ssh\_key’ key in iterated item”. So the skip\_missing is not working. While when I us…

---

## [Ansible module for vRA](https://forum.ansible.com/t/ansible-module-for-vra/25640)

<div class="topic-metadata">

**Author:** [@Ivan\_Pacheco](https://forum.ansible.com/u/Ivan_Pacheco)\
**Replies:** 4\
**Last updated:** [May 18, 2018, 9:10pm UTC](https://forum.ansible.com/t/ansible-module-for-vra/25640 "2018-05-18T21:10:52Z")

</div>

I’m looking for an ansible module to work with vRA similary to the one to work with vCenter, but so far I’m unable to find any official module. Basically be able to provision VMs and execute tasks over them, shutdown, cl…

---

## [Create AWS WAF rate based rule](https://forum.ansible.com/t/create-aws-waf-rate-based-rule/27561)

<div class="topic-metadata">

**Author:** [@daniel.plappert](https://forum.ansible.com/u/daniel.plappert)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 4:33pm UTC](https://forum.ansible.com/t/create-aws-waf-rate-based-rule/27561 "2018-05-18T16:33:15Z")

</div>

Hi, I am trying to create a rate based WAF rule, but I don’t see how to do it. I am only able to create a “normal” rule with a condition of type IP, geo, etc. The aws\_waf\_condition and aws\_waf\_rule modules have no optio…

---

## [Loading all group\_vars content even if only one is needed](https://forum.ansible.com/t/loading-all-group-vars-content-even-if-only-one-is-needed/26641)

<div class="topic-metadata">

**Author:** [@0lai.mariano](https://forum.ansible.com/u/0lai.mariano)\
**Replies:** 4\
**Last updated:** [May 18, 2018, 4:15pm UTC](https://forum.ansible.com/t/loading-all-group-vars-content-even-if-only-one-is-needed/26641 "2018-05-18T16:15:07Z")

</div>

Hi. I’m encountering a problem in my deployments which may or may not be a bug. In my inventories directory, I have the following files – inventories/prod/group\_vars/a\_server inventories/prod/group\_vars/b\_server inve…

---

## [Cisco jump host](https://forum.ansible.com/t/cisco-jump-host/27554)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 2\
**Last updated:** [May 18, 2018, 3:36pm UTC](https://forum.ansible.com/t/cisco-jump-host/27554 "2018-05-18T15:36:14Z")

</div>

Hi all, I’m using Ansible for network tasks, I would like to know if I can use Ansible to configure a network device having a device in the middle. This is what I mean. Ansible Server —\> Cisco Device —\> Target. I wou…

---

## [How to create a sysadmin via ansible](https://forum.ansible.com/t/how-to-create-a-sysadmin-via-ansible/27559)

<div class="topic-metadata">

**Author:** [@boy\_fantastico](https://forum.ansible.com/u/boy_fantastico)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 10:37am UTC](https://forum.ansible.com/t/how-to-create-a-sysadmin-via-ansible/27559 "2018-05-18T10:37:12Z")

</div>

Good morning I would like to know how would be the easiest way to create a sysadmin for ckan through ansible. In manual installation the command I run is the following: docker exec -it ckan /usr/local/bin/ckan-paster -…

---

## [Ansible with TextFSM](https://forum.ansible.com/t/ansible-with-textfsm/27558)

<div class="topic-metadata">

**Author:** [@YK\_K](https://forum.ansible.com/u/YK_K)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 9:45am UTC](https://forum.ansible.com/t/ansible-with-textfsm/27558 "2018-05-18T09:45:24Z")

</div>

Hi All, I’d like to get "show module " from cisco devices. Although /‘ntc\_module/’ helps to get some information as below(module #, Port #, Module type, model, status) , I need More information is needed. \` Mod Port…

---

## [access to register stdout\_lines attributes](https://forum.ansible.com/t/access-to-register-stdout-lines-attributes/27532)

<div class="topic-metadata">

**Author:** [@deewon](https://forum.ansible.com/u/deewon)\
**Replies:** 1\
**Last updated:** [May 18, 2018, 9:05am UTC](https://forum.ansible.com/t/access-to-register-stdout-lines-attributes/27532 "2018-05-18T09:05:40Z")

</div>

Hi, I have a task that executes a shell command and spews out a few lines. Specifically, it probes a remote DB and and returns some information . Please see below: \` name: Test role delegation to apps hosts: appbox…

---

## [Trying to connect with another user if previews user unable to connect in playbook](https://forum.ansible.com/t/trying-to-connect-with-another-user-if-previews-user-unable-to-connect-in-playbook/27557)

<div class="topic-metadata">

**Author:** [@abhay\_srivastava](https://forum.ansible.com/u/abhay_srivastava)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 8:57am UTC](https://forum.ansible.com/t/trying-to-connect-with-another-user-if-previews-user-unable-to-connect-in-playbook/27557 "2018-05-18T08:57:06Z")

</div>

name: PLAY 1 hosts: all gather\_facts: false remote\_user: centos tasks: import\_tasks: centos\_change\_user.yml ignore\_errors: yes name: PLAY 2 hosts: all gather\_facts: false remote\_user: cloud any\_errors\_fat…

---

## [Ansible 2.5.3 is available](https://forum.ansible.com/t/ansible-2-5-3-is-available/27556)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 6:12am UTC](https://forum.ansible.com/t/ansible-2-5-3-is-available/27556 "2018-05-18T06:12:02Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.3 is now available! How do you get it?

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

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