Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhevm-qe-automation/ansible-role-seal
Performs sealing of Red Hat Enterprise Linux machine
https://github.com/rhevm-qe-automation/ansible-role-seal
ansible-role seal virtual-machine
Last synced: 3 months ago
JSON representation
Performs sealing of Red Hat Enterprise Linux machine
- Host: GitHub
- URL: https://github.com/rhevm-qe-automation/ansible-role-seal
- Owner: rhevm-qe-automation
- License: gpl-3.0
- Created: 2017-02-24T16:22:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T18:28:29.000Z (over 1 year ago)
- Last Synced: 2024-03-26T13:58:14.771Z (11 months ago)
- Topics: ansible-role, seal, virtual-machine
- Size: 29.3 KB
- Stars: 4
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/rhevm-qe-automation/ansible-role-seal.svg?branch=master)](https://travis-ci.org/rhevm-qe-automation/ansible-role-seal)
Seal
====This role performs sealing steps for following operating systems:
* RedHat / CentOS ([oVirt site](http://www.ovirt.org/documentation/how-to/virtual-machines/sealing-linux-vm/))
* Ubuntu / DebianRequirements
------------You need to have enabled [ControlMaster](http://docs.ansible.com/ansible/latest/intro_configuration.html#openssh-specific-settings)
under [ssh_connection] header in ansible configuration file.
The defaults `ssh_args = -o ControlMaster=auto -o ControlPersist=60s` will work.Role Variables
--------------* **seal\_run\_containerized**
This option allows `seal` role run inside of container, default=false.
Problem is with `/etc/hostname` file which can not be renamed because it
is being bind-mounted.Dependencies
------------None
Available tags
--------------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.
Example Playbook
----------------```yaml
---
- hosts: all
remote_user: root
roles:
- { role: rhevm-qe-automation.ansible-role-seal }
```Author Information
------------------Katerina Koukiou
[email protected]