mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-30 18:31:28 +01:00 
			
		
		
		
	Update to 2022-08-29 21:00
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| --- | --- | ||||||
|  |  | ||||||
| # Penpot version to deploy | # Penpot version to deploy | ||||||
| penpot_version: 1.14.0-beta | penpot_version: 1.15.0-beta | ||||||
| # SHould ansible manage upgrades. If False, only the initial install will be done | # SHould ansible manage upgrades. If False, only the initial install will be done | ||||||
| penpot_manage_upgrade: True | penpot_manage_upgrade: True | ||||||
|  |  | ||||||
| @@ -10,11 +10,11 @@ penpot_root_dir: /opt/penpot | |||||||
| # URL of the archive | # URL of the archive | ||||||
| penpot_archive_url: https://github.com/penpot/penpot/archive/refs/tags/{{ penpot_version }}.tar.gz | penpot_archive_url: https://github.com/penpot/penpot/archive/refs/tags/{{ penpot_version }}.tar.gz | ||||||
| # Expected sha256 of the archive | # Expected sha256 of the archive | ||||||
| penpot_archive_sha256: 734a32a7e1b40e7a8c07bc2f299c38a82efa59551027d7b1ca0dc5400c3e002d | penpot_archive_sha256: ae4266c7c91e093aeb3c00f42294ed364bfdd1d0a2f2ba69721c1416475340de | ||||||
| # User under which penpot will run. Will be created | # User under which penpot will run. Will be created | ||||||
| penpot_user: penpot | penpot_user: penpot | ||||||
|  |  | ||||||
| # Public URL where penpot will be avaoilable to users | # Public URL where penpot will be available to users | ||||||
| penpot_public_url: https://{{ inventory_hostname }} | penpot_public_url: https://{{ inventory_hostname }} | ||||||
|  |  | ||||||
| # Ports used by penpot components | # Ports used by penpot components | ||||||
| @@ -68,7 +68,6 @@ penpot_ldap_search_filter: "{{ ad_auth | ternary('(&(sAMAccountName=:username)(o | |||||||
| penpot_ldap_attr_username: "{{ ad_auth | default(False) | ternary('userPrincipalName', 'uid') }}" | penpot_ldap_attr_username: "{{ ad_auth | default(False) | ternary('userPrincipalName', 'uid') }}" | ||||||
| penpot_ldap_attr_email: mail | penpot_ldap_attr_email: mail | ||||||
| penpot_ldap_attr_fullname: cn | penpot_ldap_attr_fullname: cn | ||||||
| penpot_ldap_attr_photo: jpegPhoto |  | ||||||
|  |  | ||||||
| # Email settings | # Email settings | ||||||
| penpot_email_from: no-reply@{{ ansible_domain }} | penpot_email_from: no-reply@{{ ansible_domain }} | ||||||
|   | |||||||
| @@ -27,3 +27,7 @@ | |||||||
|     - set_fact: penpot_db_pass={{ rand_pass }} |     - set_fact: penpot_db_pass={{ rand_pass }} | ||||||
|   when: penpot_db_pass is not defined |   when: penpot_db_pass is not defined | ||||||
|   tags: penpot |   tags: penpot | ||||||
|  |  | ||||||
|  | - name: Build flag list | ||||||
|  |   set_fact: penpot_flags={{ [ penpot_allow_user_registration | ternary('enable', 'disable') ~ '-registration', penpot_ldap_auth | ternary('enable', 'disable') ~ '-login-with-ldap', penpot_oidc_auth | ternary('enable','disable') ~ '-login-with-oidc' ] }} | ||||||
|  |   tags: penpot | ||||||
|   | |||||||
| @@ -9,4 +9,4 @@ var penpotLoginWithLDAP = true; | |||||||
| {% endif %} | {% endif %} | ||||||
| var penpotRegistrationEnabled = {{ penpot_allow_user_registration | ternary('true', 'false') }}; | var penpotRegistrationEnabled = {{ penpot_allow_user_registration | ternary('true', 'false') }}; | ||||||
| var penpotAnalyticsEnabled = false; | var penpotAnalyticsEnabled = false; | ||||||
| var penpotFlags = "{{ penpot_allow_user_registration | ternary('enable-registration', '') }}"; | var penpotFlags = "{{ penpot_flags | join(' ') }}"; | ||||||
|   | |||||||
| @@ -41,9 +41,8 @@ PENPOT_SMTP_PASSWORD={{ penpot_smtp_pass }} | |||||||
| PENPOT_SMTP_TLS={{ penpot_smtp_tls | ternary('true','false') }} | PENPOT_SMTP_TLS={{ penpot_smtp_tls | ternary('true','false') }} | ||||||
| PENPOT_SMTP_SSL={{ penpot_smtp_ssl | ternary('true','false') }} | PENPOT_SMTP_SSL={{ penpot_smtp_ssl | ternary('true','false') }} | ||||||
|  |  | ||||||
| # Feature flags. Right now they are only affect frontend, but in | # Feature flags (registration, auth methods etc.) | ||||||
| # future release they will affect to both backend and frontend. | PENPOT_FLAGS="{{ penpot_flags | join(' ') }}" | ||||||
| PENPOT_FLAGS="{{ penpot_allow_user_registration | ternary('enable-registration', '') }}" |  | ||||||
|  |  | ||||||
| # Comma separated list of allowed domains to register. Empty to allow all. | # Comma separated list of allowed domains to register. Empty to allow all. | ||||||
| PENPOT_REGISTRATION_DOMAIN_WHITELIST="{{ penpot_user_registration_allowed_domains | join(',') }}" | PENPOT_REGISTRATION_DOMAIN_WHITELIST="{{ penpot_user_registration_allowed_domains | join(',') }}" | ||||||
| @@ -73,6 +72,4 @@ PENPOT_LDAP_BIND_PASSWORD={{ penpot_ldap_bind_pass }} | |||||||
| PENPOT_LDAP_ATTRS_USERNAME={{ penpot_ldap_attr_username }} | PENPOT_LDAP_ATTRS_USERNAME={{ penpot_ldap_attr_username }} | ||||||
| PENPOT_LDAP_ATTRS_EMAIL={{ penpot_ldap_attr_email }} | PENPOT_LDAP_ATTRS_EMAIL={{ penpot_ldap_attr_email }} | ||||||
| PENPOT_LDAP_ATTRS_FULLNAME={{ penpot_ldap_attr_fullname }} | PENPOT_LDAP_ATTRS_FULLNAME={{ penpot_ldap_attr_fullname }} | ||||||
| PENPOT_LDAP_ATTRS_PHOTO={{ penpot_ldap_attr_photo }} |  | ||||||
| PENPOT_LOGIN_WITH_LDAP=true |  | ||||||
| {% endif %} | {% endif %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud