This role performs sealing steps for following operating systems:
- RedHat / CentOS (oVirt site)
- Ubuntu / Debian
You need to have enabled ControlMaster
under [ssh_connection] header in ansible configuration file.
The defaults ssh_args = -o ControlMaster=auto -o ControlPersist=60s will work.
-
seal_run_containerized
This option allows
sealrole run inside of container, default=false.Problem is with
/etc/hostnamefile which can not be renamed because it is being bind-mounted.
None
You can skip following sealing steps using --skip-tags option.
-
reset_hostname
Tag is assigned to tasks which reset hostname.
-
delete_logs
Tag is assigned to tasks which wipe out
/var/log/directory. -
poweroff
Tag is assigned to task which shutdown sealed machine.
---
- hosts: all
remote_user: root
roles:
- { role: rhevm-qe-automation.ansible-role-seal }Katerina Koukiou kkoukiou@redhat.com