Loading README.rst +11 −7 Original line number Diff line number Diff line Example ####### NSD ### An (empty) example Ansible role complete with working tests out of the box. For more information read the `blog post <https://www.shore.co.il/blog/ansible-example-role/>`_. Install NSD with minimal configuration. Just package installation, create configuration and zones directories and copy templates (if any). Configuration templates can be placed inside :code:`templates/nsd_conf_d` and zone templates inside :code:`templates/nsd_zones` either inside the role or relative to the playbook. Requirements ------------ - `Ansible 2.0 or later <https://www.ansible.com/>`_. - `OpenBSD 5.9 or later <http://www.openbsd.org/>`_. - `OpenBSD <http://www.openbsd.org/>`_ or `Debian <http://www.debian.org/>`_ (OpenBSD 5.9 and Debian Jessie are tested, other versions or derivatives should also work). Role Variables -------------- None. See :code:`defaults/main.yml`. Dependencies ------------ Loading defaults/main.yml +1 −1 Original line number Diff line number Diff line --- # defaults file for ansible-role-example # defaults file for ansible-role-nsd handlers/main.yml +6 −1 Original line number Diff line number Diff line --- # handlers file for ansible-role-example # handlers file for ansible-role-nsd - name: Restart NSD service: name: nsd state: restarted meta/main.yml +6 −6 Original line number Diff line number Diff line galaxy_info: author: Nimrod Adar description: An example Ansible role description: Install and configure NSD company: Shore technologies license: MIT min_ansible_version: 2.0 Loading @@ -8,8 +8,8 @@ galaxy_info: - name: OpenBSD versions: - 5.9 galaxy_tags: [ ansible ] dependencies: - src: https://www.shore.co.il/git/ansible-role-openbsd-bootstrap scm: git name: bootstrap - name: Debian versions: - jessie galaxy_tags: [ networking, web ] dependencies: [] molecule.yml +3 −1 Original line number Diff line number Diff line Loading @@ -12,8 +12,10 @@ vagrant: platforms: - name: openbsd box: kaorimatz/openbsd-5.9-amd64 - name: debian box: debian/jessie64 instances: - name: ansible-role-example - name: ansible-role-nsd options: append_platform_to_hostname: yes raw_config_args: Loading Loading
README.rst +11 −7 Original line number Diff line number Diff line Example ####### NSD ### An (empty) example Ansible role complete with working tests out of the box. For more information read the `blog post <https://www.shore.co.il/blog/ansible-example-role/>`_. Install NSD with minimal configuration. Just package installation, create configuration and zones directories and copy templates (if any). Configuration templates can be placed inside :code:`templates/nsd_conf_d` and zone templates inside :code:`templates/nsd_zones` either inside the role or relative to the playbook. Requirements ------------ - `Ansible 2.0 or later <https://www.ansible.com/>`_. - `OpenBSD 5.9 or later <http://www.openbsd.org/>`_. - `OpenBSD <http://www.openbsd.org/>`_ or `Debian <http://www.debian.org/>`_ (OpenBSD 5.9 and Debian Jessie are tested, other versions or derivatives should also work). Role Variables -------------- None. See :code:`defaults/main.yml`. Dependencies ------------ Loading
defaults/main.yml +1 −1 Original line number Diff line number Diff line --- # defaults file for ansible-role-example # defaults file for ansible-role-nsd
handlers/main.yml +6 −1 Original line number Diff line number Diff line --- # handlers file for ansible-role-example # handlers file for ansible-role-nsd - name: Restart NSD service: name: nsd state: restarted
meta/main.yml +6 −6 Original line number Diff line number Diff line galaxy_info: author: Nimrod Adar description: An example Ansible role description: Install and configure NSD company: Shore technologies license: MIT min_ansible_version: 2.0 Loading @@ -8,8 +8,8 @@ galaxy_info: - name: OpenBSD versions: - 5.9 galaxy_tags: [ ansible ] dependencies: - src: https://www.shore.co.il/git/ansible-role-openbsd-bootstrap scm: git name: bootstrap - name: Debian versions: - jessie galaxy_tags: [ networking, web ] dependencies: []
molecule.yml +3 −1 Original line number Diff line number Diff line Loading @@ -12,8 +12,10 @@ vagrant: platforms: - name: openbsd box: kaorimatz/openbsd-5.9-amd64 - name: debian box: debian/jessie64 instances: - name: ansible-role-example - name: ansible-role-nsd options: append_platform_to_hostname: yes raw_config_args: Loading