# Latest

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

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

**Page:** 536

---

## [How long does 'TASK \[local\_docker : Activate postgres container\] ' took to finish?](https://forum.ansible.com/t/how-long-does-task-local-docker-activate-postgres-container-took-to-finish/28103)

<div class="topic-metadata">

**Author:** [@sky.mikebryan](https://forum.ansible.com/u/sky.mikebryan)\
**Replies:** 4\
**Last updated:** [July 26, 2018, 12:20am UTC](https://forum.ansible.com/t/how-long-does-task-local-docker-activate-postgres-container-took-to-finish/28103 "2018-07-26T00:20:15Z")

</div>

I’ve been trying to install AWX but I always got stuck at Activate postgress container TASK \[local\_docker : Set DockerHub Image Paths\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [AWX and Credssp server did not respond with pubKeyAuth info auth was rejected](https://forum.ansible.com/t/awx-and-credssp-server-did-not-respond-with-pubkeyauth-info-auth-was-rejected/28155)

<div class="topic-metadata">

**Author:** [@Kevin\_McDonnell](https://forum.ansible.com/u/Kevin_McDonnell)\
**Replies:** 0\
**Last updated:** [July 26, 2018, 12:07am UTC](https://forum.ansible.com/t/awx-and-credssp-server-did-not-respond-with-pubkeyauth-info-auth-was-rejected/28155 "2018-07-26T00:07:37Z")

</div>

I’m working with Windows machines via WINRM and Credssp. With AWX running on a RedHat server. My playbooks work from the command line, but when I run them from the AWX server they fail with: WINRM CONNECTION ERROR: The…

---

## [Role interface design questions](https://forum.ansible.com/t/role-interface-design-questions/28099)

<div class="topic-metadata">

**Author:** [@Pavel\_Cahyna](https://forum.ansible.com/u/Pavel_Cahyna)\
**Replies:** 4\
**Last updated:** [July 25, 2018, 11:10pm UTC](https://forum.ansible.com/t/role-interface-design-questions/28099 "2018-07-25T23:10:54Z")

</div>

Hello, we would like to make some improvements of the roles contained in the linux-syste-roles project (https://github.com/linux-system-roles) and we would like feedback on the design / user interface choices. The is…

---

## [Inventory path in ansible plugin](https://forum.ansible.com/t/inventory-path-in-ansible-plugin/28151)

<div class="topic-metadata">

**Author:** [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Replies:** 3\
**Last updated:** [July 25, 2018, 4:58pm UTC](https://forum.ansible.com/t/inventory-path-in-ansible-plugin/28151 "2018-07-25T16:58:34Z")

</div>

How to get inventory path in call back plugin: I found this, however it is not working.. I’m developing my plugin where I need inventory path to work on other things. Any help will be appreciated In short, is there a w…

---

## [Encrypted variables for hosts](https://forum.ansible.com/t/encrypted-variables-for-hosts/28140)

<div class="topic-metadata">

**Author:** [@supermario18b](https://forum.ansible.com/u/supermario18b)\
**Replies:** 2\
**Last updated:** [July 25, 2018, 4:31pm UTC](https://forum.ansible.com/t/encrypted-variables-for-hosts/28140 "2018-07-25T16:31:57Z")

</div>

Hi everyone, I read about encrypted variables in the ansible documentation that the best practice to manage encrypted variables (only variables not the whole yml file) is to use a var file and a vault file in groups\_var…

---

## [ansible-automation.slack.com slack channel](https://forum.ansible.com/t/ansible-automation-slack-com-slack-channel/28150)

<div class="topic-metadata">

**Author:** [@Murali\_Krishna1](https://forum.ansible.com/u/Murali_Krishna1)\
**Replies:** 2\
**Last updated:** [July 25, 2018, 2:34pm UTC](https://forum.ansible.com/t/ansible-automation-slack-com-slack-channel/28150 "2018-07-25T14:34:47Z")

</div>

Hello Everyone, Slack is a common way to communicate with other Ansible users outside of user groups, the annual conference, or other Ansible and industry events. This form of chat enables anyone to communicate with the…

---

## [Can INVENTORY pass json strings directly?](https://forum.ansible.com/t/can-inventory-pass-json-strings-directly/28124)

<div class="topic-metadata">

**Author:** [@Neil\_Wang](https://forum.ansible.com/u/Neil_Wang)\
**Replies:** 3\
**Last updated:** [July 25, 2018, 1:24pm UTC](https://forum.ansible.com/t/can-inventory-pass-json-strings-directly/28124 "2018-07-25T13:24:33Z")

</div>

Usually we run ansible-playbook ，“ansible-playbook -i host.py fig.yaml” Do we want this to be done? eg: ansible-playbook -i {“all”: {“hosts”: \[“192.168.1.153”\],“vars”: {“username”: “aaaa”,“password”: “bbbb”,“hostname”…

---

## [How to disable Ansible remote logging](https://forum.ansible.com/t/how-to-disable-ansible-remote-logging/28149)

<div class="topic-metadata">

**Author:** [@anaparthi\_naresh\_bab](https://forum.ansible.com/u/anaparthi_naresh_bab)\
**Replies:** 1\
**Last updated:** [July 25, 2018, 11:28am UTC](https://forum.ansible.com/t/how-to-disable-ansible-remote-logging/28149 "2018-07-25T11:28:15Z")

</div>

Hi, As part of executing Ansible playbook, Seeing below lines are being logged on Remote Host. Would like to know if there is any option to disable this. Tried no\_log option. But no luck. remoteHost sudo: em9admin : T…

---

## [No AWX configuration found at /etc/tower/settings.py](https://forum.ansible.com/t/no-awx-configuration-found-at-etc-tower-settings-py/28147)

<div class="topic-metadata">

**Author:** [@vaibhav\_kanchan](https://forum.ansible.com/u/vaibhav_kanchan)\
**Replies:** 0\
**Last updated:** [July 25, 2018, 9:47am UTC](https://forum.ansible.com/t/no-awx-configuration-found-at-etc-tower-settings-py/28147 "2018-07-25T09:47:59Z")

</div>

hi all, I am trying to install aws tower but its getting failed here… any pointer to fix this TASK \[awx\_install : Migrate the Tower database schema (may take awhile when upgrading).\] \*\*\* fatal: \[localhost\]: FAILED! =\> …

---

## [lineinfile creates a backup everytime it is used in a role](https://forum.ansible.com/t/lineinfile-creates-a-backup-everytime-it-is-used-in-a-role/28077)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 4\
**Last updated:** [July 25, 2018, 5:50am UTC](https://forum.ansible.com/t/lineinfile-creates-a-backup-everytime-it-is-used-in-a-role/28077 "2018-07-25T05:50:22Z")

</div>

Hello all, I have to make sure that certain lines are present in the file /etc/postfix/main.cf. I’m not allowed to control the whole file, so I cannot use the template module. The lines are only allowed to exist once in…

---

## [Run simultaneously in all servers](https://forum.ansible.com/t/run-simultaneously-in-all-servers/28145)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 6\
**Last updated:** [July 25, 2018, 5:15am UTC](https://forum.ansible.com/t/run-simultaneously-in-all-servers/28145 "2018-07-25T05:15:44Z")

</div>

Is there a way that I can run a playbook that lets say patches where it will patch all hosts in a group simultaneously instead of running systematically through each individual server? Thanks!

---

## [Multi line Shell script in ansible shell module.](https://forum.ansible.com/t/multi-line-shell-script-in-ansible-shell-module/28137)

<div class="topic-metadata">

**Author:** [@tharun.kumarc09](https://forum.ansible.com/u/tharun.kumarc09)\
**Replies:** 2\
**Last updated:** [July 25, 2018, 4:19am UTC](https://forum.ansible.com/t/multi-line-shell-script-in-ansible-shell-module/28137 "2018-07-25T04:19:08Z")

</div>

I am a newbie with ansible. Currently i have shell script to purge the rds snapshots if expiration tag is matching the current date. This is how script looks like: #!/bin/bash date=$(date +%F) echo $date get\_rds() { …

---

## [Access static variables while using dynamic inventory](https://forum.ansible.com/t/access-static-variables-while-using-dynamic-inventory/28143)

<div class="topic-metadata">

**Author:** [@Suraj\_D](https://forum.ansible.com/u/Suraj_D)\
**Replies:** 1\
**Last updated:** [July 25, 2018, 4:10am UTC](https://forum.ansible.com/t/access-static-variables-while-using-dynamic-inventory/28143 "2018-07-25T04:10:51Z")

</div>

I am trying to use dynamic inventory using AWS Ec2 along with some static variables. I created a directory which contains ec2.py, ec2.ini (aws config files as stated in the docs) and vars.ini (containing my static variab…

---

## [ansible-automation slack channel](https://forum.ansible.com/t/ansible-automation-slack-channel/28146)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [July 25, 2018, 3:23am UTC](https://forum.ansible.com/t/ansible-automation-slack-channel/28146 "2018-07-25T03:23:19Z")

</div>

Be aware that this is not an 'official' channel, several exist already (or have been attempted) on different platforms (including slack), but the Ansible core team is only on the Google groups mailing lists and IRC (#…

---

## [wait\_for on reboot doesn't seem to be waiting.](https://forum.ansible.com/t/wait-for-on-reboot-doesnt-seem-to-be-waiting/28139)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 4\
**Last updated:** [July 24, 2018, 11:28pm UTC](https://forum.ansible.com/t/wait-for-on-reboot-doesnt-seem-to-be-waiting/28139 "2018-07-24T23:28:11Z")

</div>

Hi all, I’m trying to write a playbook that patches and reboots a server if necessary to apply kernel updates, etc. When I run it, it reboots and loses the connection instead of applying the wait\_for piece. Any ideas? …

---

## [How to have windows configured with ansible automatically](https://forum.ansible.com/t/how-to-have-windows-configured-with-ansible-automatically/21041)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 6\
**Last updated:** [July 24, 2018, 8:22pm UTC](https://forum.ansible.com/t/how-to-have-windows-configured-with-ansible-automatically/21041 "2018-07-24T20:22:53Z")

</div>

Hi My requirement is Provision a windows machine and run the playbooks without manual intervention. In this case, we cannot run the playbooks as windows is not configured for ansible. ie ConfigureRemotingForAnsible.ps1 …

---

## [ansible find](https://forum.ansible.com/t/ansible-find/28110)

<div class="topic-metadata">

**Author:** [@metatestingbell2](https://forum.ansible.com/u/metatestingbell2)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 7:45pm UTC](https://forum.ansible.com/t/ansible-find/28110 "2018-07-24T19:45:40Z")

</div>

Hi, I have a variable aaa, and its content is formatted in json format . I’m trying to run a ‘find’ command on the value of “output” , however i’m not sure how I can just get the value of “output” I tried \*, brackets… w…

---

## [docker\_image  state: absent leaves images as untagged ??](https://forum.ansible.com/t/docker-image-state-absent-leaves-images-as-untagged/28134)

<div class="topic-metadata">

**Author:** [@Albert\_Shamsiyan](https://forum.ansible.com/u/Albert_Shamsiyan)\
**Replies:** 3\
**Last updated:** [July 24, 2018, 4:27pm UTC](https://forum.ansible.com/t/docker-image-state-absent-leaves-images-as-untagged/28134 "2018-07-24T16:27:10Z")

</div>

Hi, After successful execution of the following code, I can see that the images are left in untagged state. What am I doing wrong?? name: Remove image docker\_image: state: absent name: docker.mycomp.com/myapp/myapp…

---

## [docker\_container module always fails to update 'kernel\_memory' attribute on a running container.](https://forum.ansible.com/t/docker-container-module-always-fails-to-update-kernel-memory-attribute-on-a-running-container/28056)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 4:23pm UTC](https://forum.ansible.com/t/docker-container-module-always-fails-to-update-kernel-memory-attribute-on-a-running-container/28056 "2018-07-24T16:23:56Z")

</div>

Hi, I had some containers started with some attributes as variables, values of which i wish to control later. So consider this docker task: \` name: Start container docker\_container: name: “{{cname}}” image: “{{ im…

---

## [Ansilbe tower install fail](https://forum.ansible.com/t/ansilbe-tower-install-fail/26880)

<div class="topic-metadata">

**Author:** [@Abhishek\_Reddy](https://forum.ansible.com/u/Abhishek_Reddy)\
**Replies:** 3\
**Last updated:** [July 24, 2018, 3:17pm UTC](https://forum.ansible.com/t/ansilbe-tower-install-fail/26880 "2018-07-24T15:17:16Z")

</div>

Hi, I’m trying to install ansible tower version of 3.2.3-1.el7.x86\_64 on a redhat 7.4 OS. i’m getting error as TASK \[postgres : create the postgres user and set the password\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Google cloud Instance](https://forum.ansible.com/t/google-cloud-instance/28136)

<div class="topic-metadata">

**Author:** [@Juraj\_Papic1](https://forum.ansible.com/u/Juraj_Papic1)\
**Replies:** 0\
**Last updated:** [July 24, 2018, 2:38pm UTC](https://forum.ansible.com/t/google-cloud-instance/28136 "2018-07-24T14:38:02Z")

</div>

Hi all, I will need help to create a playbook to start/stop Google cloud instance, I was searching for info, but Im lost with this, Any help appreciated. thanks.

---

## [win\_copy betwen two win servers with ntlm auth](https://forum.ansible.com/t/win-copy-betwen-two-win-servers-with-ntlm-auth/28132)

<div class="topic-metadata">

**Author:** [@Klemen\_Vicic](https://forum.ansible.com/u/Klemen_Vicic)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 2:30pm UTC](https://forum.ansible.com/t/win-copy-betwen-two-win-servers-with-ntlm-auth/28132 "2018-07-24T14:30:06Z")

</div>

Hello, I’m trying to copy files betwen two win servers with ntlm authentication. This is my ansible hosts conf: \` Windows servers configuration \` \[win\] server1.domain.com server2.domain.com \[win:vars\] ansible\_use…

---

## [with list how to split from comma(,) with index number value ansible](https://forum.ansible.com/t/with-list-how-to-split-from-comma-with-index-number-value-ansible/28133)

<div class="topic-metadata">

**Author:** [@Atul\_Sharma](https://forum.ansible.com/u/Atul_Sharma)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 11:13am UTC](https://forum.ansible.com/t/with-list-how-to-split-from-comma-with-index-number-value-ansible/28133 "2018-07-24T11:13:49Z")

</div>

Hello i have csv file and want to read line by line and split the string with comma(,) along with index number and want to store in register variable from following gsv i want to fetch user\_name which is in index number…

---

## [Ansible Licensing for callback plugin](https://forum.ansible.com/t/ansible-licensing-for-callback-plugin/28129)

<div class="topic-metadata">

**Author:** [@utkarsh\_srivastava](https://forum.ansible.com/u/utkarsh_srivastava)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 7:20am UTC](https://forum.ansible.com/t/ansible-licensing-for-callback-plugin/28129 "2018-07-24T07:20:20Z")

</div>

Hi, Need help to understand, if i develop a callback plugin by using default functions. Would it go under licencing of GNU General Public License v3.0. Kindly help to understand ansible licensing. Thanks in advance. R…

---

## [ansible\_become\_pass remain stored/cached](https://forum.ansible.com/t/ansible-become-pass-remain-stored-cached/28131)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [July 24, 2018, 7:07am UTC](https://forum.ansible.com/t/ansible-become-pass-remain-stored-cached/28131 "2018-07-24T07:07:45Z")

</div>

This can be several things, are you sure you don't have it set somewhere else? You can check with: ansible all -i inventory -m debug -a var=ansible\_become\_pass and/or grep -r ansible\_become\_pass If all is loca…

---

## [which one to release, modules or roles ?](https://forum.ansible.com/t/which-one-to-release-modules-or-roles/28122)

<div class="topic-metadata">

**Author:** [@senthil-t](https://forum.ansible.com/u/senthil-t)\
**Replies:** 4\
**Last updated:** [July 24, 2018, 5:42am UTC](https://forum.ansible.com/t/which-one-to-release-modules-or-roles/28122 "2018-07-24T05:42:55Z")

</div>

Hi Team, We are planning to automate/manage the softwares on our proprietary server. like installing, start, stop, delete the software’s. we have wrote set of custom modules to do so. Now we have 2 options to release, …

---

## [Overriding ansible.cfg with extra vars](https://forum.ansible.com/t/overriding-ansible-cfg-with-extra-vars/28130)

<div class="topic-metadata">

**Author:** [@hackmabrain](https://forum.ansible.com/u/hackmabrain)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 5:23am UTC](https://forum.ansible.com/t/overriding-ansible-cfg-with-extra-vars/28130 "2018-07-24T05:23:43Z")

</div>

I define a custom ansible.cfg, and export it as below in the export ANSIBLE\_CONFIG="../aws\_ansible.cfg" when I run it, this is picked up but when I pass the inventory as an arg, it fails to recognize the arg or take p…

---

## [Anisble: List of packages version comparison on suse 11](https://forum.ansible.com/t/anisble-list-of-packages-version-comparison-on-suse-11/28118)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 5:04am UTC](https://forum.ansible.com/t/anisble-list-of-packages-version-comparison-on-suse-11/28118 "2018-07-24T05:04:46Z")

</div>

I have a list of packages with version and I want to check on the system and compare the version with the list. I am able to check a single package using version\_compare. how can I compare with the list?

---

## [Slack notifications malformed URLs](https://forum.ansible.com/t/slack-notifications-malformed-urls/28128)

<div class="topic-metadata">

**Author:** [@Travis\_Burrell](https://forum.ansible.com/u/Travis_Burrell)\
**Replies:** 1\
**Last updated:** [July 23, 2018, 8:23pm UTC](https://forum.ansible.com/t/slack-notifications-malformed-urls/28128 "2018-07-23T20:23:49Z")

</div>

I’ve successfully setup the Slack notification, but the URLs are incorrect. E.g. the notification gives you https://hostname/#/jobs/429 when in reality, it should be https://hostname/#/jobz/playbook/429. Which means that…

---

## [Failure trying to install remote yum package](https://forum.ansible.com/t/failure-trying-to-install-remote-yum-package/28127)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 3\
**Last updated:** [July 23, 2018, 6:27pm UTC](https://forum.ansible.com/t/failure-trying-to-install-remote-yum-package/28127 "2018-07-23T18:27:01Z")

</div>

This is my playbook: tasks: name: download puppet5 rpm yum: name: https://yum.puppetlabs.com/puppet5/puppet5-release-el-6.noarch.rpm state: present Note: This is only failing on RHEL6 systems. So it’s got to be so…

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

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