mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-12-27 18:51:00 +00:00
turn off gc, add memory override
This commit is contained in:
parent
7880e4bf30
commit
446507dd98
3 changed files with 20 additions and 9 deletions
|
@ -0,0 +1,2 @@
|
|||
[Service]
|
||||
MemoryDenyWriteExecute=no
|
|
@ -53,6 +53,16 @@
|
|||
notify:
|
||||
- restart_httpd
|
||||
|
||||
- name: Create httpd memory override
|
||||
ansible.builtin.copy:
|
||||
src: "etc/systemd/system/httpd.service.d/httpd-override.conf"
|
||||
dest: "/etc/systemd/system/httpd.service.d/httpd-override.conf"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify:
|
||||
- restart_httpd
|
||||
|
||||
- name: Configure robots.txt
|
||||
ansible.builtin.copy:
|
||||
src: "var/www/html/robots.txt"
|
||||
|
@ -63,14 +73,8 @@
|
|||
notify:
|
||||
- restart_httpd
|
||||
|
||||
- name: Deploy custom theme for koji
|
||||
ansible.builtin.unarchive:
|
||||
src: "{{ koji_theme_file }}"
|
||||
dest: /
|
||||
when: koji_theme
|
||||
|
||||
- name: Configure garbage collector
|
||||
import_tasks: koji-gc.yml
|
||||
# - name: Configure garbage collector
|
||||
# import_tasks: koji-gc.yml
|
||||
|
||||
- name: User Sync from FAS
|
||||
import_tasks: user-sync.yml
|
||||
|
|
|
@ -3,6 +3,11 @@ server={{ koji_hub_url }}
|
|||
topdir={{ koji_mount }}
|
||||
logfile=/var/log/kojira.log
|
||||
;with_src=no
|
||||
serverca = {{ koji_hub_ca }}
|
||||
;authtype = kerberos
|
||||
principal = {{ koji_kojira_principal }}
|
||||
keytab = {{ koji_kojira_keytab }}
|
||||
serverca = {{ koji_hub_ca }}
|
||||
ignore_tags = module-*-build
|
||||
debug = false
|
||||
check_external_repos = true
|
||||
dist_repo_lifetime = 7257600
|
||||
|
|
Loading…
Reference in a new issue