{"id":41956692,"url":"https://github.com/inkatze/wildfly","last_synced_at":"2026-01-25T22:40:19.245Z","repository":{"id":35390715,"uuid":"39654623","full_name":"inkatze/wildfly","owner":"inkatze","description":"Ansible role for wildfly","archived":false,"fork":false,"pushed_at":"2021-06-01T22:23:37.000Z","size":152,"stargazers_count":24,"open_issues_count":21,"forks_count":30,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-08-19T01:01:46.734Z","etag":null,"topics":["ansible","ansible-role","java","wildfly"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inkatze.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-24T20:06:09.000Z","updated_at":"2023-05-09T07:53:39.000Z","dependencies_parsed_at":"2022-09-11T12:22:19.705Z","dependency_job_id":null,"html_url":"https://github.com/inkatze/wildfly","commit_stats":null,"previous_names":[],"tags_count":7,"template":null,"template_full_name":null,"purl":"pkg:github/inkatze/wildfly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkatze%2Fwildfly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkatze%2Fwildfly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkatze%2Fwildfly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkatze%2Fwildfly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inkatze","download_url":"https://codeload.github.com/inkatze/wildfly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkatze%2Fwildfly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28760648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T20:56:06.009Z","status":"ssl_error","status_checked_at":"2026-01-25T20:54:48.203Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","java","wildfly"],"created_at":"2026-01-25T22:40:18.633Z","updated_at":"2026-01-25T22:40:19.231Z","avatar_url":"https://github.com/inkatze.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wildfly\n\n[![Build Status](https://travis-ci.org/inkatze/wildfly.svg?branch=master)](https://travis-ci.org/inkatze/wildfly)\n\nThis role installs Wildfly's application runtime.\n\n## Role Variables\n\nIt's important to change the bind addresses to localhost or internal network in\nproduction environments.\n\nDefaults:\n\n    wildfly_version: 9.0.1.Final\n\n    wildfly_user: wildfly\n    wildfly_group: wildfly\n\n    wildfly_base_download_url: http://download.jboss.org/wildfly\n    wildfly_name: wildfly-{{ wildfly_version }}\n    wildfly_download_file: \"{{ wildfly_name }}.tar.gz\"\n    wildfly_download_validate_certs: \"yes\"\n    wildfly_download_url: \"{{ wildfly_base_download_url }}/{{ wildfly_version }}/\\\n                        {{ wildfly_download_file }}\"\n    wildfly_download_dir: /tmp\n\n    wildfly_install_dir: /opt\n    wildfly_dir: \"{{ wildfly_install_dir }}/{{ wildfly_name }}\"\n\n    wildfly_temp_dir: /tmp/wildfly\n\n    wildfly_console_log_dir: \"/var/log/wildfly\"\n    wildfly_console_log_file: \"console.log\"\n    wildfly_console_log: \"{{ wildfly_console_log_dir }}/\\\n                        {{ wildfly_console_log_file }}\"\n\n    wildfly_conf_dir: /etc/wildfly\n    wildfly_standalone_config_file: standalone.xml\n    wildfly_standalone_config_path: \"{{ wildfly_dir }}/standalone/configuration/\\\n                                    {{ wildfly_standalone_config_file }}\"\n    wildfly_init_dir: /etc/init.d\n\n    wildfly_bind_address: 0.0.0.0\n    wildfly_management_bind_address: 0.0.0.0\n    wildfly_manage_http_port: 9990\n    wildfly_manage_https_port: 9993\n    wildfly_http_port: 8080\n    wildfly_https_port: 8443\n\n    wildfly_enable_ssl: no\n    wildfly_keystore_name: my.jks\n    wildfly_keystore_path: \"{{ wildfly_dir }}/standalone/configuration/\\\n                            {{ wildfly_keystore_name }}\"\n    wildfly_keystore_alias: my\n    wildfly_keystore_password: \"secret\"\n    wildfly_key_password: \"secret\"\n    wildfly_application_ssl_identity: '\n        \u003cserver-identities\u003e\n            \u003cssl\u003e\n                \u003ckeystore path=\"{{ wildfly_keystore_name }}\"\n                relative-to=\"jboss.server.config.dir\"\n                alias=\"{{ wildfly_keystore_alias }}\"\n                keystore-password=\"{{ wildfly_keystore_password }}\"\n                key-password=\"{{ wildfly_key_password }}\"/\u003e\n            \u003c/ssl\u003e\n        \u003c/server-identities\u003e'\n    wildfly_https_listener: '\n        \u003chttps-listener name=\"https-server\" socket-binding=\"https\"\n        security-realm=\"ManagementRealm\"/\u003e'\n\n    # Manually defined variables\n    # wildfly_app_users:\n    #   - name: user\n    #     password: secret_password\n    # wildfly_management_users:\n    #   - name: admin\n    #     password: secret_password\n    # wildfly_custom_properties:\n    #   custom.property: custom java property, goes into {{ wildfly_conf_dir }}/wildfly.properties\n    # wildfly_custom_environment:\n    #   CUSTOM_ENV_VAR: custom environment variable, goes into {{ wildfly_conf_dir }}/wildfly.conf\n\n## Example Playbook\n\n    - hosts: servers\n      roles:\n         - { role: inkatze.wildfly }\n\n## Admin User\n\nIt's recommended that you create Wildfly's admin user separately as follows:\n\n    $ ansible-playbook main.yml --extra-vars '{\"wildfly_management_users\":[{\"name\":\"admin\",\"password\":\"secret_password\"}]}'\n\n## SSL Support\n\nIn order to enable SSL for applications and the management interface you have\nto set the `wildfly_enable_ssl` variable to `yes` and put the keystore file\ninto this role files folder.\n\nYou can create a self signed keystore file with the following command:\n\n    $ keytool -genkey -alias mycert -keyalg RSA -sigalg MD5withRSA -keystore my.jks -storepass secret  -keypass secret -validity 9999\n\nIt's recommended that the first and last name is your hostname. After this file\nis created, you have to set the keystore related variable in order to work\ncorrectly.\n\nTo create a keystore with your own certificate you need to run the following commands:\n\n    $ cat /etc/ssl/certs/ca-bundle.crt intermediate.crt \u003e allcacerts.crt\n    $ openssl verify -CAfile allcacerts.crt certificate.crt\n    $ openssl pkcs12 -export -chain -CAfile allcacerts.crt -in certificate.crt -inkey private.key -out my.p12 -name my\n    $ keytool -importkeystore -destkeystore my.jks -srckeystore my.p12 -srcstoretype pkcs12 -alias my\n\nThe first command will add your intermediate to the openssl's CAs; the order is\nimportant and you may need to put the itermediate file before `ca-bundle.crt`.\nThe second command is to verify that your certificate is signed by a known CA,\nusually if this step fails, the rest of the process will fail too.\nThe third command is to import the all our certificate files in pkcs12 format.\nFinally we use keytool to create the keystore to be used in wildfly.\n\n## Troubleshooting\n\n  - If you're getting a `Connection refused` error in your browser check that\n  you have the correct IP address in your `wildfly_bind_address` variable.\n\n## License\n\nBSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkatze%2Fwildfly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finkatze%2Fwildfly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkatze%2Fwildfly/lists"}