ZFS, NFS, Zeus setting, perma IP fix, again

This commit is contained in:
git
2024-01-25 14:34:14 +01:00
parent 146c50fd29
commit 9dd8c9a45a
38 changed files with 659 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
- name: Copy to /etc/default/grub
template:
src: ../templates/grub
dest: /etc/default/grub
owner: root
group: root
mode: '0644'
notify: iommu-grub-update
- name: Copy to /etc/modules
template:
src: ../templates/modules
dest: /etc/modules
owner: root
group: root
mode: '0644'

View File

@@ -0,0 +1,8 @@
---
# tasks file for proxmox
- name: System settings
ansible.builtin.include_tasks: "{{ item }}"
loop:
- set_community_repo.yml
- iommu.yml

View File

@@ -0,0 +1,23 @@
---
- name: setting community repo
ansible.builtin.blockinfile:
state: present
insertafter: EOF
path: /etc/apt/sources.list
mode: '0664'
create: true
block: |
#Block for setting community repo
deb http://download.proxmox.com/debian/ {{ ansible_distribution_release }} pve-no-subscription
- name: disable comercial one
file: path=/etc/apt/sources.list.d/pve-enterprise.list state=absent
- name: disable comercial two
file: path=/etc/apt/sources.list.d/ceph.list state=absent
- name: Update and upgrade apt packages
apt:
upgrade: yes
update_cache: yes