system-config/playbooks/set-hostnames.yaml

6 lines
87 B
YAML

- hosts: "{{ target }}"
gather_facts: false
user: root
roles:
- set-hostname