Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#4)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v3.0.0 → v3.4.0](pre-commit/pre-commit-hooks@v3.0.0...v3.4.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Oct 14, 2021
1 parent 19048b6 commit 23c5c52
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.0.0
rev: v3.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand Down
2 changes: 1 addition & 1 deletion .python_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.6
3.7.6
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
10 changes: 5 additions & 5 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
iqserver_version: "1.92.0-02"

# The URL that users will access the application through. This should be
# a fully qualified domain. The app hardcodes URLs so this needs to be
# accurate.
# a fully qualified domain. The app hardcodes URLs so this needs to be
# accurate.
iqserver_url_hostname: localhost
iqserver_url_protocol: http
iqserver_url_context_path: /
Expand All @@ -17,7 +17,7 @@ iqserver_url_context_path: /
# won'
iqserver_use_apache: true

# Heap size to use
# Heap size to use
iqserver_heap_size: "2048m"

# Log level. Ships with DEBUG
Expand All @@ -34,7 +34,7 @@ iqserver_enable_jira_integration: false
# Jira fully qualified JIRA URL
iqserver_jira_url:

# Jira Username
# Jira Username
iqaserver_jira_username:

# Jira API Token. Consider setting this to a placeholder.
Expand Down Expand Up @@ -64,4 +64,4 @@ iqserver_rut_logout_url:
# an untarred dir, a current symlink, and a sonatype-work dir.
iqserver_base_dir: "/opt/iqserver"
iqserver_download_base_url: "https://download.sonatype.com/clm/server/"
iqserver_user: "iqserver"
iqserver_user: "iqserver"
2 changes: 1 addition & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
service: name=httpd state=reloaded

- name: restart iqserver
service: name=iqserver state=restarted
service: name=iqserver state=restarted
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
owner: "root"
group: "root"
mode: "0640"
notify:
notify:
- reload systemd
- restart iqserver
tags: ['iqserver']
Expand All @@ -102,7 +102,7 @@
owner: "{{ iqserver_user }}"
group: "{{ iqserver_user }}"
mode: "0640"
notify:
notify:
- reload systemd
- restart iqserver
tags: ['iqserver']
Expand All @@ -123,7 +123,7 @@
owner: "root"
group: "root"
mode: "0644"
notify:
notify:
- reload systemd
- restart iqserver
tags: ['iqserver']
Expand Down
2 changes: 1 addition & 1 deletion templates/config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ logging:
archivedFileCount: 50

# Sample data is created for new installs.
createSampleData: {{ iqserver_create_sample_data }}
createSampleData: {{ iqserver_create_sample_data }}
2 changes: 1 addition & 1 deletion templates/etc.httpd.conf.d.iqserver.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ProxyPreserveHost On
<VirtualHost *:80>

# Use HTTP Strict Transport Security to force client to use secure connections only

ServerName {{ iqserver_url_hostname }}
ProxyPass {{ iqserver_url_context_path }} http://localhost:8070{{ iqserver_url_context_path }}
ProxyPassReverse {{ iqserver_url_context_path }} http://localhost:8070{{ iqserver_url_context_path }}
Expand Down
4 changes: 2 additions & 2 deletions templates/etc.init.d.iqserver.j2
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ case $1 in
do_console
;;
start)
do_start
do_start
;;
stop)
do_stop
;;
*)
do_usage
;;
esac
esac
2 changes: 1 addition & 1 deletion templates/etc.security.limits.d.99-iqserver.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# {{ ansible_managed }}
{{ iqserver_user }} soft nofile 65536
{{ iqserver_user }} hard nofile 65536
{{ iqserver_user }} hard nofile 65536
2 changes: 1 addition & 1 deletion templates/etc.systemd.system.iqserver.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ User=root
Restart=on-abort

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

0 comments on commit 23c5c52

Please sign in to comment.