tweaks
This commit is contained in:
parent
b21fc40a38
commit
c1ff6a0612
4 changed files with 26 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
base_data_dir: /data
|
||||
base_data_dir: /mnt/data
|
||||
base_service_dir: /srv
|
||||
|
||||
# Additional open ports
|
||||
|
|
14
main.tf
14
main.tf
|
@ -16,10 +16,12 @@ provider "libvirt" {
|
|||
}
|
||||
|
||||
module "tf-datatest" {
|
||||
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
|
||||
name = "max2"
|
||||
domain_name = "tf-max"
|
||||
data_disk = "/kvm/data/max-data"
|
||||
fixed_address = "192.168.30.66/24"
|
||||
ansible_command = "ansible-playbook max.yml"
|
||||
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
|
||||
name = "max2"
|
||||
domain_name = "tf-max"
|
||||
data_disk = "/kvm/data/max-data"
|
||||
fixed_address = "192.168.30.66/24"
|
||||
ansible_command = "ansible-playbook max.yml"
|
||||
insecure_password = true
|
||||
memory = 1024 * 8
|
||||
}
|
||||
|
|
21
max.yml
21
max.yml
|
@ -8,18 +8,29 @@
|
|||
state: started
|
||||
port: 22
|
||||
host: max2.dmz
|
||||
timeout: 10
|
||||
timeout: 300
|
||||
connect_timeout: 300
|
||||
search_regex: OpenSSH
|
||||
delegate_to: localhost
|
||||
- name: Wait for cloud-init to finish
|
||||
command:
|
||||
cmd: cloud-init status --wait
|
||||
shell:
|
||||
cmd: "cloud-init status --wait"
|
||||
register: cloudinit
|
||||
changed_when: "'..' in cloudinit.stdout"
|
||||
- name: Gather facts
|
||||
setup:
|
||||
|
||||
roles:
|
||||
- {role: 'docker', tags: 'docker'}
|
||||
- {role: 'traefik', tags: 'traefik'}
|
||||
- {role: 'watchtower', tags: 'watchtower'}
|
||||
- {role: 'forgejo', tags: 'forgejo'}
|
||||
# - {role: 'syncthing', tags: 'syncthing'}
|
||||
- {role: 'kms', tags: 'kms'}
|
||||
- {role: 'cyberchef', tags: 'cyberchef'}
|
||||
#- {role: 'radicale', tags: 'radicale'}
|
||||
- {role: 'mastodon', tags: 'mastodon'}
|
||||
- {role: 'seafile', tags: 'seafile'}
|
||||
- {role: 'jitsi', tags: 'jitsi'}
|
||||
- {role: 'freshrss', tags: 'freshrss'}
|
||||
- {role: 'static', tags: 'static'}
|
||||
- {role: 'inbucket', tags: 'inbucket'}
|
||||
- {role: 'prometheus', tags: 'prometheus'}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
service_name: static
|
||||
service_dir: "{{ base_service_dir }}/{{ service_name }}"
|
||||
git_origin: "http://localhost:{{ internal_forgejo_port }}/pim/static.git"
|
||||
git_origin: "http://git.pim.kunis.nl/pim/static.git"
|
||||
|
|
Reference in a new issue