Skip to content

Commit

Permalink
Add checks for monitoring for the stack.
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertc777 committed Mar 23, 2021
1 parent 6158764 commit 52e5a0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
3 changes: 3 additions & 0 deletions playbooks/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@
tasks:
- include_role:
name: influxdb
when: monitoring|default(false)|bool
- include_role:
name: grafana
when: monitoring|default(false)|bool

- hosts: all
vars:
Expand All @@ -169,3 +171,4 @@
when: slurm|default(false)|bool
- include_role:
name: telegraf
when: monitoring|default(false)|bool
21 changes: 6 additions & 15 deletions schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,11 @@ variables:
title: "Install Spack package manager"
default: false

monitoring:
type: boolean
title: "Install HPC Cluster Monitoring"
default: false

autoscaling:
type: boolean
title: "Use Slurm to launch additional clusters"
Expand All @@ -580,11 +585,6 @@ variables:
visible:
not:
- ${inst_prin}
#required:
# and:
# - ${autoscaling}
# not:
# - ${inst_prin}

api_fingerprint:
type: string
Expand All @@ -593,11 +593,6 @@ variables:
visible:
not:
- ${inst_prin}
#required:
# and:
# - ${autoscaling}
# not:
# - ${inst_prin}

api_user_ocid:
type: string
Expand All @@ -606,11 +601,7 @@ variables:
visible:
not:
- ${inst_prin}
#required:
# and:
# - ${autoscaling}
# not:
# - ${inst_prin}

configure:
type: boolean
title: "Configure system"
Expand Down

0 comments on commit 52e5a0b

Please sign in to comment.