-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
161 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,3 +42,8 @@ Thumbs.db | |
# Tools and Framework files # | ||
############################# | ||
.vagrant | ||
|
||
# Specific # | ||
############ | ||
|
||
files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
- include: install.yml | ||
- include: configure.yml | ||
- include: users.yml | ||
|
||
- include: ssl.yml | ||
when: wildfly_enable_ssl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# task file for wildfly | ||
|
||
# See the README file on how to generate this file. | ||
- name: Copy keystore file to the configuration folder | ||
copy: src={{ wildfly_keystore_name }} | ||
dest={{ wildfly_keystore_path }} | ||
owner={{ wildfly_user }} group={{ wildfly_group }} mode=0750 | ||
notify: | ||
- restart wildfly | ||
- change standalone data mode | ||
|
||
- name: Add SSL identity to the management realm | ||
lineinfile: | ||
dest: "{{ wildfly_standalone_config_path }}" | ||
insertafter: <security-realm name="ManagementRealm"> | ||
line: "{{ wildfly_application_ssl_identity }}" | ||
owner: "{{ wildfly_user }}" | ||
group: "{{ wildfly_group }}" | ||
mode: 0750 | ||
notify: | ||
- restart wildfly | ||
- change standalone data mode | ||
|
||
- name: Add https listener for applications | ||
lineinfile: | ||
dest: "{{ wildfly_standalone_config_path }}" | ||
insertafter: <http-listener name=* | ||
line: "{{ wildfly_https_listener }}" | ||
owner: "{{ wildfly_user }}" | ||
group: "{{ wildfly_group }}" | ||
mode: 0750 | ||
notify: | ||
- restart wildfly | ||
- change standalone data mode | ||
|
||
- name: Add https socket binding to management interfaces | ||
lineinfile: | ||
dest: "{{ wildfly_standalone_config_path }}" | ||
insertafter: <http-interface security-realm="ManagementRealm"* | ||
line: <socket-binding https="management-https"/> | ||
owner: "{{ wildfly_user }}" | ||
group: "{{ wildfly_group }}" | ||
mode: 0750 | ||
notify: | ||
- restart wildfly | ||
- change standalone data mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
--- | ||
# tasks file for wildfly | ||
|
||
# This status will always be "changed" unless skipped because it will update | ||
# if exists even with the same credentials. | ||
# The user will always be overwritten every time a user and password is given. | ||
- name: Create management user | ||
command: > | ||
{{ wildfly_dir }}/bin/add-user.sh | ||
{{ wildfly_management_user }} {{ wildfly_management_password }} | ||
become_user: "{{ wildfly_user }}" | ||
when: wildfly_management_user is defined and | ||
wildfly_management_password is defined and | ||
wildfly_management_user_overwrite | ||
wildfly_management_password is defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# System properties for wildfly | ||
jboss.bind.address={{ wildfly_bind_address }} | ||
jboss.management.http.port={{ wildfly_manage_http_port }} | ||
jboss.management.https.port={{ wildfly_manage_https_port }} | ||
jboss.http.port={{ wildfly_http_port }} | ||
jboss.https.port={{ wildfly_https_port }} | ||
jboss.bind.address.management={{ wildfly_management_bind_address }} | ||
jboss.server.temp.dir=/tmp/wildfly |