- change to lineinfile
- galaxy version bump
This commit is contained in:
parent
4cd9073772
commit
c81ddb4015
@ -8,7 +8,7 @@ namespace: jchristianh
|
|||||||
name: baseos
|
name: baseos
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# The version of the collection. Must be compatible with semantic versioning
|
||||||
version: 1.0.12
|
version: 1.0.13
|
||||||
|
|
||||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
@ -1,9 +1,15 @@
|
|||||||
---
|
---
|
||||||
|
# - name: Set hostname for host
|
||||||
|
# hostname:
|
||||||
|
# name: "{{ inventory_hostname }}"
|
||||||
|
# notify:
|
||||||
|
# - "restart_syslog_{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}"
|
||||||
|
|
||||||
- name: Set hostname for host
|
- name: Set hostname for host
|
||||||
hostname:
|
ansible.builtin.lineinfile:
|
||||||
name: "{{ inventory_hostname }}"
|
path: /etc/hostname
|
||||||
|
line: "{{ inventory_hostname }}"
|
||||||
notify:
|
notify:
|
||||||
- "restart_syslog_{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}"
|
- "restart_syslog_{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}"
|
||||||
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user