mirror of
				https://github.com/borgbase/ansible-role-borgbackup.git
				synced 2025-10-25 11:24:41 +02:00 
			
		
		
		
	Fix linting messages
- fix truthy values to proper booleans - fix too long lines: wrapped - fix indentation - fix amount of preceding whitespace - fix argument_spec syntax: borg_retention_policy as type dict with specific options
This commit is contained in:
		
							parent
							
								
									320975170d
								
							
						
					
					
						commit
						e2f8e75155
					
				| @ -115,6 +115,9 @@ argument_specs: | |||||||
|         type: bool |         type: bool | ||||||
|         description: Bypass Borg error about a repository that has been moved. |         description: Bypass Borg error about a repository that has been moved. | ||||||
|       borg_retention_policy: |       borg_retention_policy: | ||||||
|  |         type: dict | ||||||
|  |         description: Define the pruning policy | ||||||
|  |         options: | ||||||
|           keep_secondly: |           keep_secondly: | ||||||
|             type: int |             type: int | ||||||
|             required: false |             required: false | ||||||
|  | |||||||
| @ -26,6 +26,6 @@ | |||||||
|     user: "{{ borg_user }}" |     user: "{{ borg_user }}" | ||||||
|     cron_file: "{{ borgmatic_timer_cron_name }}" |     cron_file: "{{ borgmatic_timer_cron_name }}" | ||||||
|     name: PATH |     name: PATH | ||||||
|     env: yes |     env: true | ||||||
|     value: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |     value: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | ||||||
| ... | ... | ||||||
|  | |||||||
| @ -61,5 +61,7 @@ | |||||||
|         - name: Show hints |         - name: Show hints | ||||||
|           when: "'backup_init_repo' not in ansible_run_tags" |           when: "'backup_init_repo' not in ansible_run_tags" | ||||||
|           ansible.builtin.debug: |           ansible.builtin.debug: | ||||||
|             msg: "Attention: Since the repo was not initialized automatically, the systemd service (borgmatic.service) and the timer (borgmatic.timer) are not activated." |             msg: >- | ||||||
|  |               Attention: Since the repo was not initialized automatically, | ||||||
|  |               the systemd service (borgmatic.service) and the timer (borgmatic.timer) are not activated. | ||||||
| ... | ... | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user