Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ansible-modules
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ansible
ansible-modules
Commits
c5618862
Commit
c5618862
authored
9 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Added pre-commit hooks.
- Cleaned and updated README.
parent
485466ab
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.pre-commit-config.yaml
+6
-1
6 additions, 1 deletion
.pre-commit-config.yaml
README.rst
+14
-4
14 additions, 4 deletions
README.rst
collectd/collectd_facts
+0
-0
0 additions, 0 deletions
collectd/collectd_facts
with
20 additions
and
5 deletions
.pre-commit-config.yaml
+
6
−
1
View file @
c5618862
-
repo
:
git://github.com/pre-commit/pre-commit-hooks
-
repo
:
git://github.com/pre-commit/pre-commit-hooks
sha
:
cf550fcab3f12015f8676b8278b30e1a5bc10e70
sha
:
97b88d9610bcc03982ddac33caba98bb2b751f5f
hooks
:
hooks
:
-
id
:
check-added-large-files
-
id
:
check-added-large-files
-
id
:
check-json
-
id
:
check-json
...
@@ -7,3 +7,8 @@
...
@@ -7,3 +7,8 @@
-
id
:
check-yaml
-
id
:
check-yaml
-
id
:
check-merge-conflict
-
id
:
check-merge-conflict
-
id
:
flake8
-
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
This diff is collapsed.
Click to expand it.
README.rst
+
14
−
4
View file @
c5618862
...
@@ -13,7 +13,8 @@ at the root of the playbooks directory
...
@@ -13,7 +13,8 @@ at the root of the playbooks directory
mkdir library
mkdir library
touch library/__init__.py
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
To update the submodule
...
@@ -26,12 +27,21 @@ Remember to commit :code:`.gitmodules`!
...
@@ -26,12 +27,21 @@ Remember to commit :code:`.gitmodules`!
Modules
Modules
-------
-------
- <placeholder>
- collectd_facts
- ldap_attr
- nginx_facts
- dhparams
License
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
Author
------
------
...
@@ -39,7 +49,7 @@ Author
...
@@ -39,7 +49,7 @@ Author
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<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
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
at: https://www.shore.co.il/
c
git/.
at: https://www.shore.co.il/git/.
TODO
TODO
----
----
...
...
This diff is collapsed.
Click to expand it.
collectd/collectd_facts
100644 → 100755
+
0
−
0
View file @
c5618862
File mode changed from 100644 to 100755
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment