wildfly uninstall role
Role to uninstall Wildfly and clean the target nodes.
Role Defaults
Variable |
Description |
Default |
---|---|---|
|
Specifiy if the uninstallation process requires privileges escalation |
|
|
Instance name of the server to uninstall |
`{{ instance_name |
|
Path to server home |
|
|
Path to the systemd configuration file associated to the server |
|
|
Path to the env file used by the systemd service associated to the server |
|
|
Specify if uninstall procedure should remove server specific group |
|
|
Name of the server’s group |
|
|
Specify if uninstall procedure should remove server specific user |
|
|
Name of the server’s group |
|
No defaults
Role Variables
No required variables
Example Playbooks
---
- name: "Uninstall server from target"
hosts: all
gather_facts: false
vars:
wildfly_uninstall_service_name: wildfly
wildfly_uninstall_home: /opt/wildfly/wildfly-34.0.0.Final
wildfly_uninstall_path_to_archive: /opt/wildfly/wildfly-34.0.0.Final.zip
roles:
- name: wildfly_uninstall
License
GPL2