Fix: line length
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
parent
58cb43d0d0
commit
d54421b013
8 changed files with 31 additions and 14 deletions
|
@ -2,5 +2,5 @@
|
||||||
image: quay.io/ansible/molecule:2.19
|
image: quay.io/ansible/molecule:2.19
|
||||||
|
|
||||||
yamllint:
|
yamllint:
|
||||||
script: yamllint .
|
script: yamllint -c .yamllint.yml .
|
||||||
...
|
...
|
||||||
|
|
7
.yamllint.yml
Normal file
7
.yamllint.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
line-length:
|
||||||
|
level: warning
|
||||||
|
...
|
6
ldap.yml
6
ldap.yml
|
@ -6,6 +6,6 @@
|
||||||
|
|
||||||
# Clone LDAP on local geographic location
|
# Clone LDAP on local geographic location
|
||||||
# DON'T DO THIS AS IT RECREATES THE REPLICA
|
# DON'T DO THIS AS IT RECREATES THE REPLICA
|
||||||
#- hosts: ldap-replica
|
# - hosts: ldap-replica
|
||||||
# roles:
|
# roles:
|
||||||
# - ldap-replica
|
# - ldap-replica
|
||||||
|
|
|
@ -29,7 +29,9 @@
|
||||||
|
|
||||||
# Configure APT mirrors on Debian Stretch
|
# Configure APT mirrors on Debian Stretch
|
||||||
- name: Configure APT mirrors
|
- name: Configure APT mirrors
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when:
|
||||||
|
- ansible_distribution == 'Debian'
|
||||||
|
- ansible_distribution_release == 'stretch'
|
||||||
template:
|
template:
|
||||||
src: 'apt/sources.list.j2'
|
src: 'apt/sources.list.j2'
|
||||||
dest: '/etc/apt/sources.list'
|
dest: '/etc/apt/sources.list'
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
# For NodeJS package
|
# For NodeJS package
|
||||||
- name: Configure NodeJS pin
|
- name: Configure NodeJS pin
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when:
|
||||||
|
- ansible_distribution == 'Debian'
|
||||||
|
- ansible_distribution_release == 'stretch'
|
||||||
template:
|
template:
|
||||||
src: apt/nodejs.j2
|
src: apt/nodejs.j2
|
||||||
dest: /etc/apt/preferences.d/nodejs
|
dest: /etc/apt/preferences.d/nodejs
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
# For DokuWiki package
|
# For DokuWiki package
|
||||||
- name: Configure Debian Buster mirrors
|
- name: Configure Debian Buster mirrors
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when:
|
||||||
|
- ansible_distribution == 'Debian'
|
||||||
|
- ansible_distribution_release == 'stretch'
|
||||||
template:
|
template:
|
||||||
src: apt/buster.list.j2
|
src: apt/buster.list.j2
|
||||||
dest: /etc/apt/sources.list.d/buster.list
|
dest: /etc/apt/sources.list.d/buster.list
|
||||||
|
@ -9,7 +11,9 @@
|
||||||
|
|
||||||
# For DokuWiki package
|
# For DokuWiki package
|
||||||
- name: Configure DokuWiki pin
|
- name: Configure DokuWiki pin
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when:
|
||||||
|
- ansible_distribution == 'Debian'
|
||||||
|
- ansible_distribution_release == 'stretch'
|
||||||
template:
|
template:
|
||||||
src: apt/dokuwiki.j2
|
src: apt/dokuwiki.j2
|
||||||
dest: /etc/apt/preferences.d/dokuwiki
|
dest: /etc/apt/preferences.d/dokuwiki
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
# For NodeJS package
|
# For NodeJS package
|
||||||
- name: Configure NodeJS pin
|
- name: Configure NodeJS pin
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when:
|
||||||
|
- ansible_distribution == 'Debian'
|
||||||
|
- ansible_distribution_release == 'stretch'
|
||||||
template:
|
template:
|
||||||
src: apt/nodejs.j2
|
src: apt/nodejs.j2
|
||||||
dest: /etc/apt/preferences.d/nodejs
|
dest: /etc/apt/preferences.d/nodejs
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
|
|
||||||
# Reduce LDAP load
|
# Reduce LDAP load
|
||||||
# For the moment it is broken on Stretch when using PHP7.3
|
# For the moment it is broken on Stretch when using PHP7.3
|
||||||
#- name: Install LDAP cache package
|
# - name: Install LDAP cache package
|
||||||
# apt:
|
# apt:
|
||||||
# name: nscd
|
# name: nscd
|
||||||
# state: present
|
# state: present
|
||||||
# update_cache: yes
|
# update_cache: yes
|
||||||
|
|
||||||
# Configure /etc/nslcd.conf
|
# Configure /etc/nslcd.conf
|
||||||
- name: Configure nslcd LDAP credentials
|
- name: Configure nslcd LDAP credentials
|
||||||
|
|
Loading…
Reference in a new issue