mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 12:18:17 +00:00 
			
		
		
		
	Finished peertube implementation
This commit is contained in:
		
							
								
								
									
										6
									
								
								roles/docker-peertube/Setup.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								roles/docker-peertube/Setup.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
# Setup Peertube
 | 
			
		||||
 | 
			
		||||
## Change Root Administrator Password
 | 
			
		||||
```bash
 | 
			
		||||
docker exec -it -u peertube peertube npm run reset-password -- -u root
 | 
			
		||||
```
 | 
			
		||||
							
								
								
									
										3
									
								
								roles/docker-peertube/Todo.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								roles/docker-peertube/Todo.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
# Todos
 | 
			
		||||
- [DKIM activate](https://docs.joinpeertube.org/install/docker)
 | 
			
		||||
- The plugin needs to be manually activated in the admin interface. would be nice if this is automatized as well
 | 
			
		||||
@@ -7,23 +7,6 @@
 | 
			
		||||
    docker exec {{ container_name }} \
 | 
			
		||||
    npm run plugin:install -- --npm-name {{oidc_plugin}}
 | 
			
		||||
 | 
			
		||||
#- name: "Insert the settings column of the auth-openid-connect plugin"
 | 
			
		||||
#  community.postgresql.postgresql_query:
 | 
			
		||||
#    db: "{{ database_name }}"
 | 
			
		||||
#    login_user: "{{ database_username }}"
 | 
			
		||||
#    login_password: "{{ database_password }}"
 | 
			
		||||
#    login_host: "127.0.0.1"
 | 
			
		||||
#    login_port: "{{ database_port }}"
 | 
			
		||||
#    query: |
 | 
			
		||||
#      INSERT INTO public.plugin (name, settings, enabled)
 | 
			
		||||
#      VALUES (
 | 
			
		||||
#        'auth-openid-connect',
 | 
			
		||||
#        '{{ oidc_settings | to_json }}',
 | 
			
		||||
#        TRUE
 | 
			
		||||
#      );
 | 
			
		||||
#  register: result_insert
 | 
			
		||||
#  ignore_errors: yes
 | 
			
		||||
 | 
			
		||||
- name: "Update the settings column of the auth-openid-connect plugin"
 | 
			
		||||
  community.postgresql.postgresql_query:
 | 
			
		||||
    db: "{{ database_name }}"
 | 
			
		||||
@@ -34,6 +17,6 @@
 | 
			
		||||
    query: |
 | 
			
		||||
      UPDATE public.plugin
 | 
			
		||||
      SET settings = '{{ oidc_settings | to_json }}',
 | 
			
		||||
      enabled = TRUE
 | 
			
		||||
      enabled = TRUE,
 | 
			
		||||
      uninstalled = False,
 | 
			
		||||
      WHERE name = 'auth-openid-connect';
 | 
			
		||||
  #when: result_insert.rc != 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user