proxmox: remove tasks done by debian role

This commit is contained in:
Timotej Lazar 2025-08-13 17:11:09 +02:00
parent ef69e31357
commit 011a0852bb
3 changed files with 0 additions and 79 deletions

View file

@ -1,13 +1,3 @@
- name: Add rules to rename network interfaces
template:
dest: "/etc/systemd/network/10-{{ item.name }}.link"
src: interface.link.j2
mode: "0644"
loop: "{{ interfaces | selectattr('mac_address') }}"
loop_control:
label: "{{ item.name }}"
notify: reboot
- name: Set up bridges
template:
dest: /etc/network/interfaces
@ -21,34 +11,4 @@
src: loopback.intf.j2
notify: reload interfaces
- name: Set up physical interfaces
template:
dest: /etc/network/interfaces.d/ansible.intf
src: ansible.intf.j2
mode: 0644
notify: reload interfaces
- name: Run SSH instance in management VRF
when: interfaces | selectattr('vrf') | selectattr('vrf.name', '==', 'mgmt')
block:
- name: Configure SSH instance in management VRF
copy:
dest: /etc/ssh/
src: sshd_config.mgmt
mode: 0644
notify: reboot
- name: Set up a SSH instance in management VRF
copy:
dest: /etc/systemd/system/
src: sshd@mgmt.service
mode: 0644
notify: reboot
- name: Enable management SSH
service:
name: sshd@mgmt
enabled: yes
notify: reboot
- meta: flush_handlers