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
Loading
Pipeline #3739 passed with warnings
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
--args "{% for key, value in ynh_app.args.items() %}{{ key }}={{ value }}{% if not loop.last %}&{% endif %}{% endfor %}" --args "{% for key, value in ynh_app.args.items() %}{{ key }}={{ value }}{% if not loop.last %}&{% endif %}{% endfor %}"
changed_when: False changed_when: False
tags: tags:
- yunohost
- apps - apps
# Post-installation part # Post-installation part
......
...@@ -23,13 +23,11 @@ ...@@ -23,13 +23,11 @@
register: ynh_installed_apps_raw register: ynh_installed_apps_raw
changed_when: False changed_when: False
tags: tags:
- yunohost
- apps - apps
- name: Format json of apps - name: Format json of apps
ansible.builtin.set_fact: ynh_installed_apps="{{ ynh_installed_apps_raw.stdout | from_json }}" ansible.builtin.set_fact: ynh_installed_apps="{{ ynh_installed_apps_raw.stdout | from_json }}"
tags: tags:
- yunohost
- apps - apps
- name: Install yunohost apps and perform post-install - name: Install yunohost apps and perform post-install
...@@ -39,5 +37,4 @@ ...@@ -39,5 +37,4 @@
loop_var: ynh_app loop_var: ynh_app
when: ynh_app.label not in ynh_installed_apps.values() when: ynh_app.label not in ynh_installed_apps.values()
tags: tags:
- yunohost
- apps - apps
...@@ -22,5 +22,4 @@ ...@@ -22,5 +22,4 @@
ansible.builtin.include_tasks: apps.yml ansible.builtin.include_tasks: apps.yml
when: ynh_apps when: ynh_apps
tags: tags:
- yunohost
- apps - apps
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
group: root group: root
mode: '0740' mode: '0740'
tags: tags:
- yunohost
- update - update
- cron - cron
...@@ -38,5 +39,6 @@ ...@@ -38,5 +39,6 @@
job: "{{ ynh_autoupdate.dest_script | default('/usr/local/bin/') }}ynh_autoupdate.sh" job: "{{ ynh_autoupdate.dest_script | default('/usr/local/bin/') }}ynh_autoupdate.sh"
cron_file: ynh_autoupdate_cron cron_file: ynh_autoupdate_cron
tags: tags:
- yunohost
- update - update
- cron - cron
...@@ -23,10 +23,12 @@ ...@@ -23,10 +23,12 @@
loop: "{{ ynh_smtp_relay | dict2items }}" loop: "{{ ynh_smtp_relay | dict2items }}"
when: item.value when: item.value
tags: tags:
- yunohost
- smtp - smtp
- name: Configures Yunohost autoupdate - name: Configures Yunohost autoupdate
ansible.builtin.include_tasks: autoupdate.yml ansible.builtin.include_tasks: autoupdate.yml
when: ynh_autoupdate.scheduled when: ynh_autoupdate.scheduled
tags: tags:
- yunohost
- update - update
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
register: _ynh_smtp_current_values register: _ynh_smtp_current_values
changed_when: False changed_when: False
tags: tags:
- yunohost
- smtp - smtp
- name: Set new SMTP settings - name: Set new SMTP settings
...@@ -31,4 +32,5 @@ ...@@ -31,4 +32,5 @@
"yunohost settings set smtp.relay.{{ item.key }} -v {{ item.value }}" "yunohost settings set smtp.relay.{{ item.key }} -v {{ item.value }}"
when: _ynh_smtp_current_values.stdout != item.value when: _ynh_smtp_current_values.stdout != item.value
tags: tags:
- yunohost
- smtp - smtp
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
tags: tags:
- pkg - pkg
- linux - linux
- yunohost
- name: Create apps and config directories - name: Create apps and config directories
ansible.builtin.file: ansible.builtin.file:
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
- "{{ ynh_symlink.conf_dir }}" - "{{ ynh_symlink.conf_dir }}"
tags: tags:
- linux - linux
- yunohost
when: ynh_symlink.enabled when: ynh_symlink.enabled
- name: Create symbolic link for Yunohost apps data directory - name: Create symbolic link for Yunohost apps data directory
...@@ -47,6 +49,7 @@ ...@@ -47,6 +49,7 @@
state: link state: link
tags: tags:
- linux - linux
- yunohost
when: ynh_symlink.enabled when: ynh_symlink.enabled
- name: Create symbolic link for Yunohost configuration directory - name: Create symbolic link for Yunohost configuration directory
...@@ -56,6 +59,7 @@ ...@@ -56,6 +59,7 @@
state: link state: link
tags: tags:
- linux - linux
- yunohost
when: ynh_symlink.enabled when: ynh_symlink.enabled
- name: Test if Yunohost is already installed - 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