--- - name: Install gnupg ansible.builtin.package: name: gnupg state: present - name: Download OMV-extras ansible.builtin.get_url: url: https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install dest: /tmp/omv-extras.install mode: u+rwx # B: Beta to enable installation on Debian 12 # N: Skip networking installation # F: Skip flashmemory plugin installation - name: Install OMV-extras ansible.builtin.shell: /tmp/omv-extras.install -n -f >> /tmp/omv-extras.log # Check for vagrant variable, indicating we are running in a lab environment - name: Add Vagrant user to ssh group ansible.builtin.user: name: vagrant groups: ssh append: yes when: vagrant | default(false) - name: Add Ansible user to ssh group ansible.builtin.user: name: "{{ ansible_user_id }}" groups: ssh append: yes - name: Upgrade packages ansible.builtin.apt: update_cache: yes name: "*" state: latest - name: Install ZFS, S3 with Minio and Filebrowser ansible.builtin.apt: pkg: - openmediavault-zfs - openmediavault-s3 - openmediavault-filebrowser register: plugin_install - name: Reboot to enable ZFS module and finish upgrade ansible.builtin.reboot: when: plugin_install.changed