style: fix to conform yamllint test
This commit is contained in:
parent
4aed7e86c8
commit
cd68ec7b1d
9 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
driver:
|
||||
name: docker_cli
|
||||
|
||||
|
@ -16,7 +17,7 @@ provisioner:
|
|||
platforms:
|
||||
- name: debian-9
|
||||
driver_config:
|
||||
image: nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.6' %>
|
||||
image: "nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.6' %>"
|
||||
command: /bin/systemd
|
||||
volume:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
---
|
||||
AllCops:
|
||||
Exclude:
|
||||
- db/**/*
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
sudo: required
|
||||
language: ruby
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
certbot_mail: ssl@host.local
|
||||
certbot_key_size: 4096
|
||||
certbot_path: /var/www/acme
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
galaxy_info:
|
||||
role_name: certbot
|
||||
author: Adrien Waksberg
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- name: install certbot package
|
||||
apt:
|
||||
name: '{{ packages }}'
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- name: check if certificate exist
|
||||
stat:
|
||||
path: '/etc/letsencrypt/live/{{ item.name }}'
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- import_tasks: base.yml
|
||||
tags: certbot
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
---
|
||||
- hosts: certbot
|
||||
connection: local
|
||||
vars:
|
||||
certbot_role: slave
|
||||
certbot_domains:
|
||||
- { name: test.local, command: 'echo OK > /tmp/test.txt'}
|
||||
- name: test.local
|
||||
command: 'echo OK > /tmp/test.txt'
|
||||
roles:
|
||||
- ansible-role-certbot
|
||||
- ansible-role-certbot
|
||||
|
|
Loading…
Add table
Reference in a new issue