--- acme_path: /var/acme acme_system_user: acme acme_system_group: acme nginx_config_dhparam: "/etc/ssl/dhparams.pem" nginx_user: nginx lego_environment: EXAMPLE_DNS_PROVIDER_USERNAME: "example" # lego_path refers to the local ansible user's home directory, used in a task with delegate_to: localhost lego_path: ~/.secrets/acme # This might work if the playbook is executing as the local user: #lego_path: "{{ ansible_env.HOME }}/.secrets/acme/certificates"