Skip to content

Commit 666616b

Browse files
authored
Merge pull request roles-ansible#115 from quotengrote/typo
fix typo
2 parents 2d174e2 + fb4293b commit 666616b

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Either you define exactly which release you install. Or you use the option ``lat
6767
| `gitea_user_home` | `{{ gitea_home }}` | home of gitea user |
6868
| `gitea_executable_path` | `/usr/local/bin/gitea` | Path for gitea executable |
6969
| `gitea_forgejo_executable_path` | `/usr/local/bin/forgejo` | Path for forgejo executable |
70-
| `gitea_configuraion_path` | `/etc/gitea` | Where to put the gitea.ini config |
70+
| `gitea_configuration_path` | `/etc/gitea` | Where to put the gitea.ini config |
7171
| `gitea_shell` | `/bin/false` | UNIX shell used by gitea. Set it to `/bin/bash` if you don't use the gitea built-in ssh server. |
7272
| `gitea_systemd_cap_net_bind_service` | `false` | Adds `AmbientCapabilities=CAP_NET_BIND_SERVICE` to systemd service file |
7373

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gitea_home: '/var/lib/gitea'
2020
gitea_user_home: '{{ gitea_home }}'
2121
gitea_executable_path: '/usr/local/bin/gitea'
2222
gitea_forgejo_executable_path: '/usr/local/bin/forgejo'
23-
gitea_configuraion_path: '/etc/gitea'
23+
gitea_configuration_path: '/etc/gitea'
2424
gitea_shell: '/bin/false'
2525
gitea_systemd_cap_net_bind_service: false
2626

tasks/backup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- name: Backing up gitea before upgrade
3030
become: true
3131
ansible.builtin.command:
32-
cmd: "sudo -u {{ gitea_user }} {{ gitea_full_executable_path }} dump -c {{ gitea_configuraion_path }}/gitea.ini"
32+
cmd: "sudo -u {{ gitea_user }} {{ gitea_full_executable_path }} dump -c {{ gitea_configuration_path }}/gitea.ini"
3333
chdir: "{{ gitea_backup_location }}"
3434
changed_when: true
3535
rescue:

tasks/configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
become: true
44
ansible.builtin.template:
55
src: gitea.ini.j2
6-
dest: "{{ gitea_configuraion_path }}/gitea.ini"
6+
dest: "{{ gitea_configuration_path }}/gitea.ini"
77
owner: "{{ gitea_user }}"
88
group: "{{ gitea_group }}"
99
mode: 0600

tasks/directory.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
group: "{{ gitea_group }}"
99
mode: 'u=rwX,g=rX,o='
1010
with_items:
11-
- "{{ gitea_configuraion_path }}"
11+
- "{{ gitea_configuration_path }}"
1212
- "{{ gitea_user_home }}"
1313
- "{{ gitea_home }}"
1414
- "{{ gitea_home }}/data"

tasks/gitea_secrets.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
- name: Generate gitea SECRET_KEY if not provided
33
become: true
4-
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret SECRET_KEY > {{ gitea_configuraion_path }}/gitea_secret_key'
4+
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret SECRET_KEY > {{ gitea_configuration_path }}/gitea_secret_key'
55
args:
6-
creates: '{{ gitea_configuraion_path }}/gitea_secret_key'
6+
creates: '{{ gitea_configuration_path }}/gitea_secret_key'
77
when: gitea_secret_key | string | length == 0
88

99
- name: Read gitea SECRET_KEY from file
1010
become: true
1111
ansible.builtin.slurp:
12-
src: '{{ gitea_configuraion_path }}/gitea_secret_key'
12+
src: '{{ gitea_configuration_path }}/gitea_secret_key'
1313
register: remote_secret_key
1414
when: gitea_secret_key | string | length == 0
1515

@@ -20,15 +20,15 @@
2020

2121
- name: Generate gitea INTERNAL_TOKEN if not provided
2222
become: true
23-
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret INTERNAL_TOKEN > {{ gitea_configuraion_path }}/gitea_internal_token'
23+
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret INTERNAL_TOKEN > {{ gitea_configuration_path }}/gitea_internal_token'
2424
args:
25-
creates: '{{ gitea_configuraion_path }}/gitea_internal_token'
25+
creates: '{{ gitea_configuration_path }}/gitea_internal_token'
2626
when: gitea_internal_token | string | length == 0
2727

2828
- name: Read gitea INTERNAL_TOKEN from file
2929
become: true
3030
ansible.builtin.slurp:
31-
src: '{{ gitea_configuraion_path }}/gitea_internal_token'
31+
src: '{{ gitea_configuration_path }}/gitea_internal_token'
3232
register: remote_internal_token
3333
when: gitea_internal_token | string | length == 0
3434

tasks/jwt_secrets.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
- name: Generate OAuth2 JWT_SECRET if not provided
33
become: true
4-
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret JWT_SECRET > {{ gitea_configuraion_path }}/gitea_oauth_jwt_secret'
4+
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret JWT_SECRET > {{ gitea_configuration_path }}/gitea_oauth_jwt_secret'
55
args:
6-
creates: '{{ gitea_configuraion_path }}/gitea_oauth_jwt_secret'
6+
creates: '{{ gitea_configuration_path }}/gitea_oauth_jwt_secret'
77
when: gitea_oauth2_jwt_secret | length == 0
88

99
- name: Read OAuth2 JWT_SECRET from file
1010
become: true
1111
ansible.builtin.slurp:
12-
src: '{{ gitea_configuraion_path }}/gitea_oauth_jwt_secret'
12+
src: '{{ gitea_configuration_path }}/gitea_oauth_jwt_secret'
1313
register: oauth_jwt_secret
1414
when: gitea_oauth2_jwt_secret | length == 0
1515

@@ -20,15 +20,15 @@
2020

2121
- name: Generate LFS JWT_SECRET if not provided
2222
become: true
23-
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret JWT_SECRET > {{ gitea_configuraion_path }}/gitea_lfs_jwt_secret'
23+
ansible.builtin.shell: 'umask 077; {{ gitea_full_executable_path }} generate secret JWT_SECRET > {{ gitea_configuration_path }}/gitea_lfs_jwt_secret'
2424
args:
25-
creates: '{{ gitea_configuraion_path }}/gitea_lfs_jwt_secret'
25+
creates: '{{ gitea_configuration_path }}/gitea_lfs_jwt_secret'
2626
when: gitea_lfs_jwt_secret | length == 0
2727

2828
- name: Read LFS JWT_SECRET from file
2929
become: true
3030
ansible.builtin.slurp:
31-
src: '{{ gitea_configuraion_path }}/gitea_lfs_jwt_secret'
31+
src: '{{ gitea_configuration_path }}/gitea_lfs_jwt_secret'
3232
register: lfs_jwt_secret
3333
when: gitea_lfs_jwt_secret | length == 0
3434

templates/gitea.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User={{ gitea_user }}
77
Group={{ gitea_group }}
8-
ExecStart={{ gitea_full_executable_path }} web --config {{ gitea_configuraion_path }}/gitea.ini --custom-path {{ gitea_custom }}/
8+
ExecStart={{ gitea_full_executable_path }} web --config {{ gitea_configuration_path }}/gitea.ini --custom-path {{ gitea_custom }}/
99
Restart=on-failure
1010
WorkingDirectory={{ gitea_home }}
1111
{% if gitea_systemd_cap_net_bind_service %}

0 commit comments

Comments
 (0)