ANXS / postgresql

Fairly full featured Ansible role for Postgresql.
http://anxs.io/
MIT License
849 stars 573 forks source link

Removed unused variables, as they add to confusion #428

Closed gclough closed 5 years ago

gclough commented 5 years ago

Removed unused default variables (as in not used ANYWHERE). Checked with:

#!/bin/bash -

cat defaults/main.yml | grep ^[a-z] | cut -f1 -d: | while read VAR; do
  echo $VAR
  COUNT=`grep -r $VAR * | wc -l`
  echo $COUNT
  if [ $COUNT -le 1 ]; then
    echo ERROR;
  fi;
  echo =====================================================
done | less

I've also moved some of them to a more logical location.