fix(omv): Add vagrant and ansible user to ssh group

This commit is contained in:
Tanguy Herbron 2023-12-02 17:59:36 +01:00
parent c0bdaf0315
commit 1c4b20430f

View File

@ -4,6 +4,19 @@
name: gnupg
state: present
# TODO: Only enable this within Homelab configuration
- name: Add Vagrant user to ssh group
ansible.builtin.user:
name: vagrant
groups: ssh
append: yes
- name: Add Ansible user to ssh group
ansible.builtin.user:
name: "{{ ansible_user_id }}"
groups: ssh
append: yes
- name: Download OMV-extras
ansible.builtin.get_url:
url: https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
@ -11,9 +24,4 @@
mode: u+rwx
- name: Install OMV-extras
ansible.builtin.shell: /tmp/omv-extras.install -n >> /tmp/omv-extras.log
# TODO
# Run updates
# Reboot
# Install MergerFS and ZFS plugin
ansible.builtin.shell: /tmp/omv-extras.install -n -f >> /tmp/omv-extras.log