# Latest

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

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

**Page:** 710

---

## [Using Ansible w/ Windows with strict security](https://forum.ansible.com/t/using-ansible-w-windows-with-strict-security/23006)

<div class="topic-metadata">

**Author:** [@bigbookcp](https://forum.ansible.com/u/bigbookcp)\
**Replies:** 3\
**Last updated:** [November 14, 2016, 4:50pm UTC](https://forum.ansible.com/t/using-ansible-w-windows-with-strict-security/23006 "2016-11-14T16:50:16Z")

</div>

Our environment is under some pretty strict security requirements and it’s causing lots of issues. First, we don’t have an active directory set up (all local accounts, I know it’s stupid but I’m just the idiot trying to …

---

## [become module executable shell problem](https://forum.ansible.com/t/become-module-executable-shell-problem/23019)

<div class="topic-metadata">

**Author:** [@Ricardo\_Esteves](https://forum.ansible.com/u/Ricardo_Esteves)\
**Replies:** 1\
**Last updated:** [November 14, 2016, 4:28pm UTC](https://forum.ansible.com/t/become-module-executable-shell-problem/23019 "2016-11-14T16:28:50Z")

</div>

Hi, I’m trying to use the become module to execute some commands as root, but i’m having some troubles because of the restrictions i have on remote server. It seems the become module executes sudo with a shell to execu…

---

## [Sorry, user xxxxx is not allowed to execute '/bin/sh -c echo BECOME-SUCCESS](https://forum.ansible.com/t/sorry-user-xxxxx-is-not-allowed-to-execute-bin-sh-c-echo-become-success/20820)

<div class="topic-metadata">

**Author:** [@Juan\_Roman](https://forum.ansible.com/u/Juan_Roman)\
**Replies:** 3\
**Last updated:** [November 14, 2016, 4:23pm UTC](https://forum.ansible.com/t/sorry-user-xxxxx-is-not-allowed-to-execute-bin-sh-c-echo-become-success/20820 "2016-11-14T16:23:07Z")

</div>

Sorry is this has been posted and answered by I find nothing while searching. I’m attempting to connect to my AIX server but can’t sudo. Here’s my sudo setup. xxxxx ALL=(ALL) /usr/bin/su -,/usr/bin/su - GATHERING FACT…

---

## [i Cant connect to windows server](https://forum.ansible.com/t/i-cant-connect-to-windows-server/23021)

<div class="topic-metadata">

**Author:** [@challa.tek](https://forum.ansible.com/u/challa.tek)\
**Replies:** 0\
**Last updated:** [November 14, 2016, 4:10pm UTC](https://forum.ansible.com/t/i-cant-connect-to-windows-server/23021 "2016-11-14T16:10:28Z")

</div>

your server is still trying to ssh into the server. host file should like this: localhost ansible\_connection=local \[win\] 10.XXX.XXX.XXX \[win:vars\] ansible\_connection=winrm ansible\_ssh\_port=5986 ansible\_ssh\_user…

---

## [VRO/Ansible/Windows Integration Information](https://forum.ansible.com/t/vro-ansible-windows-integration-information/23020)

<div class="topic-metadata">

**Author:** [@bwieberd](https://forum.ansible.com/u/bwieberd)\
**Replies:** 0\
**Last updated:** [November 14, 2016, 2:10pm UTC](https://forum.ansible.com/t/vro-ansible-windows-integration-information/23020 "2016-11-14T14:10:33Z")

</div>

I can find a lot of information on launching a playbook from VMWare’s vRealize/VRO to run on a Linux server but not on launching a playbook from VRO to run on a Windows server. With the connection between the Ansible Man…

---

## [ansible module to partition and format disk](https://forum.ansible.com/t/ansible-module-to-partition-and-format-disk/17310)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 4\
**Last updated:** [November 14, 2016, 1:28pm UTC](https://forum.ansible.com/t/ansible-module-to-partition-and-format-disk/17310 "2016-11-14T13:28:02Z")

</div>

Hi, What are the ansible modules to partition and format (mkfs.ext4) disks? Thank you. j

---

## [nxos\_portchannel not creating port channel](https://forum.ansible.com/t/nxos-portchannel-not-creating-port-channel/23017)

<div class="topic-metadata">

**Author:** [@scarter](https://forum.ansible.com/u/scarter)\
**Replies:** 0\
**Last updated:** [November 14, 2016, 12:55pm UTC](https://forum.ansible.com/t/nxos-portchannel-not-creating-port-channel/23017 "2016-11-14T12:55:21Z")

</div>

I have the following module invocation: name: Create port-channels on the ToR(s) nxos\_portchannel: host: “{{ item.switch }}” transport: cli group: “{{ item.interface | regex\_replace(‘\[1\]+(\[0-9\]+)$’, ‘\\1’) }}” memb…

---

## [Win-Command throwing syntax error](https://forum.ansible.com/t/win-command-throwing-syntax-error/23011)

<div class="topic-metadata">

**Author:** [@challa.tek](https://forum.ansible.com/u/challa.tek)\
**Replies:** 2\
**Last updated:** [November 14, 2016, 1:20am UTC](https://forum.ansible.com/t/win-command-throwing-syntax-error/23011 "2016-11-14T01:20:12Z")

</div>

I have a role to install different softwares on win host. i am getting this error: ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path. The error appears to have …

---

## [.yml is failing with syntax error -- need advise](https://forum.ansible.com/t/yml-is-failing-with-syntax-error-need-advise/23015)

<div class="topic-metadata">

**Author:** [@Shaikh\_Abdul](https://forum.ansible.com/u/Shaikh_Abdul)\
**Replies:** 3\
**Last updated:** [November 13, 2016, 5:21pm UTC](https://forum.ansible.com/t/yml-is-failing-with-syntax-error-need-advise/23015 "2016-11-13T17:21:55Z")

</div>

Hi Experts, My export.yml is failing,please correct me \[oracle@node02 ~\]$ cat export.yml

---

## [Can Ipaddress of the target be fetched by ansible?](https://forum.ansible.com/t/can-ipaddress-of-the-target-be-fetched-by-ansible/23010)

<div class="topic-metadata">

**Author:** [@anirudh\_vasudevan](https://forum.ansible.com/u/anirudh_vasudevan)\
**Replies:** 4\
**Last updated:** [November 12, 2016, 11:15am UTC](https://forum.ansible.com/t/can-ipaddress-of-the-target-be-fetched-by-ansible/23010 "2016-11-12T11:15:53Z")

</div>

I know the conventional way of using Ansible is copying the ssh key on to the target and then adding the ip address to the inventory file. In my case I will not know the Ip address of the target that am testing on, how c…

---

## [Ansible tower - Live events support](https://forum.ansible.com/t/ansible-tower-live-events-support/19112)

<div class="topic-metadata">

**Author:** [@fengnan\_zhao](https://forum.ansible.com/u/fengnan_zhao)\
**Replies:** 5\
**Last updated:** [November 11, 2016, 6:49pm UTC](https://forum.ansible.com/t/ansible-tower-live-events-support/19112 "2016-11-11T18:49:11Z")

</div>

the Live Events doesn’t work on my tower(running in my local ubuntu 14) , so I follow the instruction to hit https://localhost:8080 with my firefox : Secure Connection Failed An error occurred during a connection to ub…

---

## [Ansible 2.2 strategy for using when conditional statements to skip tasks](https://forum.ansible.com/t/ansible-2-2-strategy-for-using-when-conditional-statements-to-skip-tasks/23009)

<div class="topic-metadata">

**Author:** [@Sean\_Cavanaugh1](https://forum.ansible.com/u/Sean_Cavanaugh1)\
**Replies:** 1\
**Last updated:** [November 11, 2016, 4:23pm UTC](https://forum.ansible.com/t/ansible-2-2-strategy-for-using-when-conditional-statements-to-skip-tasks/23009 "2016-11-11T16:23:31Z")

</div>

In a lot our templates we have loads of variables that we may or may not use within tasks. The desired behavior is ‘if’ the variable is not defined within vars or group\_vars that we just skip the task. This has been wond…

---

## [Move on second server only if first server is unreachable](https://forum.ansible.com/t/move-on-second-server-only-if-first-server-is-unreachable/22999)

<div class="topic-metadata">

**Author:** [@Mpampis\_Mpigkonias](https://forum.ansible.com/u/Mpampis_Mpigkonias)\
**Replies:** 4\
**Last updated:** [November 11, 2016, 4:09pm UTC](https://forum.ansible.com/t/move-on-second-server-only-if-first-server-is-unreachable/22999 "2016-11-11T16:09:16Z")

</div>

Hello people, I have two synced LDAP servers (Master / Master configured). I want to call a role on one server and try to connect to the second ldap server to run this role ONLY IF the first server is not reachable for …

---

## [Custom Connection Plugin - to instatiate any generic "connection"](https://forum.ansible.com/t/custom-connection-plugin-to-instatiate-any-generic-connection/23004)

<div class="topic-metadata">

**Author:** [@ayynadar](https://forum.ansible.com/u/ayynadar)\
**Replies:** 2\
**Last updated:** [November 11, 2016, 3:27pm UTC](https://forum.ansible.com/t/custom-connection-plugin-to-instatiate-any-generic-connection/23004 "2016-11-11T15:27:59Z")

</div>

Hello - I spend a fair bit of time researching and the answer eludes me. Hoping that it is a simple mis-conception of mine that someone will correct. I currently have a custom module to make REST API calls to a bunch of…

---

## [Host variables validation using action\_plugins](https://forum.ansible.com/t/host-variables-validation-using-action-plugins/23008)

<div class="topic-metadata">

**Author:** [@David\_Schweikert](https://forum.ansible.com/u/David_Schweikert)\
**Replies:** 0\
**Last updated:** [November 11, 2016, 1:33pm UTC](https://forum.ansible.com/t/host-variables-validation-using-action-plugins/23008 "2016-11-11T13:33:11Z")

</div>

Hi, I just discovered a way to validate my host variables before starting to push changes, and I wrote an article about it. Maybe it is of interest to somebody: https://medium.com/@schweikert/host-variables-validation…

---

## [failed (rc=2) with output: python:inventory.py':\[Errno 2\] No such file or directory](https://forum.ansible.com/t/failed-rc-2-with-output-python-inventory-py-errno-2-no-such-file-or-directory/23002)

<div class="topic-metadata">

**Author:** [@Amit\_Saini](https://forum.ansible.com/u/Amit_Saini)\
**Replies:** 1\
**Last updated:** [November 10, 2016, 11:26pm UTC](https://forum.ansible.com/t/failed-rc-2-with-output-python-inventory-py-errno-2-no-such-file-or-directory/23002 "2016-11-10T23:26:32Z")

</div>

Hi Friends, I am trying to add and run Inventory with custom script in ansible tower but every time getting this error RuntimeError: \[‘proot’, ‘-v’, ‘0’, ‘-r’, ‘/’, ‘-b’, ‘/tmp/ansible\_tower\_launch\_11iaMR/tmp41GNon:/et…

---

## [where to install systemd unit files](https://forum.ansible.com/t/where-to-install-systemd-unit-files/23005)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 3\
**Last updated:** [November 10, 2016, 10:05pm UTC](https://forum.ansible.com/t/where-to-install-systemd-unit-files/23005 "2016-11-10T22:05:50Z")

</div>

HI! Is there any fact or similar pointing to the directory where to install systemd unit files on different Linux distros? Output of systemd-path is not helpful for this. Currently I have in a custom map: Debian: …

---

## [return values of dictionary fields using j2](https://forum.ansible.com/t/return-values-of-dictionary-fields-using-j2/23000)

<div class="topic-metadata">

**Author:** [@Alix\_Ak](https://forum.ansible.com/u/Alix_Ak)\
**Replies:** 2\
**Last updated:** [November 10, 2016, 5:38pm UTC](https://forum.ansible.com/t/return-values-of-dictionary-fields-using-j2/23000 "2016-11-10T17:38:11Z")

</div>

hallo all, i have defined following variables in my playbook:

---

## [Ansible production and development, change hostname](https://forum.ansible.com/t/ansible-production-and-development-change-hostname/22989)

<div class="topic-metadata">

**Author:** [@Victor\_Caballero](https://forum.ansible.com/u/Victor_Caballero)\
**Replies:** 2\
**Last updated:** [November 10, 2016, 5:11pm UTC](https://forum.ansible.com/t/ansible-production-and-development-change-hostname/22989 "2016-11-10T17:11:31Z")

</div>

Hello, I want to use the same playbook for production and development. The playbook is divided in separate role-hosts, let’s say: pubsubservers and mongoservers. I have a hosts file assigning the hostnames: \[mongoserve…

---

## [Ansible Tower connection error with Node in CentOS](https://forum.ansible.com/t/ansible-tower-connection-error-with-node-in-centos/22998)

<div class="topic-metadata">

**Author:** [@Balu\_Kompalli](https://forum.ansible.com/u/Balu_Kompalli)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 1:10pm UTC](https://forum.ansible.com/t/ansible-tower-connection-error-with-node-in-centos/22998 "2016-11-10T13:10:44Z")

</div>

Hello Team, I have installed Ansible tower in my VM and I disable all my firewalls. I have public IP and changed the Apache tomcat port from default to 1010 as my necessity. But Ansible tower is not able to connect to…

---

## [Create fluentd tag in dynamic way](https://forum.ansible.com/t/create-fluentd-tag-in-dynamic-way/22996)

<div class="topic-metadata">

**Author:** [@Viktor\_Kucher](https://forum.ansible.com/u/Viktor_Kucher)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 10:35am UTC](https://forum.ansible.com/t/create-fluentd-tag-in-dynamic-way/22996 "2016-11-10T10:35:41Z")

</div>

Hi everyone, I would like run docker container with log-driver as fluentd. I can’t create fluentd tag in dynamic way, like below name: “run container” docker: name: api image: api state: started restart\_policy: a…

---

## [ansible-galaxy download roles for offline installs](https://forum.ansible.com/t/ansible-galaxy-download-roles-for-offline-installs/22992)

<div class="topic-metadata">

**Author:** [@Liam\_Chasteen](https://forum.ansible.com/u/Liam_Chasteen)\
**Replies:** 1\
**Last updated:** [November 10, 2016, 10:22am UTC](https://forum.ansible.com/t/ansible-galaxy-download-roles-for-offline-installs/22992 "2016-11-10T10:22:19Z")

</div>

Hello all- I’m using Ansible at work to automate various workflows, and one of the requirements is deterministic repeatable installs of the ansible environment. As part of this, all installations need to be able to inst…

---

## [Pull Request 3414 New modules to manage tenant/project quotas in cloud OpenStack](https://forum.ansible.com/t/pull-request-3414-new-modules-to-manage-tenant-project-quotas-in-cloud-openstack/22995)

<div class="topic-metadata">

**Author:** [@Andrea\_Mercanti](https://forum.ansible.com/u/Andrea_Mercanti)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 9:07am UTC](https://forum.ansible.com/t/pull-request-3414-new-modules-to-manage-tenant-project-quotas-in-cloud-openstack/22995 "2016-11-10T09:07:52Z")

</div>

Hi, I have done the pull request 3414 to propose three modules: os\_compute\_quotas os\_network\_quotas os\_volume\_quotas to manage tenant/project quotas in cloud OpenStack. I need help with the pull request, the CI auto…

---

## [/etc/ansible/facts.d/common.fact =\> \[Errno 8\] Exec format error](https://forum.ansible.com/t/etc-ansible-facts-d-common-fact-errno-8-exec-format-error/22991)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [November 10, 2016, 8:39am UTC](https://forum.ansible.com/t/etc-ansible-facts-d-common-fact-errno-8-exec-format-error/22991 "2016-11-10T08:39:40Z")

</div>

I believe the code path will look to see if the file is executable, and try to execute it. I’d make sure that the file isn’t executable. If it’s not executable, ansible will just read it, and then parse.

---

## [Script to be run from the ansible module docker\_container](https://forum.ansible.com/t/script-to-be-run-from-the-ansible-module-docker-container/22994)

<div class="topic-metadata">

**Author:** [@MHM\_Reddy](https://forum.ansible.com/u/MHM_Reddy)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 8:14am UTC](https://forum.ansible.com/t/script-to-be-run-from-the-ansible-module-docker-container/22994 "2016-11-10T08:14:15Z")

</div>

Hi All, I am very new to ansible and trying to explore. I have requirement of launching docker container out of my box and execute series of scripts in the docker container. name: Execute xpcgen inside the container …

---

## [requirements for share roles](https://forum.ansible.com/t/requirements-for-share-roles/22993)

<div class="topic-metadata">

**Author:** [@Jian\_Zhang](https://forum.ansible.com/u/Jian_Zhang)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 3:42am UTC](https://forum.ansible.com/t/requirements-for-share-roles/22993 "2016-11-10T03:42:36Z")

</div>

Hi Guys, I not clear the requirements for source-roles on the Github. Assume that I have a ansible project on the github, including multi roles and other files. Can I use it as a role via ansible-galaxy command direct…

---

## [ansible 2.0.1.0 run show version with Cisco ASA-55x0](https://forum.ansible.com/t/ansible-2-0-1-0-run-show-version-with-cisco-asa-55x0/21625)

<div class="topic-metadata">

**Author:** [@Ludi\_Fang](https://forum.ansible.com/u/Ludi_Fang)\
**Replies:** 29\
**Last updated:** [November 9, 2016, 9:26pm UTC](https://forum.ansible.com/t/ansible-2-0-1-0-run-show-version-with-cisco-asa-55x0/21625 "2016-11-09T21:26:08Z")

</div>

I could login the cisco device with SSH and run the show version successfully.

---

## [Inconsistent regex search results in where conditional?](https://forum.ansible.com/t/inconsistent-regex-search-results-in-where-conditional/22955)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 2\
**Last updated:** [November 9, 2016, 9:00pm UTC](https://forum.ansible.com/t/inconsistent-regex-search-results-in-where-conditional/22955 "2016-11-09T21:00:26Z")

</div>

Hello - I am working through some seemingly inconsistent results for regex search results in where clauses. I’m trying to take actions when stdout contains a certain regex pattern. I have one method using shell module, …

---

## [Unable to upgrade the package with latest](https://forum.ansible.com/t/unable-to-upgrade-the-package-with-latest/22990)

<div class="topic-metadata">

**Author:** [@Rayees\_Namathponnan](https://forum.ansible.com/u/Rayees_Namathponnan)\
**Replies:** 3\
**Last updated:** [November 9, 2016, 7:39pm UTC](https://forum.ansible.com/t/unable-to-upgrade-the-package-with-latest/22990 "2016-11-09T19:39:50Z")

</div>

Hi All, Graylog server is running in my host version “graylog-server-2.1.1-3.noarch.rpm”, i am trying to upgrade this to “graylog-server-2.1.2-1.noarch.rpm” Here is my ansible script \` name: Install Graylog server …

---

## [\[ansible 2.2.0\] Blocks and When condiftion](https://forum.ansible.com/t/ansible-2-2-0-blocks-and-when-condiftion/22980)

<div class="topic-metadata">

**Author:** [@Patrick\_Montanari](https://forum.ansible.com/u/Patrick_Montanari)\
**Replies:** 2\
**Last updated:** [November 9, 2016, 5:41pm UTC](https://forum.ansible.com/t/ansible-2-2-0-blocks-and-when-condiftion/22980 "2016-11-09T17:41:40Z")

</div>

Hello, Since ansible 2.2.0 when using a when condition for a block, inner when are no more evaluated and are executed. Ex: blocks: include xxx.yml when: condition1 include: yyy.yml when: condition2 when: …

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

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