mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-30 18:31:28 +01:00 
			
		
		
		
	Update to 2022-04-05 18:00
This commit is contained in:
		| @@ -58,6 +58,7 @@ | |||||||
|       args: |       args: | ||||||
|         stdin: "{{ rand_pass_new }}" |         stdin: "{{ rand_pass_new }}" | ||||||
|       register: rand_pass_enc |       register: rand_pass_enc | ||||||
|  |       no_log: True | ||||||
|     - copy: content={{ rand_pass_enc.stdout | trim }} dest={{ pass_file }}.aes256{% if pass_openssl_pbkdf2.rc == 0 %}-pbkdf2{% endif %} mode=600 |     - copy: content={{ rand_pass_enc.stdout | trim }} dest={{ pass_file }}.aes256{% if pass_openssl_pbkdf2.rc == 0 %}-pbkdf2{% endif %} mode=600 | ||||||
|  |  | ||||||
| # New pass generation but with encryption disabled, or the global rand_pass_encryption_key not defined | # New pass generation but with encryption disabled, or the global rand_pass_encryption_key not defined | ||||||
| @@ -90,6 +91,7 @@ | |||||||
|         stdin: "{{ rand_pass_enc_pbkdf2.content | b64decode | trim }}" |         stdin: "{{ rand_pass_enc_pbkdf2.content | b64decode | trim }}" | ||||||
|       register: rand_pass_dec_pbkdf2 |       register: rand_pass_dec_pbkdf2 | ||||||
|       changed_when: False |       changed_when: False | ||||||
|  |       no_log: True | ||||||
|  |  | ||||||
|     - set_fact: rand_pass_dec_pbkdf2={{ rand_pass_dec_pbkdf2.stdout | trim }} |     - set_fact: rand_pass_dec_pbkdf2={{ rand_pass_dec_pbkdf2.stdout | trim }} | ||||||
|  |  | ||||||
| @@ -112,6 +114,7 @@ | |||||||
|         stdin: "{{ rand_pass_enc.content | b64decode | trim }}" |         stdin: "{{ rand_pass_enc.content | b64decode | trim }}" | ||||||
|       register: rand_pass_dec |       register: rand_pass_dec | ||||||
|       changed_when: False |       changed_when: False | ||||||
|  |       no_log: True | ||||||
|  |  | ||||||
|     - set_fact: rand_pass_dec={{ rand_pass_dec.stdout }} |     - set_fact: rand_pass_dec={{ rand_pass_dec.stdout }} | ||||||
|  |  | ||||||
| @@ -136,6 +139,7 @@ | |||||||
|       args: |       args: | ||||||
|         stdin: "{{ rand_pass_clear }}" |         stdin: "{{ rand_pass_clear }}" | ||||||
|       register: rand_pass_reenc |       register: rand_pass_reenc | ||||||
|  |       no_log: True | ||||||
|  |  | ||||||
|     - name: Store the re encrypted password |     - name: Store the re encrypted password | ||||||
|       copy: content={{ rand_pass_reenc.stdout | trim }} dest={{ pass_file }}.aes256{% if pass_openssl_pbkdf2.rc == 0 %}-pbkdf2{% endif %} mode=600 |       copy: content={{ rand_pass_reenc.stdout | trim }} dest={{ pass_file }}.aes256{% if pass_openssl_pbkdf2.rc == 0 %}-pbkdf2{% endif %} mode=600 | ||||||
| @@ -157,6 +161,7 @@ | |||||||
|       args: |       args: | ||||||
|         stdin: "{{ rand_pass_dec }}" |         stdin: "{{ rand_pass_dec }}" | ||||||
|       register: rand_pass_reenc |       register: rand_pass_reenc | ||||||
|  |       no_log: True | ||||||
|  |  | ||||||
|     - name: Store the re encrypted password with PBKDF2 |     - name: Store the re encrypted password with PBKDF2 | ||||||
|       copy: content={{ rand_pass_reenc.stdout | trim }} dest={{ pass_file }}.aes256-pbkdf2 mode=600 |       copy: content={{ rand_pass_reenc.stdout | trim }} dest={{ pass_file }}.aes256-pbkdf2 mode=600 | ||||||
|   | |||||||
| @@ -5,12 +5,12 @@ | |||||||
| # You can set it to a number or a simple string (no special chars) | # You can set it to a number or a simple string (no special chars) | ||||||
| kimai_id: 1 | kimai_id: 1 | ||||||
| # Kimai version to deploy | # Kimai version to deploy | ||||||
| kimai_version: 1.19.1 | kimai_version: 1.19.2 | ||||||
|  |  | ||||||
| # URL of the archive | # URL of the archive | ||||||
| kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz | kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz | ||||||
| # Expected sha256 of the archive | # Expected sha256 of the archive | ||||||
| kimai_archive_sha256: c25953df2deb9896bb1b7eee0a675ce22110914690f55d2b93fcf8d73bc09130 | kimai_archive_sha256: 248fe449b387675389b720ad59455ed3ea95a63b831dd3ff15c248eba54db9d7 | ||||||
|  |  | ||||||
| # Directory where kimai will be installed | # Directory where kimai will be installed | ||||||
| kimai_root_dir: /opt/kimai_{{ kimai_id }} | kimai_root_dir: /opt/kimai_{{ kimai_id }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud