Removed ppm-specific stuff
Converting this repository to an ansible collection so we can re-use the roles everywhere
This commit is contained in:
parent
c34b3c1d0f
commit
e0b0f33c03
10 changed files with 0 additions and 73 deletions
|
|
@ -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
|
||||
|
||||
5
all.yml
5
all.yml
|
|
@ -1,5 +0,0 @@
|
|||
- name: Perform ppm server ansible playbook
|
||||
hosts: all
|
||||
roles:
|
||||
- baseline
|
||||
- ppm
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[defaults]
|
||||
inventory=inventory
|
||||
retry_files_enabled = False
|
||||
remote_user = root
|
||||
deperaction_warnings = True
|
||||
display_skipped_hosts = True
|
||||
|
||||
result_format=yaml
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -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 }}"
|
||||
|
|
@ -1 +0,0 @@
|
|||
ppm_binary: "{{ lookup('pipe', 'pwd') }}/../ppm/out/ppm"
|
||||
|
|
@ -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 }}"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
zabbix_server: "{{ lookup('file', 'passwords/zabbix_server') }}"
|
||||
zabbix_psk: "{{ lookup('file', 'passwords/zabbix_psk') }}"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[ppmserver]
|
||||
ppm.pfoe.be
|
||||
|
||||
3
run
3
run
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
ansible-playbook --diff all.yml "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue