Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 5aeede92 authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

refactor: yunohost tag more consistent

parent d12d5911
No related branches found
No related tags found
No related merge requests found
Pipeline #3739 passed with warnings
This commit is part of merge request !24. Comments created here will be created in the context of that merge request.
......@@ -25,7 +25,6 @@
--args "{% for key, value in ynh_app.args.items() %}{{ key }}={{ value }}{% if not loop.last %}&{% endif %}{% endfor %}"
changed_when: False
tags:
- yunohost
- apps
# Post-installation part
......
......@@ -23,13 +23,11 @@
register: ynh_installed_apps_raw
changed_when: False
tags:
- yunohost
- apps
- name: Format json of apps
ansible.builtin.set_fact: ynh_installed_apps="{{ ynh_installed_apps_raw.stdout | from_json }}"
tags:
- yunohost
- apps
- name: Install yunohost apps and perform post-install
......@@ -39,5 +37,4 @@
loop_var: ynh_app
when: ynh_app.label not in ynh_installed_apps.values()
tags:
- yunohost
- apps
......@@ -22,5 +22,4 @@
ansible.builtin.include_tasks: apps.yml
when: ynh_apps
tags:
- yunohost
- apps
......@@ -26,6 +26,7 @@
group: root
mode: '0740'
tags:
- yunohost
- update
- cron
......@@ -38,5 +39,6 @@
job: "{{ ynh_autoupdate.dest_script | default('/usr/local/bin/') }}ynh_autoupdate.sh"
cron_file: ynh_autoupdate_cron
tags:
- yunohost
- update
- cron
......@@ -23,10 +23,12 @@
loop: "{{ ynh_smtp_relay | dict2items }}"
when: item.value
tags:
- yunohost
- smtp
- name: Configures Yunohost autoupdate
ansible.builtin.include_tasks: autoupdate.yml
when: ynh_autoupdate.scheduled
tags:
- yunohost
- update
......@@ -24,6 +24,7 @@
register: _ynh_smtp_current_values
changed_when: False
tags:
- yunohost
- smtp
- name: Set new SMTP settings
......@@ -31,4 +32,5 @@
"yunohost settings set smtp.relay.{{ item.key }} -v {{ item.value }}"
when: _ynh_smtp_current_values.stdout != item.value
tags:
- yunohost
- smtp
......@@ -27,6 +27,7 @@
tags:
- pkg
- linux
- yunohost
- name: Create apps and config directories
ansible.builtin.file:
......@@ -38,6 +39,7 @@
- "{{ ynh_symlink.conf_dir }}"
tags:
- linux
- yunohost
when: ynh_symlink.enabled
- name: Create symbolic link for Yunohost apps data directory
......@@ -47,6 +49,7 @@
state: link
tags:
- linux
- yunohost
when: ynh_symlink.enabled
- name: Create symbolic link for Yunohost configuration directory
......@@ -56,6 +59,7 @@
state: link
tags:
- linux
- yunohost
when: ynh_symlink.enabled
- name: Test if Yunohost is already installed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment