blob: b58a868dcbc3c5bb6507ce4bbdbef2127fa99555 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
---
# This is a utility playbook for occasional fixing of hostnames on old
# servers. It is not intended to be run all the time, just on occasions.
# For new servers, ITS will make needed setup (and this playbook will
# become deprecated).
- hosts: all
gather_facts: no
become: yes
tasks:
- name: Set hostname
hostname: name={{inventory_hostname}}
|