blob: 014e396b090a1440318e33391dee571426197653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
- name: Ensure required software is installed.
package: name="{{ item }}" state=present
with_items: [ 'parted', 'mdadm', 'nfs-utils' ]
- debug: msg="{{ inventory_hostname }}"
- name: configure network fs
include_tasks: nfs.yml
- name: configure ipepdvcompute2
include_tasks: ipecompute2.yml
when: inventory_hostname == '192.168.26.132'
- name: configure ipepdvcompute4
include_tasks: ipecompute4.yml
when: inventory_hostname == '192.168.26.134'
|