Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 1.99 KB

File metadata and controls

79 lines (54 loc) · 1.99 KB

iptables-persistent

License Build Status Updates Python 3 Ansible Role GitHub tag

Install iptables-persistent package.

Requirements

This role requires Ansible 2.4 or higher, and platform requirements are listed in the metadata file.

Testing

This role use Molecule to run tests.

Local and Travis tests run tests on Docker by default. See molecule documentation to use other backend.

Currently, tests are done on:

  • Debian Stretch
  • Ubuntu Trusty
  • Ubuntu Xenial
  • Ubuntu Bionic

and use:

  • Ansible 2.4.x
  • Ansible 2.5.x
  • Ansible 2.6.x
  • Ansible 2.7.x

Running tests

Using Docker driver

$ tox

You can also configure molecule options and molecule command using environment variables:

  • MOLECULE_OPTIONS Default: "--debug"
  • MOLECULE_COMMAND Default: "test"
$ MOLECULE_OPTIONS='' MOLECULE_COMMAND=converge tox

Role Variables

Default role variables

Dependencies

None

Example Playbook

- hosts: servers
  roles:
    - { role: temelio.iptables-persistent }

License

MIT

Author Information

Lise Machetel (for Temelio company)