chore: ignore lint in changed mode
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
d2113889d0
commit
6709411471
|
@ -28,3 +28,4 @@
|
||||||
when: drone_agent_config is defined and drone_agent_config.changed
|
when: drone_agent_config is defined and drone_agent_config.changed
|
||||||
tags:
|
tags:
|
||||||
- drone-agent
|
- drone-agent
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
tags:
|
tags:
|
||||||
- postgres
|
- postgres
|
||||||
- database
|
- database
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
- name: Creates mysql directory
|
- name: Creates mysql directory
|
||||||
file:
|
file:
|
||||||
|
@ -61,3 +62,4 @@
|
||||||
tags:
|
tags:
|
||||||
- mysql
|
- mysql
|
||||||
- database
|
- database
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
|
@ -48,11 +48,12 @@
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ drone_sqlite_dir }}:/data"
|
- "{{ drone_sqlite_dir }}:/data"
|
||||||
env_file: /etc/drone/drone-server.env
|
env_file: /etc/drone/drone-server.env
|
||||||
when: ((drone_server_config is defined and drone_server_config.changed) or
|
when: (drone_server_config is defined and drone_server_config.changed) or
|
||||||
(drone_sqlite_folder is defined and drone_sqlite_folder.changed)) and
|
(drone_sqlite_folder is defined and drone_sqlite_folder.changed) or
|
||||||
drone_database_driver == "sqlite"
|
drone_database_driver == "sqlite"
|
||||||
tags:
|
tags:
|
||||||
- drone-server
|
- drone-server
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
- name: run drone server with postgres or mysql database
|
- name: run drone server with postgres or mysql database
|
||||||
docker_container:
|
docker_container:
|
||||||
|
@ -67,8 +68,9 @@
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ drone_sqlite_dir }}:/data"
|
- "{{ drone_sqlite_dir }}:/data"
|
||||||
env_file: /etc/drone/drone-server.env
|
env_file: /etc/drone/drone-server.env
|
||||||
when: ((drone_server_config is defined and drone_server_config.changed) or
|
when: (drone_server_config is defined and drone_server_config.changed) or
|
||||||
(drone_postgres_data_dir is defined and drone_postgres_data_dir.changed)) or
|
(drone_postgres_data_dir is defined and drone_postgres_data_dir.changed) or
|
||||||
drone_database_driver != "sqlite"
|
drone_database_driver != "sqlite"
|
||||||
tags:
|
tags:
|
||||||
- drone-server
|
- drone-server
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
Loading…
Reference in New Issue
Block a user