fix(omv): Add vagrant and ansible user to ssh group
This commit is contained in:
parent
c0bdaf0315
commit
1c4b20430f
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user