11c6c4cc1e
In the playbooks logic, the facts are not used and they are a quite expensive operation, this speeds up execution.
9 lines
131 B
YAML
9 lines
131 B
YAML
---
|
|
# file: set_hostnames.yml
|
|
- hosts: infra
|
|
gather_facts: no
|
|
user: ubuntu
|
|
sudo: true
|
|
roles:
|
|
- { role: set_hostnames }
|