[ansible-project] Re: Serving files from a central asset server

2014-03-02 Thread Dmitry Horbach
Custom module will work best in your case. We are using the same approach but with more sources of asset. This module is basically used in every software installation role and separate role is not an option. 1) Check if file is already present in destination directory 2) Download from

[ansible-project] action_plugins are not loaded relative to current playbook

2014-02-20 Thread Dmitry Horbach
Hi All, Could someone please help with spotting problem in my actions or confirm that there is a problem in Ansible. Based on https://github.com/ansible/ansible/issues/6089 I'm trying to load action plugin from playbook's relative directory action_plugins tree ├── action_plugins │ ├──

Re: [ansible-project] Variables and ec2 deployments

2013-12-25 Thread Dmitry Horbach
Private IP's persist during reboot and elastic ones should not be used to connect applications If you setup servers from inside VPC with ec2.py - you can use group IP by tag directly assuming that group has single item In case of external setup - try to use combination of hostvars and groups

Re: [ansible-project] Variable of variable doesn't work in ansible 1.4

2013-12-05 Thread Dmitry Horbach
Hi Michael, We are also using double evaluation in many places - mostly to not repeat definitions of the same variable *Example 1* user.yml - user uid values userA: 800 userB: 801 main.yml - role variables user: userA user_uid: ${${user}} # will be resolved to 800 *Example 2* type1_data: