diff --git a/roles/proxmox-apt-sources/tasks/main.yml b/roles/proxmox-apt-sources/tasks/main.yml index 1774927c..9a0384a9 100644 --- a/roles/proxmox-apt-sources/tasks/main.yml +++ b/roles/proxmox-apt-sources/tasks/main.yml @@ -1,5 +1,8 @@ --- - name: Configure Proxmox repositories template: - src: apt/sources.list.d/pve-enterprise.list.j2 - dest: /etc/apt/sources.list.d/pve-enterprise.list + src: "apt/sources.list.d/{{ item }}.list.j2" + dest: "/etc/apt/sources.list.d/{{ item }}.list" + loop: + - pve-enterprise + - ceph diff --git a/roles/proxmox-apt-sources/templates/apt/sources.list.d/ceph.list.j2 b/roles/proxmox-apt-sources/templates/apt/sources.list.d/ceph.list.j2 new file mode 100644 index 00000000..533bef5d --- /dev/null +++ b/roles/proxmox-apt-sources/templates/apt/sources.list.d/ceph.list.j2 @@ -0,0 +1,2 @@ +{{ ansible_header | comment }} +deb {{ ceph_mirror }} {{ ansible_distribution_release }} main