Update modules names
This commit is contained in:
parent
27e32b5f56
commit
2d8a504780
1 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
- name: Debian family configuration
|
- name: Debian family configuration
|
||||||
block:
|
block:
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- gnupg
|
- gnupg
|
||||||
|
|
@ -15,12 +15,12 @@
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: add crowdsec apt key
|
- name: add crowdsec apt key
|
||||||
apt_key:
|
ansible.builtin.apt_key:
|
||||||
url: https://packagecloud.io/crowdsec/crowdsec/gpgkey
|
url: https://packagecloud.io/crowdsec/crowdsec/gpgkey
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: add crowdsec repository
|
- name: add crowdsec repository
|
||||||
apt_repository:
|
aansible.builtin.pt_repository:
|
||||||
repo: 'deb https://packagecloud.io/crowdsec/crowdsec/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release|lower }} main'
|
repo: 'deb https://packagecloud.io/crowdsec/crowdsec/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release|lower }} main'
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
- https://packagecloud.io/crowdsec/crowdsec/gpgkey/crowdsec-crowdsec-B78D1222C9AD2D5D.pub.gpg
|
- https://packagecloud.io/crowdsec/crowdsec/gpgkey/crowdsec-crowdsec-B78D1222C9AD2D5D.pub.gpg
|
||||||
- https://packagecloud.io/crowdsec/crowdsec/gpgkey/crowdsec-crowdsec-FED78314A2468CCF.pub.gpg
|
- https://packagecloud.io/crowdsec/crowdsec/gpgkey/crowdsec-crowdsec-FED78314A2468CCF.pub.gpg
|
||||||
- name: Add Official crowdsec's repo
|
- name: Add Official crowdsec's repo
|
||||||
yum_repository:
|
ansible.builtin.yum_repository:
|
||||||
name: crowdsec_crowdsec
|
name: crowdsec_crowdsec
|
||||||
description: crowdsec_crowdsec
|
description: crowdsec_crowdsec
|
||||||
baseurl: https://packagecloud.io/crowdsec/crowdsec/el/$releasever/$basearch
|
baseurl: https://packagecloud.io/crowdsec/crowdsec/el/$releasever/$basearch
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
|
|
||||||
- name: Install crowdsec
|
- name: Install crowdsec
|
||||||
package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- crowdsec
|
- crowdsec
|
||||||
state: present
|
state: present
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue