diff --git a/README.md b/README.md index 02665ed..6c1a21b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Catalogue of Ansible playbooks and helper scripts for server management +## TODO +Migrate OMV6 installation process to the OMV-Extras script and disable network configuration step +https://github.com/OpenMediaVault-Plugin-Developers/installScript#to-skip-network-setup + ## Node configuration process ### Setup user configuration - Create provisioning user without password and sudo diff --git a/node-configuration/tasks/omv.yaml b/node-configuration/tasks/omv.yaml index ac21dbc..c75a04f 100644 --- a/node-configuration/tasks/omv.yaml +++ b/node-configuration/tasks/omv.yaml @@ -4,29 +4,16 @@ name: gnupg state: present -- name: Install openmediavault keyring - ansible.builtin.apt_key: - url: https://packages.openmediavault.org/public/archive.key - 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 -- name: Add openmediavault package repository - ansible.builtin.apt_repository: - repo: deb https://packages.openmediavault.org/public shaitan main - state: present - filename: openmediavault +- name: Install OMV-extras + ansible.builtin.shell: /tmp/omv-extras.install -n >> /tmp/omv-extras.log -- name: Install openmediavault - ansible.builtin.apt: - pkg: - - openmediavault-keyring - - openmediavault - autoremove: yes - #allow_downgrade: yes - install_recommends: no - environment: - LANG: "C.UTF-8" - DEBIAN_FRONTEND: "noninteractive" - APT_LISTCHANGES_FRONTEND: "none" - -- name: Populate openmediavault configuration - ansible.builtin.command: omv-confdbadm populate +# TODO +# Run updates +# Reboot +# Install MergerFS and ZFS plugin