Update
This commit is contained in:
		@@ -11,8 +11,9 @@ ARG \
 | 
				
			|||||||
RUN apk add --no-cache git docker-cli python3 py3-pip && \
 | 
					RUN apk add --no-cache git docker-cli python3 py3-pip && \
 | 
				
			||||||
    curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
 | 
					    curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install Ansible via pip
 | 
					# Create a directory for the virtual environment and install Ansible inside it
 | 
				
			||||||
RUN pip3 install --no-cache-dir ansible
 | 
					RUN python3 -m venv /opt/ansible-venv && \
 | 
				
			||||||
 | 
					    /opt/ansible-venv/bin/pip install --no-cache-dir ansible
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Optional: Additional steps for SSH/GitHub authentication or configuration
 | 
					# Optional: Additional steps for SSH/GitHub authentication or configuration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,8 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Activate the Ansible virtual environment
 | 
				
			||||||
 | 
					source /opt/ansible-venv/bin/activate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Load configuration from Home Assistant
 | 
					# Load configuration from Home Assistant
 | 
				
			||||||
GITEA_URL=$(bashio::config 'gitea_url')
 | 
					GITEA_URL=$(bashio::config 'gitea_url')
 | 
				
			||||||
GITEA_TOKEN=$(bashio::config 'gitea_token')
 | 
					GITEA_TOKEN=$(bashio::config 'gitea_token')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user