|
|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
set_fact:
|
|
|
|
|
privileged_user: "{% if ansible_system is match('CYGWIN*|Win32NT') %}Administrator{% else %}root{% endif %}"
|
|
|
|
|
|
|
|
|
|
### Initialisation des partitions
|
|
|
|
|
### Initialisation des partitions_UF
|
|
|
|
|
|
|
|
|
|
- name: Init /dev/sdb
|
|
|
|
|
shell: "echo ,,8e | sfdisk /dev/sdb"
|
|
|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
become: yes
|
|
|
|
|
become_user: root
|
|
|
|
|
|
|
|
|
|
### Config lvm for Splunk
|
|
|
|
|
### Config lvm for Splunk_UF
|
|
|
|
|
|
|
|
|
|
- name: Create PV
|
|
|
|
|
shell: "pvcreate /dev/sdb1"
|
|
|
|
|
|