-
Notifications
You must be signed in to change notification settings - Fork 19
prefixed the vars, added resizefs, since first post PXE task is alway… #11
Conversation
…s resize the PXE created LVs and FS
dev: /dev/{{ vgname }}/{{ lvname }} | ||
fstype: "{{ lvm_lvfilesystem }}" | ||
dev: /dev/{{ lvm_vgname }}/{{ lvm_lvname }} | ||
resizefs: yes | ||
|
||
- name: storage | mount scratch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're cleaning up this file, can you change the name to storage | mount
?
I've opened #12 which can be tested alongside this. Overall there should be no change since these are either variable renames, rearrangements of tasks, or variable changes which should not have an effect on existing systems. |
@manics: okay with the last changes? |
vg: "{{ lvm_vgname }}" | ||
lv: "{{ lvm_lvname }}" | ||
size: "{{ lvm_lvsize }}" | ||
opts: "{{ lvm_lvopts }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While testing I realized lvol
opts
is a 2.0+ feature. Are you using development ansible or a beta version @kennethgillen @manics ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
development. Note lvm_lvopts
will need another fix but I can rebase #21: https://github.com/openmicroscopy/infrastructure/pull/21/files#diff-ed13ce14137be8371d9a6e4bf1420595
prefixed the vars, added resizefs, since first post PXE task is alway… Further refinements can be made in a future PR
prefixed the vars, added resizefs, since first post PXE task is alway… Further refinements can be made in a future PR
…s resize the PXE created LVs and FS.
Feel free to test with infra_testpr. There's a snapshot ready for reverting-to (name of snap is self documenting).