Skip to content

Commit 364c10f

Browse files
committed
update groups
1 parent 14cd01d commit 364c10f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

roles/cluster_infra/defaults/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ cluster_groups_required:
1818
mysql: [control]
1919
update: [cluster]
2020
basic_users: [cluster]
21+
fail2ban: [login]
22+
firewalld: [fail2ban]
23+
# ignore these for the moment:
24+
#etc_hosts: []
25+
# cloud_init: [etc_hosts]
26+
systemd: [opendistro, grafana, control, prometheus]
2127

2228
# These are the additional groups required for monitoring (see everything layout)
2329
cluster_groups_monitoring:

roles/cluster_infra/tasks/main.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@
5252
groups: "{{ hostvars[item].group_names | stackhpc.terraform.terraform_infra_expand_groups(cluster_groups_monitoring) }}"
5353
loop: "{{ groups.get('cluster', []) }}"
5454

55-
- name: Add cluster hosts to validation groups
56-
add_host:
57-
name: "{{ item }}"
58-
groups: "{{ hostvars[item].group_names | stackhpc.terraform.terraform_infra_expand_groups(cluster_groups_validation) }}"
59-
loop: "{{ groups.get('cluster', []) }}"
60-
when: cluster_run_validation | default(false) | bool
61-
6255
- name: Add cluster hosts to Zenith groups
6356
add_host:
6457
name: "{{ item }}"

slurm-infra.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
when: zenith_subdomain_ood is defined
109109

110110
- import_playbook: vendor/stackhpc/ansible-slurm-appliance/ansible/adhoc/hpctests.yml
111+
when: cluster_run_validation | default(false) | bool
111112

112113
# Write the outputs as the final task
113114
- hosts: localhost

0 commit comments

Comments
 (0)