# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=320

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

**Page:** 321

---

## [Possible to update target OS from an ISO?](https://forum.ansible.com/t/possible-to-update-target-os-from-an-iso/29395)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 2\
**Last updated:** [January 16, 2019, 2:55pm UTC](https://forum.ansible.com/t/possible-to-update-target-os-from-an-iso/29395 "2019-01-16T14:55:36Z")

</div>

We have several remote target machines running Ubuntu 12.04. Is it possible for Ansible to install Ubuntu 18.04 on the target machines from an ISO? I’m trying to avoid an update to 14.04 and then 16.04 and then 18.04. I’…

---

## [Generating Quagga iBGP and eBGP conf files using Ansible](https://forum.ansible.com/t/generating-quagga-ibgp-and-ebgp-conf-files-using-ansible/29420)

<div class="topic-metadata">

**Author:** [@Shahrooz\_Pooryousef](https://forum.ansible.com/u/Shahrooz_Pooryousef)\
**Replies:** 1\
**Last updated:** [January 16, 2019, 2:36pm UTC](https://forum.ansible.com/t/generating-quagga-ibgp-and-ebgp-conf-files-using-ansible/29420 "2019-01-16T14:36:42Z")

</div>

Hi guys, I am going to do an experiment for iBGP and eBGP routers. The tool I am using is Quagga routing software which is a open source routing tool. For each router in Quagga I need to have a conf files which explain…

---

## [Gettting idempotent error while testing using molecule in travis ci](https://forum.ansible.com/t/gettting-idempotent-error-while-testing-using-molecule-in-travis-ci/29447)

<div class="topic-metadata">

**Author:** [@hemanth22](https://forum.ansible.com/u/hemanth22)\
**Replies:** 0\
**Last updated:** [January 16, 2019, 6:30am UTC](https://forum.ansible.com/t/gettting-idempotent-error-while-testing-using-molecule-in-travis-ci/29447 "2019-01-16T06:30:44Z")

</div>

Hello team, i have added creates argument for the command modules as below for idempotent test, this ansible role is working good when tested in vagrant environment. name: Cloning a repository git: repo: “{{ ci\_rep…

---

## [RFC: New parameters/modules for compliance/idempotentcy for Win](https://forum.ansible.com/t/rfc-new-parameters-modules-for-compliance-idempotentcy-for-win/29445)

<div class="topic-metadata">

**Author:** [@goforawalktwice](https://forum.ansible.com/u/goforawalktwice)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 11:41pm UTC](https://forum.ansible.com/t/rfc-new-parameters-modules-for-compliance-idempotentcy-for-win/29445 "2019-01-15T23:41:24Z")

</div>

Hi all, Before embarking on developing changes to some existing Win modules and creating new modules for some specific idempotent handling it’d be good to get some comments on the following. Some items numbered for refe…

---

## [lineinfile module needs return code standard for when: in subsequent plays.](https://forum.ansible.com/t/lineinfile-module-needs-return-code-standard-for-when-in-subsequent-plays/29423)

<div class="topic-metadata">

**Author:** [@Eric\_Clifford](https://forum.ansible.com/u/Eric_Clifford)\
**Replies:** 1\
**Last updated:** [January 15, 2019, 6:05pm UTC](https://forum.ansible.com/t/lineinfile-module-needs-return-code-standard-for-when-in-subsequent-plays/29423 "2019-01-15T18:05:02Z")

</div>

Someday, this will work , when the developer adds support for when changed :slight\_smile: #- name: remove sssd.conf:debug\_level = 9 (X) lineinfile: \> dest=“/etc/sssd/sssd.conf” state=absent backup=yes regexp=“^debug\_lev…

---

## [Ansible Shell With Expect](https://forum.ansible.com/t/ansible-shell-with-expect/29443)

<div class="topic-metadata">

**Author:** [@Freddie\_Eisa](https://forum.ansible.com/u/Freddie_Eisa)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 5:19pm UTC](https://forum.ansible.com/t/ansible-shell-with-expect/29443 "2019-01-15T17:19:25Z")

</div>

We are trying the following name: Configure Orion Agent shell: | set timeout 30 spawn service swiagentd init expect “Choose an option\>” send “2” exit 0 args: executable: /usr/bin/expect We are able to spawn th…

---

## [smart inventory based on inventory variable](https://forum.ansible.com/t/smart-inventory-based-on-inventory-variable/29439)

<div class="topic-metadata">

**Author:** [@Adam\_E](https://forum.ansible.com/u/Adam_E)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 4:58pm UTC](https://forum.ansible.com/t/smart-inventory-based-on-inventory-variable/29439 "2019-01-15T16:58:12Z")

</div>

Hi there, wondering if anyone can point me in the right direction here. I have a AWX inventory with a variable called “environment”, I want to then create a smart inventory that filters all the inventories which have a …

---

## [Copy directory from remote](https://forum.ansible.com/t/copy-directory-from-remote/29433)

<div class="topic-metadata">

**Author:** [@Mangai](https://forum.ansible.com/u/Mangai)\
**Replies:** 1\
**Last updated:** [January 15, 2019, 4:16pm UTC](https://forum.ansible.com/t/copy-directory-from-remote/29433 "2019-01-15T16:16:27Z")

</div>

---

## [Failed. Error Code 1816 - Uninstalling software](https://forum.ansible.com/t/failed-error-code-1816-uninstalling-software/29442)

<div class="topic-metadata">

**Author:** [@shashank\_mishra](https://forum.ansible.com/u/shashank_mishra)\
**Replies:** 0\
**Last updated:** [January 15, 2019, 2:29pm UTC](https://forum.ansible.com/t/failed-error-code-1816-uninstalling-software/29442 "2019-01-15T14:29:18Z")

</div>

Hi All, I am uninstalling a software using Ansible from a windows machine. During un-installation internally we unregister/stop services. We are getting error in this. “Failed Error Code: 1816”. The command we are us…

---

## [Isolated Node - AWX](https://forum.ansible.com/t/isolated-node-awx/26594)

<div class="topic-metadata">

**Author:** [@Sujith\_A\_R1](https://forum.ansible.com/u/Sujith_A_R1)\
**Replies:** 8\
**Last updated:** [January 15, 2019, 1:27pm UTC](https://forum.ansible.com/t/isolated-node-awx/26594 "2019-01-15T13:27:15Z")

</div>

Does AWX support isolated node feature ? or it just a premium feature only for Ansible tower ? Can someone please help to answer this since inventory files for both awx and tower were different and really want to setup i…

---

## [autohealing in gcloud modules](https://forum.ansible.com/t/autohealing-in-gcloud-modules/29440)

<div class="topic-metadata">

**Author:** [@katja.loeffler](https://forum.ansible.com/u/katja.loeffler)\
**Replies:** 0\
**Last updated:** [January 15, 2019, 8:04am UTC](https://forum.ansible.com/t/autohealing-in-gcloud-modules/29440 "2019-01-15T08:04:19Z")

</div>

Help! I have been looking and looking and I cannot find anything. I created my gcloud instance templates, I created a managed instance group, I do have health checks. How can I enable autohealing in my instance group …

---

## [foo.changed vs foo|changed](https://forum.ansible.com/t/foo-changed-vs-foo-changed/29435)

<div class="topic-metadata">

**Author:** [@Jason3](https://forum.ansible.com/u/Jason3)\
**Replies:** 2\
**Last updated:** [January 14, 2019, 6:15pm UTC](https://forum.ansible.com/t/foo-changed-vs-foo-changed/29435 "2019-01-14T18:15:15Z")

</div>

It’s unfortunately exceedingly difficult to search for “|” in most search engines, so finding info about this was not fruitful. My question is, is there a difference between foo.changed and foo|changed, especially used …

---

## [S3 error: Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4](https://forum.ansible.com/t/s3-error-requests-specifying-server-side-encryption-with-aws-kms-managed-keys-require-aws-signature-version-4/29425)

<div class="topic-metadata">

**Author:** [@Kishore\_Ponniah](https://forum.ansible.com/u/Kishore_Ponniah)\
**Replies:** 4\
**Last updated:** [January 14, 2019, 4:55pm UTC](https://forum.ansible.com/t/s3-error-requests-specifying-server-side-encryption-with-aws-kms-managed-keys-require-aws-signature-version-4/29425 "2019-01-14T16:55:40Z")

</div>

Hi All, The template body has exceeded the maximum limit of 51200 bytes, so I wanted to upload the template to an encrypted s3 bucket. When I run the playbook it gives an error to explicitly mention s3v4. My config file…

---

## [awx\_task container won't work with external PostgreSQL](https://forum.ansible.com/t/awx-task-container-wont-work-with-external-postgresql/29434)

<div class="topic-metadata">

**Author:** [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Replies:** 0\
**Last updated:** [January 14, 2019, 2:39pm UTC](https://forum.ansible.com/t/awx-task-container-wont-work-with-external-postgresql/29434 "2019-01-14T14:39:05Z")

</div>

I have deployed AWX on docker-compose with an external PostgreSQl DB. I have commented postgres\_data\_dir in inventory and filled pg\_hostname, pg\_username, pg\_password, pg\_database, pg\_port. I have created the AWX db a…

---

## [Capture the stdout result in a variable, using regex and pass it to the next task](https://forum.ansible.com/t/capture-the-stdout-result-in-a-variable-using-regex-and-pass-it-to-the-next-task/29417)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 2\
**Last updated:** [January 14, 2019, 12:33pm UTC](https://forum.ansible.com/t/capture-the-stdout-result-in-a-variable-using-regex-and-pass-it-to-the-next-task/29417 "2019-01-14T12:33:00Z")

</div>

One task in my playbook produces output sample of different types like below stdout\_lines ex: 1 \[ “\_ \_ \_” “farm/dt-tk-1/env: agent\_tcp” \] ex: 2 \[ “\_ \_ \_” “test/xc-yh-1/qa: agent\_tcp” \] etc I need to captur…

---

## [Using extra vars in inventory plugin](https://forum.ansible.com/t/using-extra-vars-in-inventory-plugin/29018)

<div class="topic-metadata">

**Author:** [@steven](https://forum.ansible.com/u/steven)\
**Replies:** 1\
**Last updated:** [January 14, 2019, 11:02am UTC](https://forum.ansible.com/t/using-extra-vars-in-inventory-plugin/29018 "2019-01-14T11:02:14Z")

</div>

Is there a way to access extra vars from an inventory plugin? I’d like to use values passed in the API call. Thanks, Steven.

---

## [ansible git uri](https://forum.ansible.com/t/ansible-git-uri/29429)

<div class="topic-metadata">

**Author:** [@JS11](https://forum.ansible.com/u/JS11)\
**Replies:** 1\
**Last updated:** [January 14, 2019, 9:26am UTC](https://forum.ansible.com/t/ansible-git-uri/29429 "2019-01-14T09:26:56Z")

</div>

Hello I need to run the following command using ansible: curl --request POST --header "PRIVATE-TOKEN: \<your\_access\_token\>" --header "Content-Type: application/json" --data '{"title": "My deploy key", "key": "ssh-rsa AA…

---

## [How to Copy Files between two Remote Servers using Ansible](https://forum.ansible.com/t/how-to-copy-files-between-two-remote-servers-using-ansible/28007)

<div class="topic-metadata">

**Author:** [@abhinav.grntla](https://forum.ansible.com/u/abhinav.grntla)\
**Replies:** 5\
**Last updated:** [January 14, 2019, 7:42am UTC](https://forum.ansible.com/t/how-to-copy-files-between-two-remote-servers-using-ansible/28007 "2019-01-14T07:42:31Z")

</div>

I am trying to copy the files from Server A to Server B with Ansible running in Server C. I have tried using Ansible Synchronize Module: Exchanged SSH id\_rsa.pub keys between the servers. Was able to ssh between the se…

---

## [unable to  get the output with specific inventory\_hostname](https://forum.ansible.com/t/unable-to-get-the-output-with-specific-inventory-hostname/29432)

<div class="topic-metadata">

**Author:** [@Dinesh\_Singh](https://forum.ansible.com/u/Dinesh_Singh)\
**Replies:** 0\
**Last updated:** [January 13, 2019, 8:27pm UTC](https://forum.ansible.com/t/unable-to-get-the-output-with-specific-inventory-hostname/29432 "2019-01-13T20:27:49Z")

</div>

Hi Everyone, Im trying to fetch output for yum check-update and export the output to a csv file for multiple hosts. but im unable to replace empty line with IP address of each server from inventory\_hostname (which is ip…

---

## ["import\_role" vs "roles"](https://forum.ansible.com/t/import-role-vs-roles/28734)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 4\
**Last updated:** [January 13, 2019, 7:52pm UTC](https://forum.ansible.com/t/import-role-vs-roles/28734 "2019-01-13T19:52:32Z")

</div>

Hi, I would like to clarify things relating to new “import\_role” statement - documentation mentions it as a “new syntax” however it does not mention about the plans for the “roles” syntax. What’s the plan moving forward.…

---

## [How do I run commands such as against generic network devices](https://forum.ansible.com/t/how-do-i-run-commands-such-as-against-generic-network-devices/29430)

<div class="topic-metadata">

**Author:** [@Jarett\_Chaiken](https://forum.ansible.com/u/Jarett_Chaiken)\
**Replies:** 1\
**Last updated:** [January 13, 2019, 7:07pm UTC](https://forum.ansible.com/t/how-do-i-run-commands-such-as-against-generic-network-devices/29430 "2019-01-13T19:07:48Z")

</div>

All, I’m just beginning discovery of using ansible in my environment, and am trying to get an understanding of its capabilities. I’ve been trying to figure out how to send command to generic network devices. That is de…

---

## [Running test-module against any module throwing FileNotFoundError](https://forum.ansible.com/t/running-test-module-against-any-module-throwing-filenotfounderror/29428)

<div class="topic-metadata">

**Author:** [@Isaak](https://forum.ansible.com/u/Isaak)\
**Replies:** 0\
**Last updated:** [January 12, 2019, 6:49am UTC](https://forum.ansible.com/t/running-test-module-against-any-module-throwing-filenotfounderror/29428 "2019-01-12T06:49:40Z")

</div>

Hi Running commands mentioned in test-module example throw errors: https://github.com/ansible/ansible/blob/devel/hacking/test-module#L26 ./hacking/test-module -m lib/ansible/modules/commands/command.py -a “/bin/sleep …

---

## [Oracle 12C hangs with while doing unattended installation](https://forum.ansible.com/t/oracle-12c-hangs-with-while-doing-unattended-installation/28625)

<div class="topic-metadata">

**Author:** [@Isha\_G](https://forum.ansible.com/u/Isha_G)\
**Replies:** 20\
**Last updated:** [January 12, 2019, 3:03am UTC](https://forum.ansible.com/t/oracle-12c-hangs-with-while-doing-unattended-installation/28625 "2019-01-12T03:03:18Z")

</div>

Oracle 12C hangs while doing unattended installation. setup.exe keeps on running and there is no progress with it on the Windows Server 2012. the tasks that I am using is : name: install oracle 12c database win\_comm…

---

## [Escaping - and / in dictionary name](https://forum.ansible.com/t/escaping-and-in-dictionary-name/29426)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 2\
**Last updated:** [January 11, 2019, 9:01pm UTC](https://forum.ansible.com/t/escaping-and-in-dictionary-name/29426 "2019-01-11T21:01:29Z")

</div>

Hi, I’m calling the ansible-network.cisco\_cli parser to parse the show interface of a switchport. It returns the following: “ansible\_facts”: { “cisco\_ios”: { “interfaces”: { “GigabitEthernet1/0/1”: { “admin-status”…

---

## [Using Ansible via a bastion host](https://forum.ansible.com/t/using-ansible-via-a-bastion-host/29427)

<div class="topic-metadata">

**Author:** [@Tim\_Coote](https://forum.ansible.com/u/Tim_Coote)\
**Replies:** 2\
**Last updated:** [January 11, 2019, 7:21pm UTC](https://forum.ansible.com/t/using-ansible-via-a-bastion-host/29427 "2019-01-11T19:21:28Z")

</div>

I’ve encountered a couple of modules where target hosts that are accessed an intermediate host don’t seem to work in a naive way. I’m wondering if this is a known issue and whether there are any workarounds. The latest v…

---

## [Inventory creation for Normal User](https://forum.ansible.com/t/inventory-creation-for-normal-user/29404)

<div class="topic-metadata">

**Author:** [@shashank\_mishra](https://forum.ansible.com/u/shashank_mishra)\
**Replies:** 3\
**Last updated:** [January 11, 2019, 6:34pm UTC](https://forum.ansible.com/t/inventory-creation-for-normal-user/29404 "2019-01-11T18:34:33Z")

</div>

Hi, I have allowed my team to use already defined templates in AWX. All the members are logging as LDAP users and upon logging, they get assigned to a specific team. Now, these users can see the Templates, projects, i…

---

## [Call AWX API with uri module](https://forum.ansible.com/t/call-awx-api-with-uri-module/29424)

<div class="topic-metadata">

**Author:** [@mkempster22uu](https://forum.ansible.com/u/mkempster22uu)\
**Replies:** 2\
**Last updated:** [January 11, 2019, 1:56pm UTC](https://forum.ansible.com/t/call-awx-api-with-uri-module/29424 "2019-01-11T13:56:03Z")

</div>

Is there anyway of sending a limit to the AWX API through the ansible URI module? I can successfully launch jobs without a limit using the below example. But no matter where I try put the limit (within body or out of it)…

---

## [playbook hangs forever](https://forum.ansible.com/t/playbook-hangs-forever/29413)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 2\
**Last updated:** [January 11, 2019, 12:21pm UTC](https://forum.ansible.com/t/playbook-hangs-forever/29413 "2019-01-11T12:21:16Z")

</div>

i have a playbook which hangs at the follwing output. no clue where to look at. i already checked for ssh problems but everythin seems ok. ssh outside ansible also is working. any hints? \` TASK \[install\_additional\_pyt…

---

## [GCP - Error while creating cluster using ansible playbook](https://forum.ansible.com/t/gcp-error-while-creating-cluster-using-ansible-playbook/29422)

<div class="topic-metadata">

**Author:** [@Arvind\_Thatikonda](https://forum.ansible.com/u/Arvind_Thatikonda)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 3:24am UTC](https://forum.ansible.com/t/gcp-error-while-creating-cluster-using-ansible-playbook/29422 "2019-01-11T03:24:18Z")

</div>

Hello All, I am trying to create a GCP cluster using the ansible playbook. Can you please review and advise what could be the issue? When I run the playbook I get the error : I installed the recommended package - requ…

---

## [Automation -  workflow that is built by using Kubernetes, Docker, GCP, spinnaker](https://forum.ansible.com/t/automation-workflow-that-is-built-by-using-kubernetes-docker-gcp-spinnaker/29421)

<div class="topic-metadata">

**Author:** [@Arvind\_Thatikonda](https://forum.ansible.com/u/Arvind_Thatikonda)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 12:59am UTC](https://forum.ansible.com/t/automation-workflow-that-is-built-by-using-kubernetes-docker-gcp-spinnaker/29421 "2019-01-11T00:59:09Z")

</div>

Dear Friends, We have built a solution on GCP using Kubernetes, Docker, spinnaker, Hazelcast, Cassandra, API pool, Jenkins. We want to automate from scratch: The infrastructure builds ( kubernetes cluster, vpc, servic…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=319)

[Next page](https://forum.ansible.com/c/archives/31.md?page=321)
