1
0
forked from infra/ansible

Name includes (useful for ansible 2.0)

This commit is contained in:
Markus 2016-01-13 14:19:50 +01:00
parent ce1d8fcac3
commit ede470acf9
3 changed files with 12 additions and 6 deletions

View File

@ -1,8 +1,10 @@
--- ---
# This playbook contains common plays that will be run on all nodes. # This playbook contains common plays that will be run on all nodes.
- include: Debian.yml - name: Debian
include: Debian.yml
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- include: FreeBSD.yml - name: FreeBSD
include: FreeBSD.yml
when: ansible_distribution == 'FreeBSD' when: ansible_distribution == 'FreeBSD'

View File

@ -1,7 +1,9 @@
--- ---
- include: Debian.yml - name: Debian
include: Debian.yml
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- include: FreeBSD.yml - name: FreeBSD
include: FreeBSD.yml
when: ansible_distribution == 'FreeBSD' when: ansible_distribution == 'FreeBSD'

View File

@ -1,8 +1,10 @@
--- ---
# This playbook contains common plays that will be run on all nodes. # This playbook contains common plays that will be run on all nodes.
- include: Debian.yml - name: Debian
include: Debian.yml
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- include: FreeBSD.yml - name: FreeBSD
include: FreeBSD.yml
when: ansible_distribution == 'FreeBSD' when: ansible_distribution == 'FreeBSD'