iter0 installing proxmox on top of debian
This commit is contained in:
parent
3f6a140c64
commit
04c999f72b
@ -36,7 +36,7 @@
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/hosts
|
||||
regexp: '^127.0.0.1'
|
||||
line: "127.0.0.1 {{hostname}}"
|
||||
line: "127.0.0.1 {{hostname}} localhost"
|
||||
|
||||
|
||||
- name: Run the foreman installer
|
||||
|
14
playbooks/proxmox/install_on_debian.yml
Normal file
14
playbooks/proxmox/install_on_debian.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: This installs proxmox on a debian bookworm(12.5)
|
||||
hosts: localhost
|
||||
become: yes
|
||||
vars:
|
||||
ip_address: 192.168.2.116
|
||||
domain_name: baxter.homelab.local
|
||||
hostname: baxter
|
||||
tasks:
|
||||
- name: Ensure new proxmox host has a valid entry in /etc/hosts
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/hosts
|
||||
regexp: "^{{ip_address}}"
|
||||
line: "{{ip_address}} {{domain_name}} {{hostname}}"
|
Loading…
Reference in New Issue
Block a user