Remove trailing whitespace.
This commit is contained in:
parent
393b682849
commit
09cf5a5cdd
1 changed files with 30 additions and 30 deletions
60
README.cloud
60
README.cloud
|
@ -35,12 +35,12 @@ define these with:
|
||||||
--extra-vars="varname=value varname1=value varname2=value"
|
--extra-vars="varname=value varname1=value varname2=value"
|
||||||
|
|
||||||
Name Memory_MB Disk VCPUs
|
Name Memory_MB Disk VCPUs
|
||||||
m1.tiny 512 0 1
|
m1.tiny 512 0 1
|
||||||
m1.small 2048 20 1
|
m1.small 2048 20 1
|
||||||
m1.medium 4096 40 2
|
m1.medium 4096 40 2
|
||||||
m1.large 8192 80 4
|
m1.large 8192 80 4
|
||||||
m1.xlarge 16384 160 8
|
m1.xlarge 16384 160 8
|
||||||
m1.builder 5120 50 3
|
m1.builder 5120 50 3
|
||||||
|
|
||||||
Setting up a new persistent cloud host:
|
Setting up a new persistent cloud host:
|
||||||
1. select an ip:
|
1. select an ip:
|
||||||
|
@ -77,19 +77,19 @@ Contents should look like this (remove all the comments)
|
||||||
|
|
||||||
---
|
---
|
||||||
# 2cpus, 3GB of ram 20GB of ephemeral space
|
# 2cpus, 3GB of ram 20GB of ephemeral space
|
||||||
instance_type: m1.large
|
instance_type: m1.large
|
||||||
# image id - see global vars. You can also use euca-describe-images to find other images as well
|
# image id - see global vars. You can also use euca-describe-images to find other images as well
|
||||||
image: "{{ el6_qcow_id }}"
|
image: "{{ el6_qcow_id }}"
|
||||||
keypair: fedora-admin-20130801
|
keypair: fedora-admin-20130801
|
||||||
# what security group to add the host to
|
# what security group to add the host to
|
||||||
security_group: webserver
|
security_group: webserver
|
||||||
zone: fedoracloud
|
zone: fedoracloud
|
||||||
# instance id will be appended
|
# instance id will be appended
|
||||||
hostbase: hostname_base-
|
hostbase: hostname_base-
|
||||||
# ip should be in the 209.132.184.XXX range
|
# ip should be in the 209.132.184.XXX range
|
||||||
public_ip: $ip_you_selected
|
public_ip: $ip_you_selected
|
||||||
# users/groups who should have root ssh access
|
# users/groups who should have root ssh access
|
||||||
root_auth_users: skvidal bkabrda
|
root_auth_users: skvidal bkabrda
|
||||||
description: some description so someone else can know what this is
|
description: some description so someone else can know what this is
|
||||||
|
|
||||||
The available images can be found by running::
|
The available images can be found by running::
|
||||||
|
@ -98,7 +98,7 @@ The available images can be found by running::
|
||||||
|
|
||||||
4. setup a host playbook ansible/playbooks/hosts/$YOUR_HOSTNAME_HERE.yml
|
4. setup a host playbook ansible/playbooks/hosts/$YOUR_HOSTNAME_HERE.yml
|
||||||
Note: the name of this file doesn't really matter but it should normally
|
Note: the name of this file doesn't really matter but it should normally
|
||||||
be the hostname of the host you're setting up.
|
be the hostname of the host you're setting up.
|
||||||
|
|
||||||
- name: check/create instance
|
- name: check/create instance
|
||||||
hosts: $YOUR_HOSTNAME/IP HERE
|
hosts: $YOUR_HOSTNAME/IP HERE
|
||||||
|
@ -188,7 +188,7 @@ Notes:
|
||||||
impacting other instances using that security group.
|
impacting other instances using that security group.
|
||||||
|
|
||||||
- You will almost always want to allow 22/tcp (sshd) and icmp -1 -1 (ping
|
- You will almost always want to allow 22/tcp (sshd) and icmp -1 -1 (ping
|
||||||
and traceroute and friends).
|
and traceroute and friends).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -236,24 +236,24 @@ Creating a persistant instance
|
||||||
|
|
||||||
5) setup the host_vars file. It should looks something like this::
|
5) setup the host_vars file. It should looks something like this::
|
||||||
|
|
||||||
instance_type: m1.medium
|
instance_type: m1.medium
|
||||||
image: "{{ f20_qcow_id }}"
|
image: "{{ f20_qcow_id }}"
|
||||||
keypair: fedora-admin-20130801
|
keypair: fedora-admin-20130801
|
||||||
security_group: webserver
|
security_group: webserver
|
||||||
zone: nova
|
zone: nova
|
||||||
tcp_ports: [22, 80, 443]
|
tcp_ports: [22, 80, 443]
|
||||||
|
|
||||||
hostbase: taiga
|
hostbase: taiga
|
||||||
public_ip: 209.132.184.50
|
public_ip: 209.132.184.50
|
||||||
root_auth_users: ralph maxamillion
|
root_auth_users: ralph maxamillion
|
||||||
description: taiga frontend server
|
description: taiga frontend server
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- volume_id: VOLUME_UUID_GOES_HERE
|
- volume_id: VOLUME_UUID_GOES_HERE
|
||||||
device: /dev/vdc
|
device: /dev/vdc
|
||||||
|
|
||||||
cloud_networks:
|
cloud_networks:
|
||||||
# persistent-net
|
# persistent-net
|
||||||
- net-id: "7c705493-f795-4c3a-91d3-c5825c50abfe"
|
- net-id: "7c705493-f795-4c3a-91d3-c5825c50abfe"
|
||||||
|
|
||||||
6) setup the host playbook
|
6) setup the host playbook
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue