78d572d99e
become is the keyword to use forward instead of sudo. Change-Id: I1e29e3c37337ba999b2e8a970b688e4ec11ea579
9 lines
133 B
YAML
9 lines
133 B
YAML
---
|
|
# file: set_hostnames.yml
|
|
- hosts: infra
|
|
gather_facts: no
|
|
user: ubuntu
|
|
become: true
|
|
roles:
|
|
- { role: set_hostnames }
|