|
|
@ -43,12 +43,12 @@ |
|
|
|
- vim |
|
|
|
- htop |
|
|
|
|
|
|
|
- name: enable lvm wipe signature |
|
|
|
- name: enable lvm wipe signature |
|
|
|
lineinfile: |
|
|
|
dest: /etc/lvm/lvm.conf |
|
|
|
state: present |
|
|
|
line: " wipe_signatures_when_zeroing_new_lvs = 1" |
|
|
|
regexp: "^\s*wipe_signatures_when_zeroing_new_lvs = 0" |
|
|
|
line: " wipe_signatures_when_zeroing_new_lvs = 0" |
|
|
|
regexp: '^\s*.+wipe_signatures_when_zeroing_new_lvs = ' |
|
|
|
notify: restart lvm |
|
|
|
handlers: |
|
|
|
- name: restart networking |
|
|
@ -56,9 +56,7 @@ |
|
|
|
name: networking |
|
|
|
state: reloaded |
|
|
|
- name: restart lvm |
|
|
|
service: |
|
|
|
name: lvm |
|
|
|
state: reloaded |
|
|
|
shell: /etc/init.d/lvm2 reload |
|
|
|
- name: restart sshd |
|
|
|
service: |
|
|
|
name: networking |
|
|
|