jtprogru.hosts

jtprogru.hosts

GitHub Workflow Status GitHub Workflow Status GitHub Ansible Role GitHub tag

Simple role for manage /etc/hosts file.

Role Variables

See defaults/main.yml.

Example Playbook

Example playbook:

---
- name: Manage hosts file
  hosts: all
  become: true

  vars:
    host_prefix: '10.110.0.0/24'

  roles:
    - jtprogru.hosts

Author

Michael Savin aka @jtprogru

Twitter: Twitter Follow

License

See LICENSE

About

Ansible role for manage /etc/hosts file

Install
ansible-galaxy install jtprogru.hosts
GitHub repository
License
wtfpl
Downloads
3.6k
Owner
#sre #devops #linux #ansible #terraform #python #golang #jtprogru #jtprog #macOS