--- 
- name: "Creating Server certificate"
  shell: " cd /etc/easy-rsa/2.0; source ./vars; export EASY_RSA=\"${EASY_RSA:-.}\"; \"$EASY_RSA/pkitool\"  --server {{ server }}; cp /etc/easy-rsa/2.0/keys/{{ server }}.crt /etc/easy-rsa/2.0/keys/dummy_server.crt"
  args:
    chdir: /etc/easy-rsa/2.0/keys/
    creates: dummy_server.crt  ## Todo: {{ server }}.crt does not work

- name: "Generating Diffie-Hellman Parameters"
  shell: "cd /etc/easy-rsa/2.0; source ./vars; ./build-dh"
  args:
    chdir: /etc/easy-rsa/2.0/keys/
    creates: dh512.pem
