New in version 2.3.
Associate a description with a new boot environment. This option is available only on Solarish platforms.
Specifies if the unmount should be forced.
Path where to mount the ZFS boot environment
ZFS boot environment name.
Create the datasets for new BE with specific ZFS properties. Multiple options can be specified. This option is available only on Solarish platforms.
If specified, the new boot environment will be cloned from the given snapshot or inactive boot environment.
Create or delete ZFS boot environment.
- name: Create ZFS boot environment beadm: name: upgrade-be state: present - name: Create ZFS boot environment from existing inactive boot environment beadm: name: upgrade-be snapshot: [email protected] state: present - name: Create ZFS boot environment with compression enabled and description "upgrade" beadm: name: upgrade-be options: "compression=on" description: upgrade state: present - name: Delete ZFS boot environment beadm: name: old-be state: absent - name: Mount ZFS boot environment on /tmp/be beadm: name: BE mountpoint: /tmp/be state: mounted - name: Unmount ZFS boot environment beadm: name: BE state: unmounted - name: Activate ZFS boot environment beadm: name: upgrade-be state: activated
Common return values are documented here Return Values, the following are the fields unique to this module:
|state||state of the target||always||string||present|
|force||if forced action is wanted||always||boolean||False|
|snapshot||ZFS snapshot to create BE from||always||string||[email protected]|
|options||BE additional options||always||string||compression=on|
|description||BE description||always||string||Upgrade from 9.0 to 10.0|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support