Move minio to node002 (retire node003)
This commit is contained in:
		
							parent
							
								
									975bea4553
								
							
						
					
					
						commit
						b46d7a15e7
					
				
					 4 changed files with 3 additions and 29 deletions
				
			
		| 
						 | 
				
			
			@ -32,6 +32,7 @@ all:
 | 
			
		|||
          - influxdb_data
 | 
			
		||||
          - jellyfin_config
 | 
			
		||||
          #- jellyfin_media # TODO
 | 
			
		||||
          - minio_data
 | 
			
		||||
          - ntfy_data
 | 
			
		||||
          - reitanlage-oranienburg_data
 | 
			
		||||
          - synapse_media_store
 | 
			
		||||
| 
						 | 
				
			
			@ -39,16 +40,3 @@ all:
 | 
			
		|||
          - teamspeak-fallback-data
 | 
			
		||||
          - uptime-kuma_data
 | 
			
		||||
          - vikunja_data
 | 
			
		||||
 | 
			
		||||
    node003:
 | 
			
		||||
      ansible_host: node003.vpn.serguzim.net
 | 
			
		||||
      ansible_port: "{{ vault_node003.ansible_port }}"
 | 
			
		||||
      ansible_user: "{{ vault_node003.ansible_user }}"
 | 
			
		||||
      host_vpn:
 | 
			
		||||
        domain: node003.vpn.serguzim.net
 | 
			
		||||
        ip: 100.64.0.3
 | 
			
		||||
      host_backup:
 | 
			
		||||
        hc_uid: "{{ vault_node003.backup.hc_uid }}"
 | 
			
		||||
        uptime_kuma_token: "{{ vault_node003.backup.uptime_kuma_token }}"
 | 
			
		||||
        volumes:
 | 
			
		||||
          - minio_data
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,8 @@
 | 
			
		|||
      tags: [influxdb, sensors, monitoring]
 | 
			
		||||
    - role: jellyfin
 | 
			
		||||
      tags: [jellyfin, media]
 | 
			
		||||
    - role: minio
 | 
			
		||||
      tags: [minio, storage]
 | 
			
		||||
    - role: ntfy
 | 
			
		||||
      tags: [ntfy, notifications, push]
 | 
			
		||||
    - role: reitanlage_oranienburg
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										13
									
								
								node003.yml
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								node003.yml
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,13 +0,0 @@
 | 
			
		|||
---
 | 
			
		||||
- name: Run roles for node003
 | 
			
		||||
  hosts: node003
 | 
			
		||||
  roles:
 | 
			
		||||
    - role: common
 | 
			
		||||
      tags: [always]
 | 
			
		||||
    - role: backup
 | 
			
		||||
      tags: [backup]
 | 
			
		||||
    - role: caddy
 | 
			
		||||
      tags: [caddy, reverse-proxy, webserver]
 | 
			
		||||
 | 
			
		||||
    - role: minio
 | 
			
		||||
      tags: [minio, storage]
 | 
			
		||||
| 
						 | 
				
			
			@ -4,6 +4,3 @@
 | 
			
		|||
 | 
			
		||||
- name: Run playbook for node002
 | 
			
		||||
  import_playbook: node002.yml
 | 
			
		||||
 | 
			
		||||
- name: Run playbook for node003
 | 
			
		||||
  import_playbook: node003.yml
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue