-
-
Save RPTST/10d4eb176caf384c8f3ff9a5fb3032bc to your computer and use it in GitHub Desktop.
Convert Debian 10 to Proxmox Virtual Environment 6. Ansible playbook.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Add proxmox gpg key | |
apt_key: | |
url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg | |
state: present | |
- name: Add proxmox repository | |
lineinfile: | |
path: /etc/apt/sources.list | |
line: deb http://download.proxmox.com/debian/pve buster pve-no-subscription | |
- name: install Proxmox | |
apt: | |
pkg: [ | |
proxmox-ve, | |
postfix, | |
open-iscsi, | |
openvswitch-switch | |
] | |
- name: Remove Proxmox Enterprise repository | |
lineinfile: | |
path: /etc/apt/sources.list | |
line: deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise | |
state: absent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment