- fix logic in roles/resolv_conf
- revert roles/hostname; however we're going to go another way
This commit is contained in:
@ -1,15 +1,9 @@
|
||||
---
|
||||
# - name: Set hostname for host
|
||||
# hostname:
|
||||
# name: "{{ inventory_hostname }}"
|
||||
# notify:
|
||||
# - "restart_syslog_{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}"
|
||||
|
||||
- name: Set hostname for host
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/hostname
|
||||
line: "{{ inventory_hostname }}"
|
||||
hostname:
|
||||
name: "{{ inventory_hostname }}"
|
||||
notify:
|
||||
- "restart_syslog_{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}"
|
||||
|
||||
|
||||
...
|
||||
|
Reference in New Issue
Block a user