Ansible/node-configuration/tasks/omv.yaml

28 lines
690 B
YAML
Raw Normal View History

2022-05-25 23:24:56 +00:00
---
- name: Install gnupg
ansible.builtin.package:
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
dest: /tmp/omv-extras.install
mode: u+rwx
2022-05-25 23:24:56 +00:00
- name: Install OMV-extras
ansible.builtin.shell: /tmp/omv-extras.install -n -f >> /tmp/omv-extras.log