Hi, Over the past few months using Ansible, I've accumulated a handy bunch of playbooks which create different varieties of servers. The top-level directory looks like this :
modular-role-based-playbooks |-- [-rw-r--r--] create-bare-micro-instance-amazon.yml |-- [-rw-r--r--] create-captcha-server.yml |-- [-rw-r--r--] create-sandbox-server.yml |-- [-rw-r--r--] create-support.yml |-- [-rw-r--r--] create-test-machine-for-interview.yml |-- [-rw-r--r--] create-web.yml |-- [-rw-r--r--] create-webdriver.yml |-- [-rw-r--r--] create-worker.yml |-- [drwxr-xr-x] envs |-- [drwxr-xr-x] group_vars |-- [lrwxr-xr-x] inventories -> ../inventories |-- [drwxr-xr-x] make-playbook-with-roles |-- [drwxr-xr-x] roles `-- [drwxr-xr-x] templates How must I proceed so that with minimum redundancy I can create the same types of servers inside VPC as well? I understand that the ec2 module requires extra parameters passed when the instance is to be created inside VPC, so is it possible to have a conditional that disables/enables these parameters? Any help would be appreciated. -- Sankalp -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/256d9595-d1de-49fa-a7f4-97a56e9801e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.