fix wrong defaults
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a9434b1a43
commit
2ee3038024
|
@ -31,16 +31,9 @@ gitea_db_server: localhost
|
|||
gitea_db_port: 5432
|
||||
gitea_db_name: gitea
|
||||
gitea_db_user: pggitea
|
||||
gitea_db_password: secret
|
||||
gitea_db_password: secure
|
||||
|
||||
gitea_db_ssl_mode: disabled
|
||||
|
||||
gitea_iptables_enabled: False
|
||||
gitea_open_ports:
|
||||
- name: allow_gitea_web
|
||||
rules: |
|
||||
-A INPUT -m state --state NEW -p tcp --dport {{ gitea_bind_port }} -j ACCEPT
|
||||
state: present
|
||||
gitea_db_ssl_mode: disable
|
||||
|
||||
gitea_global_log_level: Info
|
||||
gitea_global_log_dir: "{{ gitea_base_dir }}/log"
|
||||
|
|
|
@ -54,17 +54,5 @@
|
|||
src: "etc/systemd/system/gitea.service.j2"
|
||||
dest: "/etc/systemd/system/gitea.service"
|
||||
notify: __gitea_restart
|
||||
|
||||
- name: Open ports in iptables
|
||||
iptables_raw:
|
||||
name: "{{ item.name }}"
|
||||
rules: "{{ item.rules }}"
|
||||
state: "{{ item.state }}"
|
||||
weight: "{{ item.weight | default(omit) }}"
|
||||
table: "{{ item.table | default(omit) }}"
|
||||
loop: "{{ gitea_open_ports }}"
|
||||
loop_control:
|
||||
label: "{{ item.name }}"
|
||||
when: gitea_iptables_enabled | bool
|
||||
become: True
|
||||
become_user: root
|
||||
|
|
Loading…
Reference in New Issue