ansible-roles/deb-set-hostname/tasks/main.yml

7 lines
108 B
YAML

---
- name: Set the hostname
hostname: name={{ hostname }}
when: hostname is defined
tags: bootstrap