File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed
environments/common/layouts Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1+ - name : Assert secrets created
2+ assert :
3+ that : (hostvars[inventory_hostname].keys() | select('contains', 'vault_') | length) > 1 # 1 as may have vault_testuser_password defined in dev
4+ fail_msg : " No inventory variables 'vault_*' found: Has ansible/adhoc/generate-passwords.yml been run?"
Original file line number Diff line number Diff line change 99 when : hook_path | exists
1010
1111- import_playbook : validate.yml
12- when : " {{ appliances_validate | default(true) }} "
12+ when : appliances_validate | default(true)
1313
1414- import_playbook : bootstrap.yml
1515
Original file line number Diff line number Diff line change 22
33# Fail early if configuration is invalid
44
5+ - name : Validate secrets created
6+ hosts : localhost
7+ gather_facts : false
8+ tasks :
9+ - import_role :
10+ name : passwords
11+ tasks_from : validate.yml
12+
513- name : Ensure control node is in inventory
614 hosts : all
715 gather_facts : false
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ control
2525[filebeat:children]
2626slurm_stats
2727
28- # NB: [rebuild] not defined here as this template is used in CI, which does not run in openstack
28+ # NB: [rebuild] not defined here as this template is used in CI
2929
3030[update:children]
3131cluster
You can’t perform that action at this time.
0 commit comments