diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a2aa9e993002d953299194eb3f3ea1ddeaee0b4..5c396173a3298591234c41c7f8feedefad0322d5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ - repo: git://github.com/pre-commit/pre-commit-hooks - sha: cf550fcab3f12015f8676b8278b30e1a5bc10e70 + sha: 97b88d9610bcc03982ddac33caba98bb2b751f5f hooks: - id: check-added-large-files - id: check-json @@ -7,3 +7,8 @@ - id: check-yaml - id: check-merge-conflict - id: flake8 +- repo: https://www.shore.co.il/git/shell-pre-commit + sha: e48c7fbdadf14a548dcbda32895b67f90fa0f12b + hooks: + - id: shell-lint + files: collectd/collectd_facts|nginx/nginx_facts|ssl/dhparams diff --git a/README.rst b/README.rst index 7cd7cfd0c9310bab935dc0560c610170b46bc912..becbe54ea226f22e812460d3b58608a0f651e9eb 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,8 @@ at the root of the playbooks directory mkdir library touch library/__init__.py - git submodule add https://www.shore.co.il/cgit/ansible-modules library/shore + git submodule add https://www.shore.co.il/git/ansible-modules library/shore master + sudo pip install -r library/shore/requirements.txt To update the submodule @@ -26,12 +27,21 @@ Remember to commit :code:`.gitmodules`! Modules ------- -- <placeholder> +- collectd_facts +- ldap_attr +- nginx_facts +- dhparams License ------- -AGPL v3+ +This software is licensed under the AGPL v3+ license (see the +:code:`LICENSE.txt` file). + +Testing +------- + +Currently the only tests are `pre-commit <http://www.pre-commit.com/>`_ hooks. Author ------ @@ -39,7 +49,7 @@ Author Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website <https://www.shore.co.il/>`_. Patches are welcome via `git send-email <http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located -at: https://www.shore.co.il/cgit/. +at: https://www.shore.co.il/git/. TODO ---- diff --git a/collectd/collectd_facts b/collectd/collectd_facts old mode 100644 new mode 100755