Skip to content

Commit

Permalink
Merge pull request #1373 from mira-miracoli/beacon-merge
Browse files Browse the repository at this point in the history
merge beacon into one playbook and use KVM
  • Loading branch information
mira-miracoli authored Dec 16, 2024
2 parents 762599f + e144f88 commit 732a323
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 39 deletions.
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

0 comments on commit 732a323

Please sign in to comment.