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
|
||||
block:
|
||||
- name: Install required packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- apt-transport-https
|
||||
- gnupg
|
||||
|
|
@ -15,12 +15,12 @@
|
|||
update_cache: yes
|
||||
|
||||
- name: add crowdsec apt key
|
||||
apt_key:
|
||||
ansible.builtin.apt_key:
|
||||
url: https://packagecloud.io/crowdsec/crowdsec/gpgkey
|
||||
state: present
|
||||
|
||||
- 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'
|
||||
state: present
|
||||
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-FED78314A2468CCF.pub.gpg
|
||||
- name: Add Official crowdsec's repo
|
||||
yum_repository:
|
||||
ansible.builtin.yum_repository:
|
||||
name: crowdsec_crowdsec
|
||||
description: crowdsec_crowdsec
|
||||
baseurl: https://packagecloud.io/crowdsec/crowdsec/el/$releasever/$basearch
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
- ansible_os_family == "RedHat"
|
||||
|
||||
- name: Install crowdsec
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- crowdsec
|
||||
state: present
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue