adding back .yamllint pretask and results
This commit is contained in:
parent
451792356c
commit
e1aeff0fd6
16
.yamllint
Normal file
16
.yamllint
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
braces:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
brackets:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
line-length: disable
|
||||||
|
# NOTE(retr0h): Templates no longer fail this lint rule.
|
||||||
|
# Uncomment if running old Molecule templates.
|
||||||
|
# truthy: disable
|
||||||
|
ignore: |
|
||||||
|
.travis.yml
|
||||||
|
config.yml
|
||||||
@ -5,7 +5,7 @@ driver:
|
|||||||
name: docker
|
name: docker
|
||||||
lint:
|
lint:
|
||||||
name: yamllint
|
name: yamllint
|
||||||
enabled: false # fix in seperate PR
|
enabled: true # fix in seperate PR
|
||||||
platforms:
|
platforms:
|
||||||
- name: bionic
|
- name: bionic
|
||||||
image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
@ -23,7 +23,7 @@ provisioner:
|
|||||||
ANSIBLE_ROLES_PATH: $HOME/wazuh-ansible/roles
|
ANSIBLE_ROLES_PATH: $HOME/wazuh-ansible/roles
|
||||||
lint:
|
lint:
|
||||||
name: ansible-lint
|
name: ansible-lint
|
||||||
enabled: false # fix in seperate PR
|
enabled: true # fix in seperate PR
|
||||||
scenario:
|
scenario:
|
||||||
name: default
|
name: default
|
||||||
verifier:
|
verifier:
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
|
- urllib3
|
||||||
|
|
||||||
- name: Debian/Ubuntu | Installing Wazuh repository key
|
- name: Debian/Ubuntu | Installing Wazuh repository key
|
||||||
apt_key: url=https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
apt_key: url=https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user