mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Verify role for Ubuntu 20.04
This commit is contained in:
		@@ -4,6 +4,20 @@ dependency:
 | 
			
		||||
driver:
 | 
			
		||||
  name: docker
 | 
			
		||||
platforms:
 | 
			
		||||
  - name: ubuntu_focal
 | 
			
		||||
    image: jrei/systemd-ubuntu:20.04
 | 
			
		||||
    privileged: true
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
 | 
			
		||||
    tmpfs:
 | 
			
		||||
      - /tmp
 | 
			
		||||
      - /run
 | 
			
		||||
      - /run/lock
 | 
			
		||||
    override_command: False
 | 
			
		||||
  # ubuntu 18.04 bionic works except that
 | 
			
		||||
  #   the default redis configuration expects IPv6 which is not enabled in docker by default
 | 
			
		||||
  #   the default Python environment is configured for ASCII instead of UTF-8
 | 
			
		||||
  # ubuntu 16.04 xenial only has Python 3.5 which is EOL and breaks multiple dependencies
 | 
			
		||||
  - name: debian_buster
 | 
			
		||||
    image: jrei/systemd-debian:10
 | 
			
		||||
    privileged: true
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
---
 | 
			
		||||
- name: verify operating system
 | 
			
		||||
  fail:
 | 
			
		||||
    msg: Sorry, only Debian supported at the moment.
 | 
			
		||||
  when: ansible_distribution != 'Debian'
 | 
			
		||||
    msg: Sorry, only Debian and Ubuntu supported at the moment.
 | 
			
		||||
  when: not(ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu')
 | 
			
		||||
 | 
			
		||||
- name: install base dependencies
 | 
			
		||||
  apt:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user