Fixed typo in elasticsearch config template

There was a mismatch between the name of the define checked variable and the used variable. Easily fixed. The error manifests if you want to specify the number of replicas in your playbook.