Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge beacon into one playbook and use KVM #1373

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions beacon-import.yml

This file was deleted.

26 changes: 19 additions & 7 deletions beacon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@
hosts:
- beacon
vars_files:
- secret_group_vars/beacon.yml
- secret_group_vars/all.yml
- group_vars/all.yml
- group_vars/beacon/vars.yml
- group_vars/beacon/vault.yml
vars:
postgres_data_dir: /data/postgresql/data
postgres_init_dir: /data/postgresql/init
bp_external_binding: 80
postgres_user: "{{ beacon_db_user }}"
postgres_pass: "{{ beacon_db_password }}"
postgres_external_binding: "{{ beacon_db_port }}"
collections:
- devsec.hardening
roles:
- role: usegalaxy_eu.handy.os_setup
vars:
enable_hostname: true
enable_powertools: true # geerlingguy.repo-epel role doesn't enable PowerTools repository
enable_remap_user: true
enable_create_user: true
- usegalaxy-eu.autoupdates # keep all of our packages up to date
- influxdata.chrony
- dj-wasabi.telegraf
- usegalaxy-eu.dynmotd # nicer MOTD/welcome message
- paprikant.beacon
- paprikant.beacon-importer
# - os_hardening
# - ssh_hardening
18 changes: 18 additions & 0 deletions group_vars/beacon/vars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
postgres_data_dir: /data/postgresql/data
postgres_init_dir: /data/postgresql/init
bp_external_binding: 80
postgres_user: "{{ beacon_db_user }}"
postgres_pass: "{{ beacon_db_password }}"
postgres_external_binding: "{{ beacon_db_port }}"
hostname: beacon.galaxyproject.eu
script_user: beacon
script_dir: /home/beacon/script
galaxy_api_url: https://usegalaxy.eu
handy_groups:
- group_name: beacon
group_gid: 999
handy_users:
- user_name: beacon
user_uid: 999
user_group: beacon
File renamed without changes.
5 changes: 1 addition & 4 deletions hosts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ stats.galaxyproject.eu
build.galaxyproject.eu ansible_ssh_user=root

[beacon]
beacon.galaxyproject.eu ansible_ssh_user=rocky

[beacon_import]
beacon-import.galaxyproject.eu
beacon.galaxyproject.eu ansible_ssh_user=root

[influxdb]
influxdb.galaxyproject.eu
Expand Down
Loading