Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move variables to the correct location, remove empty files.
  • Loading branch information
robertdebock committed Jan 5, 2021
1 parent 48d3c82 commit fdac65b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -18,3 +18,9 @@ repos:
hooks:
- id: ansible-lint
pass_filenames: false

- repo: https://github.com/robertdebock/pre-commit
rev: v1.1.1
hooks:
- id: ansible_role_find_unused_variable
- id: ansible_role_find_empty_files
2 changes: 1 addition & 1 deletion LICENSE
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2020 Robert de Bock (robert@meinit.nl)
Copyright 2021 Robert de Bock (robert@meinit.nl)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
21 changes: 21 additions & 0 deletions tasks/assert.yml
Expand Up @@ -22,6 +22,27 @@
label: "{{ item.limit_item }}"
when:
- ulimit_items is defined
vars:
ulimit_acceptable_limit_items:
- core
- data
- fsize
- memlock
- nofile
- rss
- stack
- cpu
- nproc
- as
- maxlogins
- maxsyslogins
- priority
- locks
- sigpending
- msgqueue
- nice
- rtprio
- chroot

- name: test if ulimit_domain is set correctly
assert:
Expand Down
4 changes: 0 additions & 4 deletions vars/main.yml

This file was deleted.

0 comments on commit fdac65b

Please sign in to comment.