Newer
Older
name:
- git
- dialog
state: present
- name: Test if Yunohost is already installed
ansible.builtin.stat: path=/etc/yunohost/installed
register: ynh_file_install
- name: Download Yunohost install script
url: "{{ ynh_install_script_url }}"
- name: Launch Yunohost install script
ansible.builtin.command: /tmp/install_yunohost.sh -a
- name: Launch Yunohost postinstall
ansible.builtin.command:
--domain "{{ ynh_main_domain }}" \
--password "{{ ynh_admin_password }}" \
{% if ynh_ignore_dyndns_server %} --ignore-dyndns {% endif %}
when: not ynh_file_install.stat.exists
- name: Create extra domains

Arthur BOUDREAULT
committed
ansible.builtin.include_tasks: domains.yml
when: ynh_extra_domains
- name: Run first Yunohost diagnosis
ansible.builtin.command: yunohost diagnosis run
- name: Install domain certificates
ansible.builtin.command: yunohost domain cert-install
- name: Add Yunohost users

Arthur BOUDREAULT
committed
ansible.builtin.include_tasks: users.yml
- name: Install Yunohost apps

Arthur BOUDREAULT
committed
ansible.builtin.include_tasks: apps.yml