Go to file
Wallun 359d6f9097
ci(pre-commit): update pre-commit hooks
Update task names to match name[casing] tag in ansible-lint
2023-02-23 09:31:40 +01:00
default feat: assert role variable and set hostname 2021-12-10 23:07:48 +01:00
tasks ci(pre-commit): update pre-commit hooks 2023-02-23 09:31:40 +01:00
vars feat: assert role variable and set hostname 2021-12-10 23:07:48 +01:00
.gitlint feat: assert role variable and set hostname 2021-12-10 23:07:48 +01:00
.pre-commit-config.yaml ci(pre-commit): update pre-commit hooks 2023-02-23 09:31:40 +01:00
.yamllint feat: assert role variable and set hostname 2021-12-10 23:07:48 +01:00
LICENCE chore: add GPLv3 license 2021-12-10 23:19:44 +01:00
README.md docs: add README.md 2021-12-10 23:26:13 +01:00

README.md

set_hostname

This role sets the name of the host based on set_hostname_hostname variable, if defined. Otherwise, inventory_hostname will be used.

Example Playbook

---
- name: Set hostname
  hosts: "all"
  roles:
    - role: set_hostname

License

GPLv3

Author information

Wallun