-
Notifications
You must be signed in to change notification settings - Fork 0
/
playbook.yml
83 lines (74 loc) · 2.15 KB
/
playbook.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
73
74
75
76
77
78
79
80
81
82
83
# /ansible_playbook.yml
#
# main ansible playbook file
#
# Copyright (C) 2022 Ciaran Farley
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# K0CDF Ciaran Farley
# 228 16th Ave. Santa Cruz CA 95062.
#
---
- name: run apt maintinace on PVE hosts
hosts: PVE
roles:
- apt-maintinance
- name: create meshchat container
hosts: k0cdf-srv1-pve1
vars:
pve_ct_id: '148'
pve_ct_hostname: 'k0cdf-srv1-meshchat'
pve_ct_ip: '10.30.15.48'
- name: create nginxproxymanager container
hosts: k0cdf-srv1-pve1
vars:
pve_ct_id: '150'
pve_ct_hostname: 'k0cdf-srv1-srv'
pve_ct_ip: '10.30.15.50'
roles:
- create-ct
#- name: create snipe it container
# hosts: k0cdf-srv1-pve1
# vars:
# pve_ct_id: '151'
# pve_ct_hostname: 'k0cdf-srv1-snipeit'
# pve_ct_ip: '10.30.15.51'
# roles:
# - create-ct
- name: install meshchat
hosts: k0cdf-srv1-meshchat
tasks:
- name: apt maintinance on meshchat
ansible.builtin.include_role:
name: apt-maintinance
- name: install meshchat
ansible.builtin.include_role:
name: install-meshchat
# I AM USING TURNKEY NOW
#- name: install snipe-it
# hosts: k0cdf-srv1-snipeit
# tasks:
# - name: apt maintinance on snipe-it
# ansible.builtin.include_role:
# name: apt-maintinance
#
# - name: Install and Configure Snipe-IT
# ansible.builtin.include_role:
# name: wiggels.snipeit
# vars:
# snipe_domain: k0cdf-srv1-snipeit.local.mesh
# snipe_app_timezone: America/Los_Angeles
# snipe_db_password: k0CDF7373