# Latest

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

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

**Page:** 933

---

## [validate must contain %s: /usr/sbin/apachectl -tf /etc/httpd/conf/httpd.conf](https://forum.ansible.com/t/validate-must-contain-s-usr-sbin-apachectl-tf-etc-httpd-conf-httpd-conf/16380)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 2\
**Last updated:** [September 30, 2014, 2:48pm UTC](https://forum.ansible.com/t/validate-must-contain-s-usr-sbin-apachectl-tf-etc-httpd-conf-httpd-conf/16380 "2014-09-30T14:48:17Z")

</div>

Hi List, I’m trying to securely place a vhost file for apache. Before I place a new chost from template, I want it to be checked for correct behaviour before really deploying it: - name: Plaats de verschillende extra …

---

## [Kallithea modules](https://forum.ansible.com/t/kallithea-modules/15970)

<div class="topic-metadata">

**Author:** [@Bernhard\_Weitzhofer](https://forum.ansible.com/u/Bernhard_Weitzhofer)\
**Replies:** 3\
**Last updated:** [September 30, 2014, 1:48pm UTC](https://forum.ansible.com/t/kallithea-modules/15970 "2014-09-30T13:48:47Z")

</div>

Hello, I’m working on a set of Ansible Modules for Kallithea \[1\], namely kallithea\_repo kalliteha\_repo\_group kallithea\_user kallithea\_user\_group kallithea\_perm (permission) These should be usable within the next few …

---

## [New ansible module for managing ssh\_known\_hosts](https://forum.ansible.com/t/new-ansible-module-for-managing-ssh-known-hosts/15482)

<div class="topic-metadata">

**Author:** [@mcv21](https://forum.ansible.com/u/mcv21)\
**Replies:** 7\
**Last updated:** [September 30, 2014, 1:16pm UTC](https://forum.ansible.com/t/new-ansible-module-for-managing-ssh-known-hosts/15482 "2014-09-30T13:16:11Z")

</div>

Hi, I wrote an ansible module to manage ssh's known\_hosts file. Unlike the existing module I found by googling, this one is written in python, and requires the user to supply a public key. It uses ssh-keygen to search …

---

## [Conditionals with facts](https://forum.ansible.com/t/conditionals-with-facts/16367)

<div class="topic-metadata">

**Author:** [@Rich\_Burroughs](https://forum.ansible.com/u/Rich_Burroughs)\
**Replies:** 2\
**Last updated:** [September 30, 2014, 5:11am UTC](https://forum.ansible.com/t/conditionals-with-facts/16367 "2014-09-30T05:11:37Z")

</div>

Hi, We use Puppet when I work and we've done a bit of orchestration with both Mcollective and Fabric. I'm very interested in using Ansible instead of Fabric since I've learned it can use Facter facts. We have a mix of …

---

## [ansible-inventory-grapher on windows - installing ansible on Windows (revisit)](https://forum.ansible.com/t/ansible-inventory-grapher-on-windows-installing-ansible-on-windows-revisit/16252)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 2\
**Last updated:** [September 30, 2014, 3:53am UTC](https://forum.ansible.com/t/ansible-inventory-grapher-on-windows-installing-ansible-on-windows-revisit/16252 "2014-09-30T03:53:56Z")

</div>

Hi, I’m trying to allow ansible-inventory-grapher to install under pip on Windows. I’m using the standard python 2.7 for Windows. As per https://github.com/ansible/ansible/issues/7049, the install fails during an impor…

---

## [Monit/CollectD - Best Approach?](https://forum.ansible.com/t/monit-collectd-best-approach/16371)

<div class="topic-metadata">

**Author:** [@Andy\_L](https://forum.ansible.com/u/Andy_L)\
**Replies:** 1\
**Last updated:** [September 29, 2014, 11:43pm UTC](https://forum.ansible.com/t/monit-collectd-best-approach/16371 "2014-09-29T23:43:29Z")

</div>

We use Ansible to install/configure Postgres, Memcached, Redis, Nginx and a bunch of other services. Now we want to use Ansible to setup monitoring (Monit) and metrics collection (CollectD). Monit and CollectD each use…

---

## [docker module is not upgrading my container](https://forum.ansible.com/t/docker-module-is-not-upgrading-my-container/16347)

<div class="topic-metadata">

**Author:** [@Brian\_Fleming](https://forum.ansible.com/u/Brian_Fleming)\
**Replies:** 7\
**Last updated:** [September 29, 2014, 10:34pm UTC](https://forum.ansible.com/t/docker-module-is-not-upgrading-my-container/16347 "2014-09-29T22:34:35Z")

</div>

My understanding is if I have a playbook that says hosts: localhost sudo: yes tasks: name: ensure redis container is running docker: image=dockerfile/redis name=redis command=" bash -c ‘redis-server /etc/redis/r…

---

## [Check mode by default](https://forum.ansible.com/t/check-mode-by-default/16369)

<div class="topic-metadata">

**Author:** [@Peter\_Morgan](https://forum.ansible.com/u/Peter_Morgan)\
**Replies:** 5\
**Last updated:** [September 29, 2014, 10:14pm UTC](https://forum.ansible.com/t/check-mode-by-default/16369 "2014-09-29T22:14:20Z")

</div>

I think it might be useful to have an ansible.cfg setting to enable check mode to be the default behavior of ansible/ansible-playbook. It is far too easy to accidentally forget the -C and fire off a script that does some…

---

## [dynamic inventory, group vars and role vars precedence](https://forum.ansible.com/t/dynamic-inventory-group-vars-and-role-vars-precedence/16373)

<div class="topic-metadata">

**Author:** [@Mathieu\_Guillaume](https://forum.ansible.com/u/Mathieu_Guillaume)\
**Replies:** 2\
**Last updated:** [September 29, 2014, 7:43pm UTC](https://forum.ansible.com/t/dynamic-inventory-group-vars-and-role-vars-precedence/16373 "2014-09-29T19:43:57Z")

</div>

Hello Ansiblers, This is about two different things (I know, bad!), but all about variables. This is on Ansible 1.7.2. I’ve put up my test code on https://github.com/mguillaume/ansible-vars-test for easy review/reprodu…

---

## [Ansible fact gathering is slow with host\_key\_checking = True](https://forum.ansible.com/t/ansible-fact-gathering-is-slow-with-host-key-checking-true/16315)

<div class="topic-metadata">

**Author:** [@Barry\_Morrison](https://forum.ansible.com/u/Barry_Morrison)\
**Replies:** 11\
**Last updated:** [September 29, 2014, 3:30pm UTC](https://forum.ansible.com/t/ansible-fact-gathering-is-slow-with-host-key-checking-true/16315 "2014-09-29T15:30:23Z")

</div>

Spawned from Conversation with Michael on Twitter https://twitter.com/esacteksab/status/514558427217936384 Uncommenting host\_key\_checking = False, a playbook runs in 35s Commenting host\_key\_checking = False, the playbo…

---

## [Trouble with quoting a shellshock test](https://forum.ansible.com/t/trouble-with-quoting-a-shellshock-test/16363)

<div class="topic-metadata">

**Author:** [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Replies:** 6\
**Last updated:** [September 29, 2014, 8:36am UTC](https://forum.ansible.com/t/trouble-with-quoting-a-shellshock-test/16363 "2014-09-29T08:36:17Z")

</div>

I’m trying to write an Ansible task to check for both CVE-2014-6271 and CVE-2014-7169 as I haven’t been able to find one pre-made. This command should check both but for the life of me I can’t get the escaped single quo…

---

## [Parsing ansible\_hostname](https://forum.ansible.com/t/parsing-ansible-hostname/16294)

<div class="topic-metadata">

**Author:** [@phanoko](https://forum.ansible.com/u/phanoko)\
**Replies:** 4\
**Last updated:** [September 29, 2014, 3:36am UTC](https://forum.ansible.com/t/parsing-ansible-hostname/16294 "2014-09-29T03:36:15Z")

</div>

Hi all, I hope somebody can offer me a little guidance. I’ve read a decent amount on jinja2 and as I’m still learning python; so with that I hoped for a little guidance. Essentially I want to apply a role based off an i…

---

## [ssl certs - one task or two for IMAP and http?](https://forum.ansible.com/t/ssl-certs-one-task-or-two-for-imap-and-http/16366)

<div class="topic-metadata">

**Author:** [@Dan\_Langille](https://forum.ansible.com/u/Dan_Langille)\
**Replies:** 1\
**Last updated:** [September 28, 2014, 7:34pm UTC](https://forum.ansible.com/t/ssl-certs-one-task-or-two-for-imap-and-http/16366 "2014-09-28T19:34:53Z")

</div>

At present, I have two tasks: This one installs ssl certs for the host in question: ssl-certificates/tasks/main.yml

---

## [PROPOSAL : New inventory parameter to specify sudo command path](https://forum.ansible.com/t/proposal-new-inventory-parameter-to-specify-sudo-command-path/16364)

<div class="topic-metadata">

**Author:** [@bbasleeper2](https://forum.ansible.com/u/bbasleeper2)\
**Replies:** 1\
**Last updated:** [September 27, 2014, 6:47pm UTC](https://forum.ansible.com/t/proposal-new-inventory-parameter-to-specify-sudo-command-path/16364 "2014-09-27T18:47:07Z")

</div>

Hi everyone, I just submitted the below pull request to add a new inventory parameter, ansible\_sudo\_exe, to be able to specify the sudo command path per host. GH9182 Bruno.

---

## [Forks when hosts are specified in playbooks](https://forum.ansible.com/t/forks-when-hosts-are-specified-in-playbooks/16289)

<div class="topic-metadata">

**Author:** [@Mzp45](https://forum.ansible.com/u/Mzp45)\
**Replies:** 5\
**Last updated:** [September 27, 2014, 1:37pm UTC](https://forum.ansible.com/t/forks-when-hosts-are-specified-in-playbooks/16289 "2014-09-27T13:37:24Z")

</div>

Hello, I have a playbook where the hosts are listed by name instead of “all”.

---

## [Help, advice, opinion needed about a new module for a switch](https://forum.ansible.com/t/help-advice-opinion-needed-about-a-new-module-for-a-switch/16351)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 3\
**Last updated:** [September 27, 2014, 12:42pm UTC](https://forum.ansible.com/t/help-advice-opinion-needed-about-a-new-module-for-a-switch/16351 "2014-09-27T12:42:34Z")

</div>

Hi all, I had posted to this list a month or so ago about writing a module for an HP switch (HP V1910-24G Switch, Comware 5.0-based). This has been quite a learning experience! I reviewed this with my team today and t…

---

## [Playbooks, roles, and tagging behaviors](https://forum.ansible.com/t/playbooks-roles-and-tagging-behaviors/16312)

<div class="topic-metadata">

**Author:** [@E.C\_Raymond](https://forum.ansible.com/u/E.C_Raymond)\
**Replies:** 8\
**Last updated:** [September 27, 2014, 5:10am UTC](https://forum.ansible.com/t/playbooks-roles-and-tagging-behaviors/16312 "2014-09-27T05:10:20Z")

</div>

I am experiencing some strange behavior from what I understand to be applying tags to roles/dependencies. I wrote a facts plugin to gather information about a systems role, and it includes this in the playbook run. Each …

---

## [Newbie Question: Copying files from host to Windows target](https://forum.ansible.com/t/newbie-question-copying-files-from-host-to-windows-target/16361)

<div class="topic-metadata">

**Author:** [@Ron\_Marquez](https://forum.ansible.com/u/Ron_Marquez)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 8:33pm UTC](https://forum.ansible.com/t/newbie-question-copying-files-from-host-to-windows-target/16361 "2014-09-26T20:33:26Z")

</div>

Hello, I am pretty new to ansible with windows support. I am wondering if there is a module that can copy files from my Ubuntu host to my Windows host? Thanks

---

## [ec2\_ami\_search module](https://forum.ansible.com/t/ec2-ami-search-module/16360)

<div class="topic-metadata">

**Author:** [@Peter\_Palmieri](https://forum.ansible.com/u/Peter_Palmieri)\
**Replies:** 2\
**Last updated:** [September 26, 2014, 7:54pm UTC](https://forum.ansible.com/t/ec2-ami-search-module/16360 "2014-09-26T19:54:58Z")

</div>

Starting an EC2 instance based off of an AMI returned from the ec2\_ami\_search module. I’m trying to use an EBS SSD backed instance. The documentation shows ebs, ebs-io1, ebs-ssd, and instance-store as options. A fragmen…

---

## [How do i specify vars file per env during deploy](https://forum.ansible.com/t/how-do-i-specify-vars-file-per-env-during-deploy/16342)

<div class="topic-metadata">

**Author:** [@Subramanian\_Olagappa](https://forum.ansible.com/u/Subramanian_Olagappa)\
**Replies:** 2\
**Last updated:** [September 26, 2014, 2:07pm UTC](https://forum.ansible.com/t/how-do-i-specify-vars-file-per-env-during-deploy/16342 "2014-09-26T14:07:13Z")

</div>

Hi, I have a play book to deploy the DB scripts. I also have multiple env like dev,qa & prod. The deployment has a template with few variables like db\_user\_name and password. I have created the vars file for each env an…

---

## [reload inventory sources between imports](https://forum.ansible.com/t/reload-inventory-sources-between-imports/16355)

<div class="topic-metadata">

**Author:** [@jwerak](https://forum.ansible.com/u/jwerak)\
**Replies:** 2\
**Last updated:** [September 26, 2014, 1:03pm UTC](https://forum.ansible.com/t/reload-inventory-sources-between-imports/16355 "2014-09-26T13:03:12Z")

</div>

Hi, I have several plays to setup coreos stack: The first brings up aws machines, the second one creates ssh\_config ( need to communicate via proxycommand ) based on aws inventory groups. Is it possible to reload inve…

---

## [Problem on yum module on CentOS 7](https://forum.ansible.com/t/problem-on-yum-module-on-centos-7/16356)

<div class="topic-metadata">

**Author:** [@zorggy01](https://forum.ansible.com/u/zorggy01)\
**Replies:** 4\
**Last updated:** [September 26, 2014, 12:54pm UTC](https://forum.ansible.com/t/problem-on-yum-module-on-centos-7/16356 "2014-09-26T12:54:32Z")

</div>

Hello, I’m testing Ansible (version 1.7.1-1) on CentOS 7. Installation is minimalist then I need to install additional packages. Here is the playbook: \`

---

## [Upgrading docker containers with ansible](https://forum.ansible.com/t/upgrading-docker-containers-with-ansible/16336)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 12:44pm UTC](https://forum.ansible.com/t/upgrading-docker-containers-with-ansible/16336 "2014-09-26T12:44:22Z")

</div>

Hi Brian, For starters, an you indicate your Ansible and docker-py and Docker versions? Thanks! –Michael

---

## [Ansible 1.7 shell module doesnt wait on jobs in the background](https://forum.ansible.com/t/ansible-1-7-shell-module-doesnt-wait-on-jobs-in-the-background/16333)

<div class="topic-metadata">

**Author:** [@Mikael\_Sandstrom](https://forum.ansible.com/u/Mikael_Sandstrom)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 12:42pm UTC](https://forum.ansible.com/t/ansible-1-7-shell-module-doesnt-wait-on-jobs-in-the-background/16333 "2014-09-26T12:42:39Z")

</div>

Hi, I’m using Ansible to install Oracle and its been working great on 1.6. When I hit release 1.7 some things using the shell module started behaving differently. The problem is this: The oracle installer (runInstalle…

---

## [Conditional not working when evaluating a complex data structure](https://forum.ansible.com/t/conditional-not-working-when-evaluating-a-complex-data-structure/16341)

<div class="topic-metadata">

**Author:** [@Andres\_Silva1](https://forum.ansible.com/u/Andres_Silva1)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 12:38pm UTC](https://forum.ansible.com/t/conditional-not-working-when-evaluating-a-complex-data-structure/16341 "2014-09-26T12:38:30Z")

</div>

I have the following playbook. As you can see Im reading the ec2 tags and then attempt to run a role based on a condition. But the condition is never met and it always skips the role. As you can see Im printing the value…

---

## [Unit for docker module parameter 'memory\_limit'](https://forum.ansible.com/t/unit-for-docker-module-parameter-memory-limit/16349)

<div class="topic-metadata">

**Author:** [@Bk\_Lau](https://forum.ansible.com/u/Bk_Lau)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 12:36pm UTC](https://forum.ansible.com/t/unit-for-docker-module-parameter-memory-limit/16349 "2014-09-26T12:36:49Z")

</div>

Hi: What is the syntax to specify ‘memory\_limit’ in the docker module? According to Docker documentation\[1\], its passed like so: 256b, 256k,256m or 256g I see that according to the docker module doc its passed as 25…

---

## [Infrastructure Development Workflow?](https://forum.ansible.com/t/infrastructure-development-workflow/16318)

<div class="topic-metadata">

**Author:** [@Paul\_Julius](https://forum.ansible.com/u/Paul_Julius)\
**Replies:** 5\
**Last updated:** [September 26, 2014, 12:32pm UTC](https://forum.ansible.com/t/infrastructure-development-workflow/16318 "2014-09-26T12:32:00Z")

</div>

Hi Ansible folks! Cross posting here from the Vagrant and Packer mailing lists, because I thought that people on the Ansible mailing list would probably have really great ideas to share with me. I am really enjoying my…

---

## [Running a playbook on a new rackspace instance](https://forum.ansible.com/t/running-a-playbook-on-a-new-rackspace-instance/16352)

<div class="topic-metadata">

**Author:** [@Graham\_Hay](https://forum.ansible.com/u/Graham_Hay)\
**Replies:** 2\
**Last updated:** [September 26, 2014, 12:24pm UTC](https://forum.ansible.com/t/running-a-playbook-on-a-new-rackspace-instance/16352 "2014-09-26T12:24:43Z")

</div>

Hi, This is possibly more of a rackspace question than an ansible one, but hey-ho. When we create a new instance using the rax module, we then have a post-creation playbook containing steps that need to be run on all se…

---

## [list all MAC addresses through ansible](https://forum.ansible.com/t/list-all-mac-addresses-through-ansible/16348)

<div class="topic-metadata">

**Author:** [@Kyle\_Hopfensperger](https://forum.ansible.com/u/Kyle_Hopfensperger)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 12:22pm UTC](https://forum.ansible.com/t/list-all-mac-addresses-through-ansible/16348 "2014-09-26T12:22:40Z")

</div>

Hello, I am wondering if there is a way to list all MAC addresses assigned to each interface device found through setup? What I am looking to do is edit the /etc/udev/rules.d/70-persistent-net.rules file to assign each …

---

## [run\_once bug in 1.7.2](https://forum.ansible.com/t/run-once-bug-in-1-7-2/16353)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 2\
**Last updated:** [September 26, 2014, 12:12pm UTC](https://forum.ansible.com/t/run-once-bug-in-1-7-2/16353 "2014-09-26T12:12:48Z")

</div>

Hi List, We still have some issues with this bug: https://github.com/ansible/ansible/issues/7432 The error message itself: TASK: \[fd4\_config | backup database\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* skipping: \[IS…

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

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