-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcloud.yml
72 lines (67 loc) · 2.55 KB
/
cloud.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Cloud setup is a bit different because at first you can only login with user
# root using a password. We fix the server sshd and add some other common
# stuff, and then the host is ready to be used by any other playbook.
#
# If you (me) just provisioned a cloud server:
# 1. Add <server> to inventory file (hosts) [all, <role> and <os>]
# 2. Run this playbook with the flags `-e "target=<server> provider=ovh|gcp"
# (Playbook will fail after reboot because it no longer can login with root)
# 3. Listen to some heavenly metal.
- name: Setup a provisioned VM
hosts: '{{ target }}'
vars:
ansible_ssh_private_key_file: "{{ cloud_private_key }}"
ansible_user: "{{ cloud_user }}"
ansible_host: "{{ public_ip }}"
roles:
- {role: common, tags: common}
- {role: sshd, tags: sshd}
# There's a lady who's sure all that glitters is gold
# And she's buying a stairway to heaven.
# When she gets there she knows, if the stores are all closed
# With a word she can get what she came for.
# Ooh, ooh, and she's buying a stairway to heaven.
#
# There's a sign on the wall but she wants to be sure
# 'Cause you know sometimes words have two meanings.
# In a tree by the brook, there's a songbird who sings,
# Sometimes all of our thoughts are misgiven.
#
# Ooh, it makes me wonder,
# Ooh, it makes me wonder.
#
# There's a feeling I get when I look to the west,
# And my spirit is crying for leaving.
# In my thoughts I have seen rings of smoke through the trees,
# And the voices of those who stand looking.
#
# Ooh, it makes me wonder,
# Ooh, it really makes me wonder.
#
# And it's whispered that soon, if we all call the tune,
# Then the piper will lead us to reason.
# And a new day will dawn for those who stand long,
# And the forests will echo with laughter.
#
# If there's a bustle in your hedgerow, don't be alarmed now,
# It's just a spring clean for the May queen.
# Yes, there are two paths you can go by, but in the long run
# There's still time to change the road you're on.
# And it makes me wonder.
#
# Your head is humming and it won't go, in case you don't know,
# The piper's calling you to join him,
# Dear lady, can you hear the wind blow, and did you know
# Your stairway lies on the whispering wind?
#
# And as we wind on down the road
# Our shadows taller than our soul.
# There walks a lady we all know
# Who shines white light and wants to show
# How everything still turns to gold.
# And if you listen very hard
# The tune will come to you at last.
# When all are one and one is all
# To be a rock and not to roll.
#
# And she's buying a stairway to heaven.