--- # Playbook: Hugo-Docker-CMS ausrollen # Aufruf: ansible-playbook -i "," deploy.yml # oder mit Variablen: # ansible-playbook -i "," deploy.yml -e "target_hostname=ras-dan-01 target_port=5443" - name: Hugo Docker CMS bereitstellen hosts: all gather_facts: true vars: target_hostname: "{{ inventory_hostname }}" target_port: 5443 site_title: "Hugo Docker CMS" site_description: "Markdown-Dateien einfach in content/ ablegen." site_author: "JonnyBravo" deploy_path: "{{ '~' | expanduser }}/.docker/hugo" project_root: "{{ playbook_dir }}/.." tasks: - name: Deploy-Tasks ausführen ansible.builtin.include_tasks: file: tasks.yml