-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
63 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
# .ansible-lint | ||
# exclude_paths included in this file are parsed relative to this file's location | ||
# and not relative to the CWD of execution. CLI arguments passed to the --exclude | ||
# option will be parsed relative to the CWD of execution. | ||
exclude_paths: | ||
- .cache/ # implicit unless exclude_paths is defined in config | ||
- .github/ | ||
- templates/ | ||
- tests/ | ||
- tests/* | ||
- .github/** | ||
skip_list: | ||
- name[template] | ||
- command-instead-of-shell # Use shell only when shell functionality is required. | ||
- no-changed-when # Commands should not change things if nothing needs doing. | ||
- package-latest # Package installs should not use latest. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
- name: Reload crowdsec | ||
service: | ||
ansible.builtin.service: | ||
name: crowdsec | ||
state: reloaded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
- name: add crowdsec apt-key | ||
apt_key: | ||
- name: Add crowdsec apt-key | ||
ansible.builtin.apt_key: | ||
url: https://packagecloud.io/crowdsec/crowdsec/gpgkey | ||
state: present | ||
|
||
# https://packagecloud.io/crowdsec/crowdsec/install#manual-deb | ||
- name: add crowdsec apt repository | ||
apt_repository: | ||
repo: deb https://packagecloud.io/crowdsec/crowdsec/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} main | ||
state: present | ||
- name: Add crowdsec apt repository | ||
ansible.builtin.apt_repository: | ||
repo: deb https://packagecloud.io/crowdsec/crowdsec/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main | ||
state: present | ||
filename: crowdsec | ||
update_cache: yes | ||
update_cache: true | ||
|
||
- name: install crowdsec | ||
apt: | ||
- name: Install crowdsec | ||
ansible.builtin.apt: | ||
name: crowdsec | ||
state: present | ||
update_cache: yes | ||
update_cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- name: install bouncer {{ cs_bouncer.key }} | ||
apt: | ||
- name: Install bouncer {{ cs_bouncer.key }} | ||
ansible.builtin.apt: | ||
name: "{{ cs_bouncers_official[cs_bouncer.key].deb }}" | ||
state: present | ||
update_cache: yes | ||
update_cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- name: install bouncer {{ cs_bouncer.key }} | ||
yum: | ||
- name: Install bouncer {{ cs_bouncer.key }} | ||
ansible.builtin.yum: | ||
name: "{{ cs_bouncers_official[cs_bouncer.key].deb }}" | ||
state: present | ||
update_cache: yes | ||
update_cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters