Compare commits
	
		
			2 Commits
		
	
	
		
			083f93ec5f
			...
			06b673ec89
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 06b673ec89 | |||
| 84bfeb5c32 | 
							
								
								
									
										4
									
								
								.ansible-lint
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.ansible-lint
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | |||||||
|  | --- | ||||||
|  | 
 | ||||||
|  | offline: true | ||||||
|  | profile: basic | ||||||
| @ -7,7 +7,7 @@ steps: | |||||||
|     image: python:3.10.6 |     image: python:3.10.6 | ||||||
|     commands: |     commands: | ||||||
|       - pip --disable-pip-version-check install ansible-core==2.15.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null |       - pip --disable-pip-version-check install ansible-core==2.15.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null | ||||||
|       - ansible-lint --offline ansible |       - ansible-lint -c .ansible-lint ansible | ||||||
| 
 | 
 | ||||||
| --- | --- | ||||||
| kind: pipeline | kind: pipeline | ||||||
|  | |||||||
| @ -35,7 +35,7 @@ | |||||||
|     # All services that are behind Caddy need to be in this network |     # All services that are behind Caddy need to be in this network | ||||||
|     - name: Create Caddy network |     - name: Create Caddy network | ||||||
|       become: true |       become: true | ||||||
|       docker_network: |       community.docker.docker_network: | ||||||
|         name: caddy-network |         name: caddy-network | ||||||
|         state: present |         state: present | ||||||
|     - name: Upload docker configuration |     - name: Upload docker configuration | ||||||
| @ -107,7 +107,7 @@ | |||||||
|     # that Gitea is reachable before those configurations are deployed. |     # that Gitea is reachable before those configurations are deployed. | ||||||
|     - name: Set up caddy and gitea containers |     - name: Set up caddy and gitea containers | ||||||
|       become: true |       become: true | ||||||
|       docker_compose: |       community.docker.docker_compose: | ||||||
|         project_src: "/etc/pbri/docker/{{ item.name }}" |         project_src: "/etc/pbri/docker/{{ item.name }}" | ||||||
|         state: "{{ item.state }}" |         state: "{{ item.state }}" | ||||||
|         build: true |         build: true | ||||||
| @ -130,7 +130,7 @@ | |||||||
|       delay: 5  # Retry every 5 seconds |       delay: 5  # Retry every 5 seconds | ||||||
|     - name: Set up other containers |     - name: Set up other containers | ||||||
|       become: true |       become: true | ||||||
|       docker_compose: |       community.docker.docker_compose: | ||||||
|         project_src: "/etc/pbri/docker/{{ item.name }}" |         project_src: "/etc/pbri/docker/{{ item.name }}" | ||||||
|         state: "{{ item.state }}" |         state: "{{ item.state }}" | ||||||
|         build: true |         build: true | ||||||
|  | |||||||
| @ -28,7 +28,7 @@ | |||||||
| - name: Retrieve dpkg architecture | - name: Retrieve dpkg architecture | ||||||
|   check_mode: false |   check_mode: false | ||||||
|   ansible.builtin.command: dpkg --print-architecture |   ansible.builtin.command: dpkg --print-architecture | ||||||
|   register: dpkg_architecture |   register: docker_dpkg_architecture | ||||||
|   changed_when: false |   changed_when: false | ||||||
| 
 | 
 | ||||||
| - name: Add Docker apt repository | - name: Add Docker apt repository | ||||||
| @ -36,7 +36,7 @@ | |||||||
|   ansible.builtin.template: |   ansible.builtin.template: | ||||||
|     src: docker.list.j2 |     src: docker.list.j2 | ||||||
|     dest: /etc/apt/sources.list.d/docker.list |     dest: /etc/apt/sources.list.d/docker.list | ||||||
|     mode: 0644 |     mode: "u=rw,g=r,o=r" | ||||||
| 
 | 
 | ||||||
| - name: Install Docker | - name: Install Docker | ||||||
|   become: true |   become: true | ||||||
|  | |||||||
| @ -1 +1 @@ | |||||||
| deb [arch={{ dpkg_architecture.stdout }} signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable | deb [arch={{ docker_dpkg_architecture.stdout }} signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user