# Latest

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

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

**Page:** 999

---

## [ec2: Why parameter "key\_name" is mandatory required?](https://forum.ansible.com/t/ec2-why-parameter-key-name-is-mandatory-required/14324)

<div class="topic-metadata">

**Author:** [@Alex\_Lov](https://forum.ansible.com/u/Alex_Lov)\
**Replies:** 1\
**Last updated:** [January 13, 2014, 11:20pm UTC](https://forum.ansible.com/t/ec2-why-parameter-key-name-is-mandatory-required/14324 "2014-01-13T23:20:21Z")

</div>

(copy-paste from https://github.com/ansible/ansible/issues/5579) Subj. As I can see in code, this module uses boto function run\_instance(), and in this function parameter “key\_name” is not required for creating new ins…

---

## [MySQL w/o plain text passwords](https://forum.ansible.com/t/mysql-w-o-plain-text-passwords/14306)

<div class="topic-metadata">

**Author:** [@Stan\_Lemon](https://forum.ansible.com/u/Stan_Lemon)\
**Replies:** 10\
**Last updated:** [January 13, 2014, 11:05pm UTC](https://forum.ansible.com/t/mysql-w-o-plain-text-passwords/14306 "2014-01-13T23:05:42Z")

</div>

I’ve been flipping through past posts and reading through some of the practices w/ the mysql module. I’m familiar with the option of using the /root/.my.cnf but this is unfortunately not an option for me. I’m dealing wit…

---

## [EC2 provisioning with Ansible](https://forum.ansible.com/t/ec2-provisioning-with-ansible/14331)

<div class="topic-metadata">

**Author:** [@howachen](https://forum.ansible.com/u/howachen)\
**Replies:** 4\
**Last updated:** [January 13, 2014, 10:35pm UTC](https://forum.ansible.com/t/ec2-provisioning-with-ansible/14331 "2014-01-13T22:35:04Z")

</div>

Is it possible to fully automatic launch an EC2 instance and run the playbooks against this instance, with only one command? Currently when I run the playbook, I need to assume this EC2 instance is already in my host fi…

---

## [ec2.py dynamic inventory and host names](https://forum.ansible.com/t/ec2-py-dynamic-inventory-and-host-names/14334)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 2\
**Last updated:** [January 13, 2014, 9:50pm UTC](https://forum.ansible.com/t/ec2-py-dynamic-inventory-and-host-names/14334 "2014-01-13T21:50:52Z")

</div>

When running playbooks with a dynamic inventory and ec2.py, the host names show as ip addresses... This makes monitoring what ansible is doing, let alone debugging, difficult. Is there any way to change this behaviour? T…

---

## [Question about best practice approach to indicate that something is already "setup"](https://forum.ansible.com/t/question-about-best-practice-approach-to-indicate-that-something-is-already-setup/14325)

<div class="topic-metadata">

**Author:** [@Randolph\_Kahle](https://forum.ansible.com/u/Randolph_Kahle)\
**Replies:** 4\
**Last updated:** [January 13, 2014, 8:45pm UTC](https://forum.ansible.com/t/question-about-best-practice-approach-to-indicate-that-something-is-already-setup/14325 "2014-01-13T20:45:41Z")

</div>

Installing Oracle Java is not straight forward because it is not delivered via Apt or in an RPM. I have written a role, "java", that does this work and I want to be able to detect that Java is already installed when thi…

---

## [command: docker pull sometimes hangs indefinitely](https://forum.ansible.com/t/command-docker-pull-sometimes-hangs-indefinitely/14319)

<div class="topic-metadata">

**Author:** [@Joe\_Kimmel](https://forum.ansible.com/u/Joe_Kimmel)\
**Replies:** 4\
**Last updated:** [January 13, 2014, 5:00pm UTC](https://forum.ansible.com/t/command-docker-pull-sometimes-hangs-indefinitely/14319 "2014-01-13T17:00:11Z")

</div>

hi there, i’m running a playbook for initializing my server that needs to pull a couple docker containers (and then start them). The docker register is itself running in a docker container on localhost, so the tasks lo…

---

## [ansible modules unit tests](https://forum.ansible.com/t/ansible-modules-unit-tests/14330)

<div class="topic-metadata">

**Author:** [@Willem\_de\_Groot](https://forum.ansible.com/u/Willem_de_Groot)\
**Replies:** 1\
**Last updated:** [January 13, 2014, 2:32pm UTC](https://forum.ansible.com/t/ansible-modules-unit-tests/14330 "2014-01-13T14:32:48Z")

</div>

Lots of code seems to be under test, but not all. I think function-level unit tests would benefit most of the more obscure code, such as authorized\_key.parseoptions() ( https://github.com/ansible/ansible/blob/devel/libra…

---

## [galaxy feedback](https://forum.ansible.com/t/galaxy-feedback/14190)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 4\
**Last updated:** [January 13, 2014, 10:34am UTC](https://forum.ansible.com/t/galaxy-feedback/14190 "2014-01-13T10:34:27Z")

</div>

Hi Quick feedback: First, whow, kind if like it. :slight\_smile: GREAT JOB! the role naming / github repo on galaxy was irritating: please provide some examples how to fill this forms. had to reverse engineer it …

---

## [starting facts/setup cache](https://forum.ansible.com/t/starting-facts-setup-cache/13933)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 9\
**Last updated:** [January 12, 2014, 11:12pm UTC](https://forum.ansible.com/t/starting-facts-setup-cache/13933 "2014-01-12T23:12:03Z")

</div>

started a branch to implement setup/fact cache, follows the spirit of other plugins https://github.com/bcoca/ansible/tree/setup\_cache not working yet but added most of the infrastructure and doesn’t break current funct…

---

## [Using set\_fact in conjunction with delegate\_to](https://forum.ansible.com/t/using-set-fact-in-conjunction-with-delegate-to/13944)

<div class="topic-metadata">

**Author:** [@Brad\_Crochet](https://forum.ansible.com/u/Brad_Crochet)\
**Replies:** 5\
**Last updated:** [January 12, 2014, 3:23pm UTC](https://forum.ansible.com/t/using-set-fact-in-conjunction-with-delegate-to/13944 "2014-01-12T15:23:38Z")

</div>

Here is the use case: Run playbook against localhost Playbook creates nodes on some virt type (OpenStack, libvirt, whatever) Add some additional metadata via add\_host for those nodes In order for the metadata…

---

## [dmg module for Mac OSX?](https://forum.ansible.com/t/dmg-module-for-mac-osx/14323)

<div class="topic-metadata">

**Author:** [@Steve\_Morin](https://forum.ansible.com/u/Steve_Morin)\
**Replies:** 1\
**Last updated:** [January 11, 2014, 8:20pm UTC](https://forum.ansible.com/t/dmg-module-for-mac-osx/14323 "2014-01-11T20:20:16Z")

</div>

Does anyone know of a ansible DMG module for Max OSX? I would like one that can check if a application exists and only install the dmg if it doesn’t exist. It should download it and do a full install if it doesn’t. -Ste…

---

## [Quick Galaxy Update](https://forum.ansible.com/t/quick-galaxy-update/14307)

<div class="topic-metadata">

**Author:** [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Replies:** 3\
**Last updated:** [January 11, 2014, 7:18pm UTC](https://forum.ansible.com/t/quick-galaxy-update/14307 "2014-01-11T19:18:01Z")

</div>

Hey all, just a quick Galaxy update. First and foremost, Google+ signups are now working. If you continue to have any problems please let us know! Second, we’re planning on pushing out some updates to the site Friday ev…

---

## ["cannot yet run check mode against old-style modules" ??](https://forum.ansible.com/t/cannot-yet-run-check-mode-against-old-style-modules/14321)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 3\
**Last updated:** [January 11, 2014, 2:00pm UTC](https://forum.ansible.com/t/cannot-yet-run-check-mode-against-old-style-modules/14321 "2014-01-11T14:00:07Z")

</div>

ansible-1.4.1 exhibits this problem on Fedora. Doing things by the book ( http://docs.ansible.com/developing\_modules.html#check-mode ): module = AnsibleModule( argument\_spec = dict(…), supports\_check\_mode=True ) if …

---

## [Optional handlers](https://forum.ansible.com/t/optional-handlers/14320)

<div class="topic-metadata">

**Author:** [@Stan\_Lemon](https://forum.ansible.com/u/Stan_Lemon)\
**Replies:** 0\
**Last updated:** [January 11, 2014, 2:17am UTC](https://forum.ansible.com/t/optional-handlers/14320 "2014-01-11T02:17:42Z")

</div>

Is it possible to notify a handler and have it be silent if the handler doesn’t exist? Basically what I am looking to do is have a standardized set of tasks and then optionally implement handlers for certain tasks. More …

---

## [How-to use the GCE module (Google Compute Engine) - Pem file, creds, etc.](https://forum.ansible.com/t/how-to-use-the-gce-module-google-compute-engine-pem-file-creds-etc/14301)

<div class="topic-metadata">

**Author:** [@michael.longo](https://forum.ansible.com/u/michael.longo)\
**Replies:** 4\
**Last updated:** [January 11, 2014, 12:58am UTC](https://forum.ansible.com/t/how-to-use-the-gce-module-google-compute-engine-pem-file-creds-etc/14301 "2014-01-11T00:58:59Z")

</div>

Hello, I’m trying to use the GCE module, but so far, I’m not very lucky. What I have done: I registered a new “service app” on my google cloud console, and downloaded the generated private key, in pkcs2 format. Creat…

---

## [get\_url suppot for comparing remote file size against local file size](https://forum.ansible.com/t/get-url-suppot-for-comparing-remote-file-size-against-local-file-size/14292)

<div class="topic-metadata">

**Author:** [@William\_Jimenez](https://forum.ansible.com/u/William_Jimenez)\
**Replies:** 9\
**Last updated:** [January 10, 2014, 7:28pm UTC](https://forum.ansible.com/t/get-url-suppot-for-comparing-remote-file-size-against-local-file-size/14292 "2014-01-10T19:28:44Z")

</div>

Hi Guys I submitted a pull request today but wanted to provide some background on the use case. I ran into some situations where it was desirable to be able to update an artifact in a content repository (say artifactory…

---

## [User files supplied best practice](https://forum.ansible.com/t/user-files-supplied-best-practice/14312)

<div class="topic-metadata">

**Author:** [@Mayeu](https://forum.ansible.com/u/Mayeu)\
**Replies:** 2\
**Last updated:** [January 10, 2014, 3:55pm UTC](https://forum.ansible.com/t/user-files-supplied-best-practice/14312 "2014-01-10T15:55:01Z")

</div>

Hi all, I am wondering if there is some clean way to handle files supplied by the user. I have two use cases: - a role that ask for ssl certificates\[1\]. Currently I ask the user to add them in their root \`files/\` …

---

## [Small tweaks for ease of use?](https://forum.ansible.com/t/small-tweaks-for-ease-of-use/14314)

<div class="topic-metadata">

**Author:** [@Stuart\_Herbert](https://forum.ansible.com/u/Stuart_Herbert)\
**Replies:** 10\
**Last updated:** [January 10, 2014, 2:23pm UTC](https://forum.ansible.com/t/small-tweaks-for-ease-of-use/14314 "2014-01-10T14:23:52Z")

</div>

Hi, There’s a few things in Ansible wrt playbooks which I believe would be a little easier if they were tweaked. I’m thinking of submitting pull requests for each of these, and wanted to check first to see if they’d be …

---

## [Issue with Ansible 1.4.1 using --check and --diff together with the "template" module](https://forum.ansible.com/t/issue-with-ansible-1-4-1-using-check-and-diff-together-with-the-template-module/14303)

<div class="topic-metadata">

**Author:** [@Matt\_Garren](https://forum.ansible.com/u/Matt_Garren)\
**Replies:** 2\
**Last updated:** [January 10, 2014, 2:13pm UTC](https://forum.ansible.com/t/issue-with-ansible-1-4-1-using-check-and-diff-together-with-the-template-module/14303 "2014-01-10T14:13:23Z")

</div>

Just noticed an issue with ansible 1.4.1 trying to deploy a networking configuration for dhcp. Will paste configs below with hostnames changed: Playbook: playbook.yml

---

## [ansible-galaxy role dependencies broken?](https://forum.ansible.com/t/ansible-galaxy-role-dependencies-broken/14257)

<div class="topic-metadata">

**Author:** [@Raphael\_Randschau](https://forum.ansible.com/u/Raphael_Randschau)\
**Replies:** 3\
**Last updated:** [January 10, 2014, 1:56pm UTC](https://forum.ansible.com/t/ansible-galaxy-role-dependencies-broken/14257 "2014-01-10T13:56:45Z")

</div>

Hey there, I just realised that installing galaxy roles does not download the dependencies listed in the meta/main.yml. Take for example one of my roles, rails-deployment: meta/main.yml does list my dependencies (which…

---

## [Reporting "changed" state by email](https://forum.ansible.com/t/reporting-changed-state-by-email/14311)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 7\
**Last updated:** [January 10, 2014, 12:58pm UTC](https://forum.ansible.com/t/reporting-changed-state-by-email/14311 "2014-01-10T12:58:46Z")

</div>

Hello ansible folk, We’re running ansible mainly in the “pull” mode, and using the “local” connection type to run playbooks on our servers. It’s configured to log to /var/log/ansible.log, and this file is rotated period…

---

## [Some pending refactoring on Runner/etc](https://forum.ansible.com/t/some-pending-refactoring-on-runner-etc/14310)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [January 10, 2014, 3:30am UTC](https://forum.ansible.com/t/some-pending-refactoring-on-runner-etc/14310 "2014-01-10T03:30:01Z")

</div>

As we’ve gotten larger and attempted to keep up with tremendous volume, some things like runner/init.py have gotten a bit - eh - expedient. Not bad, just in need of some cleanup. Regular maintaince as we haven’t been abl…

---

## [A (probably dumb) question and some kudos.](https://forum.ansible.com/t/a-probably-dumb-question-and-some-kudos/14255)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 4\
**Last updated:** [January 10, 2014, 3:23am UTC](https://forum.ansible.com/t/a-probably-dumb-question-and-some-kudos/14255 "2014-01-10T03:23:34Z")

</div>

Greetings, This time I will hopefully not hit the wrong key and post my message before actually entering the body of it. (Sorry about that). First the Kudos… I’ve been playing with Ansible for the last few months gett…

---

## [Multiple group\_vars for group of hosts](https://forum.ansible.com/t/multiple-group-vars-for-group-of-hosts/14309)

<div class="topic-metadata">

**Author:** [@Rilindo\_Foster1](https://forum.ansible.com/u/Rilindo_Foster1)\
**Replies:** 0\
**Last updated:** [January 10, 2014, 3:18am UTC](https://forum.ansible.com/t/multiple-group-vars-for-group-of-hosts/14309 "2014-01-10T03:18:06Z")

</div>

Is it possible to have multiple group\_vars for a group of hosts? Here is my use case: I got a group of servers, some admins and some engineers. All engineers should have access to all servers, (such as lab servers), but…

---

## [Cron module usage question...](https://forum.ansible.com/t/cron-module-usage-question/14280)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 3\
**Last updated:** [January 10, 2014, 3:15am UTC](https://forum.ansible.com/t/cron-module-usage-question/14280 "2014-01-10T03:15:26Z")

</div>

Greetings, I have used the cron module in one of my playbooks and it worked perfectly. However when I came to test on a second server it added a second cron job identical to a previous one. The previous one was not adde…

---

## [Variable defaults](https://forum.ansible.com/t/variable-defaults/14304)

<div class="topic-metadata">

**Author:** [@Stan\_Lemon](https://forum.ansible.com/u/Stan_Lemon)\
**Replies:** 3\
**Last updated:** [January 10, 2014, 1:58am UTC](https://forum.ansible.com/t/variable-defaults/14304 "2014-01-10T01:58:12Z")

</div>

Is there a way to default a variable inside of a tasks file? Use case is something like this… I have a list of tasks that I include in some play books, each of which I am currently defining the vars in. For a couple of t…

---

## ["register" list of ansible hostnames that are part of an inventory group](https://forum.ansible.com/t/register-list-of-ansible-hostnames-that-are-part-of-an-inventory-group/14302)

<div class="topic-metadata">

**Author:** [@Gregory\_Spranger](https://forum.ansible.com/u/Gregory_Spranger)\
**Replies:** 2\
**Last updated:** [January 9, 2014, 6:34pm UTC](https://forum.ansible.com/t/register-list-of-ansible-hostnames-that-are-part-of-an-inventory-group/14302 "2014-01-09T18:34:06Z")

</div>

hi all, i am trying to be DRY, and wondering if i can somehow register all of the hosts that are part of inventory group .. for example: inventory \[db\_slave\] host1 host2 playbook name: create slave user for each …

---

## [How about rewrite mongodb module with js?](https://forum.ansible.com/t/how-about-rewrite-mongodb-module-with-js/14299)

<div class="topic-metadata">

**Author:** [@Aaron\_Wang](https://forum.ansible.com/u/Aaron_Wang)\
**Replies:** 0\
**Last updated:** [January 9, 2014, 3:11am UTC](https://forum.ansible.com/t/how-about-rewrite-mongodb-module-with-js/14299 "2014-01-09T03:11:33Z")

</div>

Now, there is only one mongodb related module: mongodb\_user, and it requires pymongo. When I check https://github.com/ansible/ansible-examples/tree/master/mongodb, found it use js to initialize replset and shard, so this…

---

## [Stack trace about incorrect padding](https://forum.ansible.com/t/stack-trace-about-incorrect-padding/13243)

<div class="topic-metadata">

**Author:** [@Kavin\_Kankeshwar](https://forum.ansible.com/u/Kavin_Kankeshwar)\
**Replies:** 4\
**Last updated:** [January 8, 2014, 10:08pm UTC](https://forum.ansible.com/t/stack-trace-about-incorrect-padding/13243 "2014-01-08T22:08:36Z")

</div>

When i am trying to use Ansible, I am getting the following errors on all hosts in my playbook. Any ideas ? Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ansible/runner/connection\_plugin…

---

## [command line multi-tag task filter](https://forum.ansible.com/t/command-line-multi-tag-task-filter/14298)

<div class="topic-metadata">

**Author:** [@Gregory\_Spranger](https://forum.ansible.com/u/Gregory_Spranger)\
**Replies:** 2\
**Last updated:** [January 8, 2014, 9:58pm UTC](https://forum.ansible.com/t/command-line-multi-tag-task-filter/14298 "2014-01-08T21:58:35Z")

</div>

hi all, i promise i searched for this, but could not find a clear answer on whether or not this is possible … i have this command: ansible-playbook -vv -i development\_hosts master.yml --tags “mysql,configure” -u foo -K …

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

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