~egtann/up

ref: 1ab0f861d8d69becf312b45bf8acdec04f8c9667 up/cmd/up/manifest.json -rw-r--r-- 370 bytes
1ab0f861 — Evan Tann simplify tool 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
	"Name": "my_app",
	"Inventory": ["10.0.0.1", "10.0.0.2"],
	"Files": {
		"test.txt": {
			"Remote": "test_remote.txt",
			"Mod": "600",
			"Own": "root:root"
		}
	},
	"Deploy": [
		"sudo systemctl restart \"my_app 2\"",
		"sleep 5 && $check_health"
	],
	"Rsync": "rsync -chazP -e 'ssh -J jump@$jump'",
	"SSH": "ssh -J jump@$jump",
	"Vars": {
		"jump": "10.0.0.3"
	}
}