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 name: gnupg
state: present 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 - name: Download OMV-extras
ansible.builtin.get_url: ansible.builtin.get_url:
url: https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install url: https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
@ -11,9 +24,4 @@
mode: u+rwx mode: u+rwx
- name: Install OMV-extras - name: Install OMV-extras
ansible.builtin.shell: /tmp/omv-extras.install -n >> /tmp/omv-extras.log ansible.builtin.shell: /tmp/omv-extras.install -n -f >> /tmp/omv-extras.log
# TODO
# Run updates
# Reboot
# Install MergerFS and ZFS plugin