refactor(ynh_config): use dict to store all settings
I think it's possible to have only one task for all YNH settings
Var
ynh_settings:
security.ssh.port: "22"
security.password.passwordless_sudo: "true"
Task
- name: YNH setting {{ item.key }} with value {{ item.value }}
ansible.builtin.command:
"yunohost settings set {{ item.key }} -v {{ item.value }}"
loop: "{{ ynh_settings | dict2items }}"
tags:
- yunohost
- config
Edited by Christophe Chaudier