Commit a19254a2 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: add proxmox config

parent ba6fd7b1
Loading
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
---

# configure proxmox - all nodes
- name: "configure proxmox - all nodes"
  hosts: "proxmox"
  become: true
  serial: 1
  tasks:

    # configure proxmox cluster
    - name: "configure proxmox cluster nodes"
      tags: "configure-cluster"
      ansible.builtin.import_tasks: "tasks/proxmox/config.yaml"


# update proxmox - first node
- name: "update proxmox - first node"
  hosts: "{{ groups['proxmox'] | first }}"
+16 −0
Original line number Diff line number Diff line
---

# set pve-fake-subscription version
- name: "set pve-fake-subscription version"
  ansible.builtin.set_fact:
    # renovate: datasource=github-releases depName=Jamesits/pve-fake-subscription versioning=pep440
    __pfs_version: "0.0.11"

# install pve-fake-subscription
- name: "install - pve-fake-subscription"
  ansible.builtin.apt:
    deb:
      "https://github.com/Jamesits/pve-fake-subscription/releases/download/\
       v{{ __pfs_version }}/pve-fake-subscription_{{ __pfs_version }}+git-1_all.deb"
    state: "present"
  when: 'ansible_os_family == "Debian"'