You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lyz 4d04308960 Merge branch 'feature/first_version' of lyz/ansible_role_static_ip into master 1 year ago
defaults Support static ip for debian 1 year ago
meta Support static ip for debian 1 year ago
molecule/default Support static ip for debian 1 year ago
tasks Support static ip for debian 1 year ago
templates Support static ip for debian 1 year ago
vars Support static ip for debian 1 year ago
.gitignore Added gitignore 1 year ago
.yamllint Support static ip for debian 1 year ago
History.md Added changelog 1 year ago
LICENSE Support static ip for debian 1 year ago
README.md Support static ip for debian 1 year ago

README.md

Static IP

The intended use of this role is the configuration of a static IP

Requirements

  • Debian based hosts

Role Variables

  • instance: Dictionary with the options of the role
    • ip: Static IP to set
    • netmask: Network netmask
    • gateway: Network gateway

Dependencies

None.

Example Playbook

---
- hosts: all
  roles:
    - static_ip

Testing

To test the role you need molecule.

molecule test

License

GPLv2

Author Information

Lyz (lyz at riseup net)