Hostname and Hosts file
Document Control
TODO:
- Overall structure.
- Initial draft complete
- Testing
- Ready
User Story: Hostname
As a: UNIX and Linux system administrator
I want to: set up my system hostname and hosts file
So that: have proper FQDN resolution.
Using the role
Using the role in a playbook
--- - name: Install hostname hosts: all tasks: - name: hostname is configured import_role: name: devopstoolbox.hostname vars: hostname_enable_service: true tags: hostname
# Install the role ansible-galaxy install devopstoolbox.hostname # Run the playbook ansible-playbook hostname-playbook.yml
Last update: 2020-02-09