-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.yml
62 lines (58 loc) · 1.63 KB
/
tasks.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
title: Self Hosting 101
subtitle: Learn to self-host
config:
base_domain: "k8x.in"
base_url: "http://{name}.k8x.in"
tasks:
- name: new-droplet
title: Create a new droplet with Ubuntu 22.04
description: |
Create a droplet from Digital Ocean and enter the IP address below attach it to your account.
TODO: add instructions
checks: []
form:
description: |
Please enter the IP address of the droplet below to attach it to
your account.
inputs:
- name: ip
label: IP Address of the Droplet
type: ipaddr
- name: test
label: Test
type: string
regex: "[a-z0-9]+"
not_null: true
min_length: 10
max_length: 20
actions:
- add_dns_entry
# - name: count
# label: Count
# type: integer
# min_value: 0
# max_value: 10s
# checks:
# - check_host_ping: {}
- name: agent
title: Install self-hosting-agent
description: |
Install self-hosting agent using the instructions below.
TODO: add instructions
checks:
- check_package_exists:
package: self-hosting-agent
- name: nginx
title: Install nginx
description: |
Install nginx
checks:
- check_package_exists:
package: nginx
# - name: non-root-user
# title: Create a non-root user
# description: |
# Create a non-root user with username dev
# checks:
# - check_user_exists:
# user: dev