Created
April 29, 2014 11:00
-
-
Save h2non/11396903 to your computer and use it in GitHub Desktop.
Dployrfile example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: | |
attributes: | |
index: 1 | |
dployr: | |
attributes: | |
name: "dployr" | |
prefix: dev | |
private_key_path: ~/pems/cert.pem | |
username: john | |
scripts: | |
pre-provision: | |
- source: ./hello | |
target: /tmp | |
provision: | |
- args: "" | |
remote_path: "/tmp/hello/jetty.sh %{index}" # use attribute | |
providers: | |
aws: | |
attributes: | |
instance_type: t1.micro | |
regions: | |
sa-east-1a: | |
attributes: | |
ami: ami-370daf2a # centos-base-v7 | |
keypair: vagrant-aws-saopaulo | |
security_groups: | |
- sg-3cf3e45e # lib_aws_saopaulo | |
subnet_id: subnet-1eebe07c | |
gce: | |
attributes: | |
instance_type: f1-micro | |
regions: | |
europe-west1-a: | |
attributes: | |
image_name: centos-base-v7 # centos-base-v7 | |
network: main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To generate the configuration from CLI you should use:
$ dployr config -f path/to/Dployrfile.yml -a 'index=100'