title: Ansible: Read variables from properties file
body: <p>I am trying to translate some shell scripts to ansible playbooks. 
  In the shell scripts there are a lot of variables that are read from a separate properties file in which these variables are defined. 
  Is there some module or some other way that I can do this. For example,
  if in the properties file I have 
  $WORKDIR=/opt/app defined and in the ansible playbook I want to call some module for example, 
  copy:
    src: /tmp/app
    dest: $WORKDIR/</p>
  
  <p>Is there a way to do this?</p>
  
  <p>Thanks</p>