added other sources for more variety
This commit is contained in:
		@@ -4,9 +4,12 @@
 | 
			
		||||
  # become: true
 | 
			
		||||
 | 
			
		||||
  vars:
 | 
			
		||||
    # mostly fixed
 | 
			
		||||
    repo_dest: /home/remy/eink
 | 
			
		||||
    code_dest: /home/remy/eink/src
 | 
			
		||||
    service_target_dir: /etc/systemd/system/
 | 
			
		||||
    # adapt to taste
 | 
			
		||||
    own_image_percent: 90
 | 
			
		||||
 | 
			
		||||
  tasks:
 | 
			
		||||
    - name: Pull the latest version of the code
 | 
			
		||||
@@ -22,7 +25,7 @@
 | 
			
		||||
          - zlib1g
 | 
			
		||||
        state: present
 | 
			
		||||
      become: true
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    - name: Install from the pipenv-file
 | 
			
		||||
      command: "pipenv install --system --deploy --categories=\"packages prod-packages\""
 | 
			
		||||
      args:
 | 
			
		||||
 
 | 
			
		||||
@@ -6,6 +6,7 @@ Type=oneshot
 | 
			
		||||
User={{ ansible_user }}
 | 
			
		||||
WorkingDirectory={{ code_dest }}
 | 
			
		||||
ExecStart=python main.py
 | 
			
		||||
Environment="OWN_IMAGE_PERCENT={{ own_image_percent }}"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user