diff --git a/README.md b/README.md index a4d4da6f93e9709a44e11b74394cf12944d8f145..c4a4576bfebdf085a64d45d903260e47e64d61e7 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,4 @@ The OpenAppStack bootstrap script allows you to easily set up a new OpenAppStack Please refer to https://openappstack.net/documentation.html for further details, and to https://openappstack.net/tutorial.html for a step by step installation tutorial how to bootstrap your cluster. + diff --git a/ansible/bootstrap.yml b/ansible/bootstrap.yml index a4841f6a4ae1826566d9f5b65d8d9391dbdc728c..e026478b5d40eb82bef51fb67c5c3fce746e41cc 100644 --- a/ansible/bootstrap.yml +++ b/ansible/bootstrap.yml @@ -8,6 +8,12 @@ msg: > "You must update Ansible to at least 2.6 to bootstrap your OAS cluster." + - name: Release name must start with lower case + assert: + that: "'{{ release_name }}' is match('^[a-z]')" + msg: > + "Release name ({{ release_name }}) should start with lower case." + - name: Prepare nodes hosts: cluster roles: