Removed ppm-specific stuff

Converting this repository to an ansible collection so we can re-use the
roles everywhere
This commit is contained in:
Peter 2026-05-26 13:36:06 +02:00
parent c34b3c1d0f
commit e0b0f33c03
10 changed files with 0 additions and 73 deletions

View file

@ -1,7 +0,0 @@
This is how I set up ppm.pfoe.be
This repository is currently created to serve
as an inspiration for creating your own ansible playbook to set up ppm
At this moment it is not intended to be used as is/it is a work in progress

View file

@ -1,5 +0,0 @@
- name: Perform ppm server ansible playbook
hosts: all
roles:
- baseline
- ppm

View file

@ -1,9 +0,0 @@
[defaults]
inventory=inventory
retry_files_enabled = False
remote_user = root
deperaction_warnings = True
display_skipped_hosts = True
result_format=yaml

View file

@ -1,33 +0,0 @@
ppm_apps:
- on_server: ppm.pfoe.be
user: git
chicken_egg_appdefinition: ../forgejo/
appconfig:
restic:
url: "{{ lookup('file', 'passwords/ppm-forgejo-url') }}"
password: "{{ lookup('file', 'passwords/ppm-forgejo-password') }}"
backupname: "{{ lookup('file', 'passwords/ppm-forgejo-name') }}"
appinfo:
url: https://ppm.pfoe.be/ppm/forgejo.git
config:
publicurl: ppm.pfoe.be
- on_server: ppm.pfoe.be
user: nginx
chicken_egg_appdefinition: ../nginx/
appconfig:
appinfo:
url: https://ppm.pfoe.be/ppm/nginx.git
code:
type: localfiles
directory: nginx
- on_server: ppm.pfoe.be
user: runner
chicken_egg_appdefinition: ../forgejo-runner/
appconfig:
appinfo:
url: https://ppm.pfoe.be/ppm/forgejo-runner.git
code:
type: localfiles
directory: forgejo-runner

View file

@ -1,7 +0,0 @@
# I prefer not to share the list of admins in a public repo, so refer to passwords...
# The format for the ssh ranges is as follows:
# - name: The name that is in a comment in the generated file. Not used anywhere else
# type: ipv4 # or ipv6
# range: 10.10.10.10/32 # The range, MUST be a valid range, not an ip address, ie there must be a / and the netmask
firewall_ssh_ranges: "{{ lookup('file', 'passwords/firewall_ssh_ranges.yml') | from_yaml }}"

View file

@ -1 +0,0 @@
ppm_binary: "{{ lookup('pipe', 'pwd') }}/../ppm/out/ppm"

View file

@ -1,3 +0,0 @@
root_password: "{{ lookup('file', 'passwords/root_password_hashed') }}"
# ssh keys are public, but I prefer not to share the list of admins in a public repo
root_sshkeys: "{{ lookup('file', 'passwords/root_sshkeys.yml') | from_yaml }}"

View file

@ -1,2 +0,0 @@
zabbix_server: "{{ lookup('file', 'passwords/zabbix_server') }}"
zabbix_psk: "{{ lookup('file', 'passwords/zabbix_psk') }}"

View file

@ -1,3 +0,0 @@
[ppmserver]
ppm.pfoe.be

3
run
View file

@ -1,3 +0,0 @@
#!/bin/sh
ansible-playbook --diff all.yml "$@"