I wanted to create a new ansible playbook to configure a new proxmox LXC host.

  1. Create script desk01.sh to create the LXC container on pve02 and execute is.
    • Execute: desk01.sh

    The script creates the container. It sets the root password and adds the public SSH key to the root account.

  2. Add desk01 to dns and inventory:
    • Edit: inventory/homelab.yml
    • Edit: roles/dns/files/db.192.168.23
    • Edit: roles/dns/files/db.cvdg.eu
    • Execute: ansible-playbook playbooks/dns.yml
  3. Check if the host is reachable:
    • Execute: ansible -m ping desk01.cvdg.eu -u root
  4. Bootstrap desk01:
    • Execute: ansible-playbook playbooks/bootstrap.yml -l desk01.cvdg.eu

I have installed:

  • task-gnome-desktop
  • tightvncserver

It is not working yet.

  1. vncserver on desk01 starts.
  2. vncviewer from laptop01 connects to the VNC server, but…
  3. No graphical output.

The repository is mirrored on codeberg.org/cvdg/homelab-ansible.