Loading .gitignore +2 −3 Original line number Diff line number Diff line *.swp *.swo *.sw[po] ~* *~ .DS_Store __pycache__ *.pyc *.py[cod] .cache/ .molecule/ .vagrant/ Loading .molecule/roles/.gitkeep 0 → 100644 +0 −0 Empty file added. .pre-commit-config.yaml +3 −4 Original line number Diff line number Diff line - repo: git://github.com/pre-commit/pre-commit-hooks sha: 97b88d9610bcc03982ddac33caba98bb2b751f5f - repo: https://github.com/pre-commit/pre-commit-hooks sha: 6dfcb89af3c9b4d172cc2e5a8a2fa0f54615a338 hooks: - id: check-added-large-files - id: check-json Loading @@ -7,7 +7,6 @@ - id: check-yaml - id: check-merge-conflict - repo: https://www.shore.co.il/git/ansible-pre-commit/ sha: 8c4a3e7b57164d8cb0da75db3be08587d0f0b173 sha: 94b506c144d4e22ebc1deef637a818db13bcaca5 hooks: - id: ansible-pre-commit files: playbook.yml LICENSE.txt +1 −1 Original line number Diff line number Diff line The MIT License (MIT) Copyright (c) [year] [fullname] Copyright (c) 2016 Adar Nimrod Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal Loading README.rst +17 −25 Original line number Diff line number Diff line Loading @@ -6,39 +6,37 @@ Role to bootstrap an OpenBSD instance (allow Ansible to provision the instance). Requirements ------------ OpenBSD 5.7 or later. See :code:`meta/main.yml` and assertions at top of :code:`tasks/main.yml`. Role Variables -------------- .. code:: yaml openbsd_pkg_mirror: http://www.mirrorservice.org/pub #OpenBSD mirror to use. See :code:`defaults/main.yml`. Dependencies ------------ None. See :code:`meta/main.yml`. Example Playbook ---------------- .. code:: yaml --- - hosts: all gather_facts: False roles: - ansible-role-openbsd-bootstrap See :code:`tests/playbook.yml`. Testing ------- To install the dependencies: .. code:: shell Example requirements.yml ------------------------ .. code:: yaml ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) --- - src: https://www.shore.co.il/git/ansible-role-openbsd-bootstrap scm: git path: roles/ name: openbsd-bootsrrap To run the full test suite: .. code:: shell molecule test License ------- Loading @@ -46,12 +44,6 @@ License This software is licensed under the MIT license (see the :code:`LICENSE.txt` file). Testing ------- Testing is done with `Molecule <https://molecule.readthedocs.org/>`_. Also, this repository has `pre-commit <http://pre-commit.com/>`_ configured. Author Information ------------------ Loading Loading
.gitignore +2 −3 Original line number Diff line number Diff line *.swp *.swo *.sw[po] ~* *~ .DS_Store __pycache__ *.pyc *.py[cod] .cache/ .molecule/ .vagrant/ Loading
.pre-commit-config.yaml +3 −4 Original line number Diff line number Diff line - repo: git://github.com/pre-commit/pre-commit-hooks sha: 97b88d9610bcc03982ddac33caba98bb2b751f5f - repo: https://github.com/pre-commit/pre-commit-hooks sha: 6dfcb89af3c9b4d172cc2e5a8a2fa0f54615a338 hooks: - id: check-added-large-files - id: check-json Loading @@ -7,7 +7,6 @@ - id: check-yaml - id: check-merge-conflict - repo: https://www.shore.co.il/git/ansible-pre-commit/ sha: 8c4a3e7b57164d8cb0da75db3be08587d0f0b173 sha: 94b506c144d4e22ebc1deef637a818db13bcaca5 hooks: - id: ansible-pre-commit files: playbook.yml
LICENSE.txt +1 −1 Original line number Diff line number Diff line The MIT License (MIT) Copyright (c) [year] [fullname] Copyright (c) 2016 Adar Nimrod Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal Loading
README.rst +17 −25 Original line number Diff line number Diff line Loading @@ -6,39 +6,37 @@ Role to bootstrap an OpenBSD instance (allow Ansible to provision the instance). Requirements ------------ OpenBSD 5.7 or later. See :code:`meta/main.yml` and assertions at top of :code:`tasks/main.yml`. Role Variables -------------- .. code:: yaml openbsd_pkg_mirror: http://www.mirrorservice.org/pub #OpenBSD mirror to use. See :code:`defaults/main.yml`. Dependencies ------------ None. See :code:`meta/main.yml`. Example Playbook ---------------- .. code:: yaml --- - hosts: all gather_facts: False roles: - ansible-role-openbsd-bootstrap See :code:`tests/playbook.yml`. Testing ------- To install the dependencies: .. code:: shell Example requirements.yml ------------------------ .. code:: yaml ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) --- - src: https://www.shore.co.il/git/ansible-role-openbsd-bootstrap scm: git path: roles/ name: openbsd-bootsrrap To run the full test suite: .. code:: shell molecule test License ------- Loading @@ -46,12 +44,6 @@ License This software is licensed under the MIT license (see the :code:`LICENSE.txt` file). Testing ------- Testing is done with `Molecule <https://molecule.readthedocs.org/>`_. Also, this repository has `pre-commit <http://pre-commit.com/>`_ configured. Author Information ------------------ Loading