mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-03 00:30:18 +01:00
Be a little less strict about line length.
This commit is contained in:
parent
afb02c39ca
commit
d579c1497f
3 changed files with 9 additions and 2 deletions
|
@ -5,6 +5,8 @@ driver:
|
||||||
name: docker
|
name: docker
|
||||||
lint:
|
lint:
|
||||||
name: yamllint
|
name: yamllint
|
||||||
|
options:
|
||||||
|
config-file: molecule/default/yaml-lint.yml
|
||||||
platforms:
|
platforms:
|
||||||
- name: instance
|
- name: instance
|
||||||
image: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible
|
image: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible
|
||||||
|
|
6
molecule/default/yaml-lint.yml
Normal file
6
molecule/default/yaml-lint.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
extends: default
|
||||||
|
rules:
|
||||||
|
line-length:
|
||||||
|
max: 120
|
||||||
|
level: warning
|
|
@ -48,8 +48,7 @@
|
||||||
|
|
||||||
- name: Remove default vhost in sites-enabled.
|
- name: Remove default vhost in sites-enabled.
|
||||||
file:
|
file:
|
||||||
path: >-
|
path: "{{ apache_conf_path }}/sites-enabled/{{ apache_default_vhost_filename }}"
|
||||||
"{{ apache_conf_path }}/sites-enabled/{{ apache_default_vhost_filename }}"
|
|
||||||
state: absent
|
state: absent
|
||||||
notify: restart apache
|
notify: restart apache
|
||||||
when: apache_remove_default_vhost
|
when: apache_remove_default_vhost
|
||||||
|
|
Loading…
Reference in a new issue