Skip to content

Latest commit

 

History

History

storage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

storage

This role prepares and configures storage for Uyuni and SUSE Manager.

Requirements

No requirements.

Role Variables

Variable Default Description
uyuni_vg uyuni LVM volume group to create for Docker data
uyuni_pv /dev/sdb Disk to use for LVM
uyuni_filesystems see defaults/main.yml LVs, filesystems and mount points to create

Dependencies

No dependencies.

Example Playbook

Refer to the following example:

- hosts: servers
  roles:
    - stdevel.uyuni.storage

Set variables if required, e.g.:

---
- hosts: uyuni.giertz.loc
  remote_user: root
  roles:
    - role: stdevel.uyuni.storage
      uyuni_vg: /dev/vdb
      uyuni_filesystems:
        - name: lv_uyuni
          type: xfs
          mountpoint: /var/spacewalk
          size: 10240
        - name: lv_pgsql
          type: xfs
          mountpoint: /var/lib/pgsql
          size: 10240

License

GPL 3.0

Author Information

Christian Stankowic ([email protected])