ZFS, NFS, Zeus setting, perma IP fix, again
This commit is contained in:
23
roles/proxmox/tasks/set_community_repo.yml
Normal file
23
roles/proxmox/tasks/set_community_repo.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user