Rename docker-compose.yml to compose.yaml and service.env to .env
This commit is contained in:
		
							parent
							
								
									7821b6b33b
								
							
						
					
					
						commit
						214723546a
					
				
					 20 changed files with 36 additions and 36 deletions
				
			
		|  | @ -9,8 +9,8 @@ | |||
|   block: | ||||
|     - name: Import tasks to create service directory | ||||
|       ansible.builtin.import_tasks: tasks/steps/create-service-directory.yml | ||||
|     - name: Import tasks to template docker compose file | ||||
|       ansible.builtin.import_tasks: tasks/steps/template-docker-compose.yml | ||||
|     - name: Import tasks to template compose file | ||||
|       ansible.builtin.import_tasks: tasks/steps/template-compose.yml | ||||
| 
 | ||||
|     - name: Copy the config | ||||
|       ansible.builtin.copy: | ||||
|  | @ -18,16 +18,16 @@ | |||
|         dest: "{{ (service_path, 'config.yml') | path_join }}" | ||||
|         mode: "0755" | ||||
| 
 | ||||
|     - name: Check if service.env already exists | ||||
|     - name: Check if .env already exists | ||||
|       ansible.builtin.stat: | ||||
|         path: "{{ (service_path, 'service.env') | path_join }}" | ||||
|         path: "{{ (service_path, '.env') | path_join }}" | ||||
|       register: env_file | ||||
| 
 | ||||
|     - name: Import tasks to prompt for the registration token | ||||
|       ansible.builtin.import_tasks: tasks/prompt-registration-token.yml | ||||
|       when: not env_file.stat.exists or force_forgejo_runner_registration | default(False) | ||||
| 
 | ||||
|     - name: Import tasks create a service.env file | ||||
|     - name: Import tasks create a .env file | ||||
|       ansible.builtin.import_tasks: tasks/steps/template-service-env.yml | ||||
|     - name: Import start tasks for common service | ||||
|       ansible.builtin.import_tasks: tasks/start-common-service.yml | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue