ansible-lint

dev
Jérémy Dubois 3 months ago
parent dfaaa8e0da
commit 73563d6838

@ -0,0 +1,3 @@
skip_list:
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
- '204' # Lines should be no longer than 160 chars

@ -8,55 +8,55 @@
## EXAMPLE OF PLAYBOOK - PLEASE USE YOUR OWN PLAYBOOK
---
#- name: Evolixisation of an OpenBSD system
# hosts: openbsd
# become: true
# become_user: root
# become_method: sudo
# - name: Evolixisation of an OpenBSD system
# hosts: openbsd
# become: true
# become_user: root
# become_method: sudo
#
# vars_files:
# - vars/main.yml
# - vars/evolix-main.yml
# - vars/evolinux-secrets.yml
# vars_files:
# - vars/main.yml
# - vars/evolix-main.yml
# - vars/evolinux-secrets.yml
#
# vars:
# client_number: "XXX"
# monitoring_mode: "everytime"
# vars:
# client_number: "XXX"
# monitoring_mode: "everytime"
#
# pre_tasks:
# - include_role:
# name: etc-git
# tasks_from: commit.yml
# vars:
# commit_message: "Ansible pre-run evolisation.yml"
# when: not ansible_check_mode
# tags: always
# pre_tasks:
# - include_role:
# name: etc-git
# tasks_from: commit.yml
# vars:
# commit_message: "Ansible pre-run evolisation.yml"
# when: not ansible_check_mode
# tags: always
#
# roles:
# - evomaintenance
# - etc-git
# - base
# - forwarding
# - pf
# - accounts
# - nagios-nrpe
# - evocheck
# - evobackup
# - post-install
# # - ospf
# # - bgp
# # - { role: collectd, collectd_server: "127.0.0.1" }
# # - logsentry
# roles:
# - evomaintenance
# - etc-git
# - base
# - forwarding
# - pf
# - accounts
# - nagios-nrpe
# - evocheck
# - evobackup
# - post-install
# # - ospf
# # - bgp
# # - { role: collectd, collectd_server: "127.0.0.1" }
# # - logsentry
#
# post_tasks:
# - include_role:
# name: etc-git
# tasks_from: commit.yml
# vars:
# commit_message: "Ansible post-run evolisation.yml"
# when: not ansible_check_mode
# tags: always
# post_tasks:
# - include_role:
# name: etc-git
# tasks_from: commit.yml
# vars:
# commit_message: "Ansible post-run evolisation.yml"
# when: not ansible_check_mode
# tags: always
#
# - include_role:
# name: evocheck
# tasks_from: exec.yml
# - include_role:
# name: evocheck
# tasks_from: exec.yml

@ -13,5 +13,6 @@
- name: Install ansible's prerequisite
# yamllint disable-line rule:line-length
raw: export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(uname -p)/; pkg_add -z python-3
changed_when: true
# vim:ft=ansible

Loading…
Cancel
Save