health-server: Getting affinity from yaml file

The affinity of a given job can be taken from the yaml directly.
The Fair affinity is still the default