|
@ -43,12 +43,12 @@ |
|
|
- vim |
|
|
- vim |
|
|
- htop |
|
|
- htop |
|
|
|
|
|
|
|
|
- name: enable lvm wipe signature |
|
|
|
|
|
|
|
|
- name: enable lvm wipe signature |
|
|
lineinfile: |
|
|
lineinfile: |
|
|
dest: /etc/lvm/lvm.conf |
|
|
dest: /etc/lvm/lvm.conf |
|
|
state: present |
|
|
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 |
|
|
notify: restart lvm |
|
|
handlers: |
|
|
handlers: |
|
|
- name: restart networking |
|
|
- name: restart networking |
|
@ -56,9 +56,7 @@ |
|
|
name: networking |
|
|
name: networking |
|
|
state: reloaded |
|
|
state: reloaded |
|
|
- name: restart lvm |
|
|
- name: restart lvm |
|
|
service: |
|
|
|
|
|
name: lvm |
|
|
|
|
|
state: reloaded |
|
|
|
|
|
|
|
|
shell: /etc/init.d/lvm2 reload |
|
|
- name: restart sshd |
|
|
- name: restart sshd |
|
|
service: |
|
|
service: |
|
|
name: networking |
|
|
name: networking |
|
|