Compare commits
	
		
			No commits in common. "16c0e5ee98d487a38f8242245957530b8ec7c470" and "c2099e21335d43c5626d9222243df3240760c631" have entirely different histories.
		
	
	
		
			16c0e5ee98
			...
			c2099e2133
		
	
		
@ -1,18 +0,0 @@
 | 
				
			|||||||
---
 | 
					 | 
				
			||||||
- hosts: webhost
 | 
					 | 
				
			||||||
  vars:
 | 
					 | 
				
			||||||
    username: html-deployer
 | 
					 | 
				
			||||||
  remote_user: webadmin
 | 
					 | 
				
			||||||
  tasks:
 | 
					 | 
				
			||||||
    - name: Create user for git actions to deploy html
 | 
					 | 
				
			||||||
      become: true
 | 
					 | 
				
			||||||
      user:
 | 
					 | 
				
			||||||
        name: "{{ username }}"
 | 
					 | 
				
			||||||
        comment: Used for deploying html from Gitea Actions
 | 
					 | 
				
			||||||
        group: nginx
 | 
					 | 
				
			||||||
    - name: Set the authorized keys
 | 
					 | 
				
			||||||
      become: true
 | 
					 | 
				
			||||||
      authorized_key:
 | 
					 | 
				
			||||||
        user: "{{ username }}"
 | 
					 | 
				
			||||||
        state: present
 | 
					 | 
				
			||||||
        key: "{{ lookup('file', '~/.ssh/vultr/html-deployer.pem.pub') }}"
 | 
					 | 
				
			||||||
@ -5,7 +5,7 @@ networks:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
  gitea:
 | 
					  gitea:
 | 
				
			||||||
    image: gitea/gitea:latest-rootless
 | 
					    image: gitea/gitea:latest
 | 
				
			||||||
    container_name: gitea
 | 
					    container_name: gitea
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      - USER_UID=1000
 | 
					      - USER_UID=1000
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user