ansible_eyc_inventory
Ansible dynamic inventory script generator for Engine Yard Cloud.
Installation
$ gem install ansible_eyc_inventory
Usage
$ ansible_eyc_inventory
1 ursm / foo
Choose an application: [1] 1
create inventory/eyc_foo_production
chmod inventory/eyc_foo_production
$ ansible all -i inventory/eyc_foo_production -m ping
ec2-xxx-xxx-xxx-xxx.ap-northeast-1.compute.amazonaws.com | success >> {
"changed": false,
"ping": "pong"
}
Contributing
- Fork it ( https://github.com/ursm/ansible_eyc_inventory/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request