Fix: line length

Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
Hadrien Patte 2019-03-02 13:31:51 +01:00
parent 58cb43d0d0
commit d54421b013
No known key found for this signature in database
GPG key ID: 0954F2874A54F4B1
8 changed files with 31 additions and 14 deletions

View file

@ -2,5 +2,5 @@
image: quay.io/ansible/molecule:2.19
yamllint:
script: yamllint .
script: yamllint -c .yamllint.yml .
...

7
.yamllint.yml Normal file
View file

@ -0,0 +1,7 @@
---
extends: default
rules:
line-length:
level: warning
...

View file

@ -6,6 +6,6 @@
# Clone LDAP on local geographic location
# DON'T DO THIS AS IT RECREATES THE REPLICA
#- hosts: ldap-replica
# - hosts: ldap-replica
# roles:
# - ldap-replica

View file

@ -29,7 +29,9 @@
# Configure APT mirrors on Debian Stretch
- name: Configure APT mirrors
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
when:
- ansible_distribution == 'Debian'
- ansible_distribution_release == 'stretch'
template:
src: 'apt/sources.list.j2'
dest: '/etc/apt/sources.list'

View file

@ -1,7 +1,9 @@
---
# For NodeJS package
- name: Configure NodeJS pin
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
when:
- ansible_distribution == 'Debian'
- ansible_distribution_release == 'stretch'
template:
src: apt/nodejs.j2
dest: /etc/apt/preferences.d/nodejs

View file

@ -1,7 +1,9 @@
---
# For DokuWiki package
- name: Configure Debian Buster mirrors
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
when:
- ansible_distribution == 'Debian'
- ansible_distribution_release == 'stretch'
template:
src: apt/buster.list.j2
dest: /etc/apt/sources.list.d/buster.list
@ -9,7 +11,9 @@
# For DokuWiki package
- name: Configure DokuWiki pin
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
when:
- ansible_distribution == 'Debian'
- ansible_distribution_release == 'stretch'
template:
src: apt/dokuwiki.j2
dest: /etc/apt/preferences.d/dokuwiki

View file

@ -1,7 +1,9 @@
---
# For NodeJS package
- name: Configure NodeJS pin
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
when:
- ansible_distribution == 'Debian'
- ansible_distribution_release == 'stretch'
template:
src: apt/nodejs.j2
dest: /etc/apt/preferences.d/nodejs

View file

@ -12,7 +12,7 @@
# Reduce LDAP load
# For the moment it is broken on Stretch when using PHP7.3
#- name: Install LDAP cache package
# - name: Install LDAP cache package
# apt:
# name: nscd
# state: present