main.yml 327 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
  - name: Include common tasks.
    include: common.yml
  
  - name: Include tasks for master.
    include: master.yml
    when: "'master' in group_names"
    tags:
      - master-install
  
  - name: Include tasks for slaves.
    include: slaves.yml
    when: "'slaves' in group_names"
    tags:
      - slaves-install