[ { "name": "configuration | compute client secret hash", "become" true, "ansible.builtin.command": { "cmd": "authelia crypto hash generate bcrypt --password {{var_authelia_for_wiki_js_client_secret}}" }, "set_fact": { "temp_authelia_for_wiki_js_client_secret_hashed": "{{ command_output.stdout }}" } }, { "name": "configuration | emplace", "become": true, "ansible.builtin.template": { "src": "authelia-client-conf.json.j2", "dest": "/etc/authelia/conf.d/clients/wiki_js.json" } }, { "name": "configuration | apply", "become": true, "ansible.builtin.command": { "cmd": "/usr/bin/authelia-conf-compose" } }, { "name": "restart service", "become": true, "ansible.builtin.systemd_service": { "state": "restarted", "name": "authelia" } } ]