Merge pull request '1.0.27' (#14) from testing into main
Reviewed-on: #14
This commit is contained in:
commit
665560250f
@ -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.26
|
version: 1.0.27
|
||||||
|
|
||||||
# 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,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Use hostname module to set hostname, or failback to command module
|
- name: Use hostname module to set hostname, or failback to command module
|
||||||
|
when:
|
||||||
|
- not ansible_virtualization_type | regex_search("docker|podman|container")
|
||||||
block:
|
block:
|
||||||
- name: Set hostname for host using hostname module
|
- name: Set hostname for host using hostname module
|
||||||
ansible.builtin.hostname:
|
ansible.builtin.hostname:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user