Skip to content

Commit e192c85

Browse files
Bump ansible-lint from 6.11.0 to 6.14.2 in /.github/workflows/requirements (#315)
1 parent dc34dbc commit e192c85

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ansible-core==2.14.3
22
Jinja2==3.1.2
3-
ansible-lint==6.11.0
3+
ansible-lint==6.14.2
44
yamllint==1.29.0
55
molecule[docker]==4.0.4
66
docker==6.0.1

molecule/cleanup_module/prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
ansible.builtin.file:
1414
path: /etc/nginx/conf.d/mock.conf
1515
state: touch
16-
mode: 0644
16+
mode: "0644"

molecule/plus/prepare.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
content: "{{ lookup('env', 'NGINX_CRT') | b64decode }}"
99
dest: ../common/files/license/nginx-repo.crt
1010
force: false
11-
mode: 0444
11+
mode: "0444"
1212

1313
- name: Create ephemeral license key file from b64 decoded env var # noqa template-instead-of-copy
1414
ansible.builtin.copy:
1515
content: "{{ lookup('env', 'NGINX_KEY') | b64decode }}"
1616
dest: ../common/files/license/nginx-repo.key
1717
force: false
18-
mode: 0444
18+
mode: "0444"
1919

2020
- name: Install NGINX Plus
2121
hosts: all

tasks/config/template-config.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ansible.builtin.file:
44
path: "{{ item['deployment_location'] | default('/usr/share/nginx/html') | dirname }}"
55
state: directory
6-
mode: 0755
6+
mode: "0755"
77
loop: "{{ nginx_config_html_demo_template }}"
88
when: nginx_config_html_demo_template_enable | bool
99

@@ -12,7 +12,7 @@
1212
src: "{{ item['template_file'] | default('www/index.html.j2') }}"
1313
dest: "{{ item['deployment_location'] | default('/usr/share/nginx/html/index.html') }}"
1414
backup: "{{ item['backup'] | default(true) }}"
15-
mode: 0644
15+
mode: "0644"
1616
loop: "{{ nginx_config_html_demo_template }}"
1717
when: nginx_config_html_demo_template_enable | bool
1818

@@ -31,15 +31,15 @@
3131
ansible.builtin.file:
3232
path: "{{ nginx_config_main_template['deployment_location'] | default('/etc/nginx') | dirname }}"
3333
state: directory
34-
mode: 0755
34+
mode: "0755"
3535
when: nginx_config_main_template_enable | bool
3636

3737
- name: Dynamically generate NGINX main configuration file
3838
ansible.builtin.template:
3939
src: "{{ nginx_config_main_template['template_file'] | default('nginx.conf.j2') }}"
4040
dest: "{{ nginx_config_main_template['deployment_location'] | default('/etc/nginx/nginx.conf') }}"
4141
backup: "{{ nginx_config_main_template['backup'] | default(true) }}"
42-
mode: 0644
42+
mode: "0644"
4343
when: nginx_config_main_template_enable | bool
4444
notify: (Handler - NGINX Config) Run NGINX
4545

@@ -48,7 +48,7 @@
4848
path: "{{ item['config']['core']['client_body_temp_path']['path'] }}"
4949
state: directory
5050
owner: "{{ nginx_config_main_template['config']['main']['user']['username'] | default('nginx') }}"
51-
mode: 0755
51+
mode: "0755"
5252
loop: "{{ nginx_config_http_template }}"
5353
loop_control:
5454
label: "{{ item['config']['core']['client_body_temp_path']['path'] | default('config[''core''][''client_body_temp_path''][''path''] undefined') }}" # noqa jinja[spacing]
@@ -61,7 +61,7 @@
6161
path: "{{ item[1]['path'] }}"
6262
state: directory
6363
owner: "{{ nginx_config_main_template['config']['main']['user']['username'] | default('nginx') }}"
64-
mode: 0755
64+
mode: "0755"
6565
loop: "{{ nginx_config_http_template | subelements(['config', 'proxy', 'cache_path'], skip_missing=True) }}"
6666
loop_control:
6767
label: "{{ item[1]['path'] | default('config[''proxy''][''cache_path''][''path''] undefined') }}" # noqa jinja[spacing]
@@ -71,7 +71,7 @@
7171
ansible.builtin.file:
7272
path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
7373
state: directory
74-
mode: 0755
74+
mode: "0755"
7575
loop: "{{ nginx_config_http_template }}"
7676
loop_control:
7777
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
@@ -82,7 +82,7 @@
8282
src: "{{ item['template_file'] | default('http/default.conf.j2') }}"
8383
dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/default.conf') }}"
8484
backup: "{{ item['backup'] | default(true) }}"
85-
mode: 0644
85+
mode: "0644"
8686
loop: "{{ nginx_config_http_template }}"
8787
loop_control:
8888
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/default.conf') }}"
@@ -94,7 +94,7 @@
9494
src: "{{ nginx_config_status_template_file | default('http/status.conf.j2') }}"
9595
dest: "{{ nginx_config_status_file_location | default('/etc/nginx/conf.d/status.conf') }}"
9696
backup: "{{ nginx_config_status_backup | default(true) }}"
97-
mode: 0644
97+
mode: "0644"
9898
notify: (Handler - NGINX Config) Run NGINX
9999
when: nginx_config_status_enable | bool
100100

@@ -103,15 +103,15 @@
103103
src: "{{ nginx_config_rest_api_template_file | default('http/api.conf.j2') }}"
104104
dest: "{{ nginx_config_rest_api_file_location | default('/etc/nginx/conf.d/api.conf') }}"
105105
backup: "{{ nginx_config_rest_api_backup | default(true) }}"
106-
mode: 0644
106+
mode: "0644"
107107
notify: (Handler - NGINX Config) Run NGINX
108108
when: nginx_config_rest_api_enable | bool
109109

110110
- name: Ensure NGINX stream directory exists
111111
ansible.builtin.file:
112112
path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
113113
state: directory
114-
mode: 0755
114+
mode: "0755"
115115
loop: "{{ nginx_config_stream_template }}"
116116
loop_control:
117117
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
@@ -122,7 +122,7 @@
122122
src: "{{ item['template_file'] | default('stream/default.conf.j2') }}"
123123
dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}"
124124
backup: true
125-
mode: 0644
125+
mode: "0644"
126126
loop: "{{ nginx_config_stream_template }}"
127127
loop_control:
128128
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}"

tasks/config/upload-config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
ansible.builtin.file:
77
path: "{{ item['dest'] | dirname if item['dest'].endswith('.conf') else item['dest'] | default('/etc/nginx') }}"
88
state: directory
9-
mode: 0755
9+
mode: "0755"
1010
loop: "{{ nginx_config_upload }}"
1111

1212
- name: Upload NGINX config snippet files
1313
ansible.builtin.copy:
1414
src: "{{ item['src'] }}"
1515
dest: "{{ item['dest'] | default('/etc/nginx/') }}"
1616
backup: "{{ item['backup'] | default(true) }}"
17-
mode: 0644
17+
mode: "0644"
1818
loop: "{{ nginx_config_upload }}"
1919
notify: (Handler - NGINX Config) Run NGINX
2020

@@ -25,15 +25,15 @@
2525
ansible.builtin.file:
2626
path: "{{ item['dest'] | dirname if item['dest'].endswith('.html') else item['dest'] | default('/usr/share/nginx/html') }}"
2727
state: directory
28-
mode: 0755
28+
mode: "0755"
2929
loop: "{{ nginx_config_upload_html }}"
3030

3131
- name: Upload HTML files
3232
ansible.builtin.copy:
3333
src: "{{ item['src'] }}"
3434
dest: "{{ item['dest'] | default('/usr/share/nginx/html') }}"
3535
backup: "{{ item['backup'] | default(true) }}"
36-
mode: 0644
36+
mode: "0644"
3737
loop: "{{ nginx_config_upload_html }}"
3838
notify: (Handler - NGINX Config) Run NGINX
3939

@@ -44,22 +44,22 @@
4444
ansible.builtin.file:
4545
path: "{{ item['dest'] }}"
4646
state: directory
47-
mode: 0755
47+
mode: "0755"
4848
loop: "{{ nginx_config_upload_ssl_crt + nginx_config_upload_ssl_key }}"
4949

5050
- name: Upload NGINX SSL certificates
5151
ansible.builtin.copy:
5252
src: "{{ item['src'] }}"
5353
dest: "{{ item['dest'] | default('/etc/ssl/certs') }}"
5454
backup: "{{ item['backup'] | default(true) }}"
55-
mode: 0640
55+
mode: "0640"
5656
loop: "{{ nginx_config_upload_ssl_crt }}"
5757

5858
- name: Upload NGINX SSL keys
5959
ansible.builtin.copy:
6060
src: "{{ item['src'] }}"
6161
dest: "{{ item['dest'] | default('/etc/ssl/private') }}"
6262
backup: "{{ item['backup'] | default(true) }}"
63-
mode: 0640
63+
mode: "0640"
6464
loop: "{{ nginx_config_upload_ssl_key }}"
6565
no_log: true

0 commit comments

Comments
 (0)