Skip to content

Commit c8c9da2

Browse files
committed
fixup accounting-related vars
1 parent f3ff220 commit c8c9da2

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

defaults/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
openhpc_slurm_service_enabled: true
33
openhpc_slurm_service_started: "{{ openhpc_slurm_service_enabled }}"
4-
openhpc_slurm_service:
54
openhpc_slurm_control_host: "{{ inventory_hostname }}"
65
#openhpc_slurm_control_host_address:
76
openhpc_slurm_partitions: []
@@ -13,7 +12,6 @@ openhpc_gres_template: gres.conf.j2
1312
openhpc_state_save_location: /var/spool/slurm
1413

1514
# Accounting
16-
openhpc_slurm_accounting_storage_type: accounting_storage/none
1715

1816
# slurmdbd configuration
1917
# todo: check we can override openhpc_slurm_accounting_storage_port

molecule/test4/converge.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
batch: "{{ inventory_hostname in groups['testohpc_compute'] }}"
88
database: "{{ inventory_hostname in groups['testohpc_login'] }}"
99
runtime: true
10-
openhpc_slurm_accounting_storage_type: 'accounting_storage/slurmdbd'
11-
openhpc_slurmdbd_mysql_database: slurm_acct_db
10+
openhpc_slurm_conf_overrides: |
11+
AccountingStorageType=accounting_storage/slurmdbd
1212
openhpc_slurmdbd_mysql_password: secure-password
13-
openhpc_slurmdbd_mysql_username: slurm
1413
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}"
1514
openhpc_slurm_partitions:
1615
- name: "compute"

0 commit comments

Comments
 (0)