Rolle aktualisiert: lvm (#460)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: #460
This commit is contained in:
parent
b5c16eaacd
commit
5938d6c2ce
3 changed files with 10 additions and 2 deletions
|
@ -45,6 +45,7 @@
|
|||
- lv.create|bool
|
||||
- lv.filesystem is defined
|
||||
- lv.filesystem != 'None'
|
||||
- lv.filesystem != 'swap'
|
||||
- lv.filesystem != 'xfs'
|
||||
|
||||
- name: create_fs | creating new xfs filesystem on new LVM logical volume(s)
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
---
|
||||
- name: debian | Updating Apt Cache
|
||||
apt:
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
become: true
|
||||
|
||||
- name: debian | installing pre-reqs
|
||||
apt:
|
||||
name:
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
set_fact:
|
||||
rescan_scsi_command: "/sbin/rescan-scsi-bus"
|
||||
when:
|
||||
- ansible_distribution | replace(' ','') | lower == 'debian'
|
||||
- ansible_distribution_major_version is version(10, '<=')
|
||||
- ansible_facts.distribution | replace(' ','') | lower == 'debian'
|
||||
- ansible_facts.distribution_release not in ('bookworm', 'sid')
|
||||
- ansible_facts.distribution_major_version is version(10, '<=')
|
||||
|
||||
- include_tasks: debian.yml
|
||||
when: ansible_facts.os_family == "Debian"
|
||||
|
|
Loading…
Reference in a new issue