소스 검색

Added OS version check

merge-requests/1/merge
Christoph Haas 6 년 전
부모
커밋
0c06d0164d
1개의 변경된 파일12개의 추가작업 그리고 2개의 파일을 삭제
  1. +12
    -2
      ansible/ispmail.yml

+ 12
- 2
ansible/ispmail.yml 파일 보기

@@ -1,8 +1,18 @@
---
# Requires Ansible >= 1.9
# Check that this system is Debian Buster.
# Other Debian derivates may work but are untested.

- hosts: all
tasks:
- name: "Checking operating system version"
assert:
that: ansible_distribution_release == 'buster'
fail_msg: 'This Ansible playbook is only supported on Debian Buster.'
success_msg: 'Debian Buster found - that makes me happy.'

- hosts: all
roles:
- dumpvars
#- dumpvars
- ispmail-packages
- ispmail-certificate
- ispmail-database


불러오는 중...
취소
저장