Skip to content

Commit f13a760

Browse files
committed
Linter fixes
1 parent 0e107d1 commit f13a760

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

etc/kayobe/ansible/tools/upload-database-backup-s3.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
# This playbook uploads MariaDB backups to an AWS S3 object store.
33
# Can be linked as a post hook for overcloud-database-backup.
44

5-
- hosts: controllers[0]
5+
- name: Upload MariaDB backups to S3
6+
hosts: controllers[0]
67
vars:
78
backup_directory: "/var/lib/docker/volumes/mariadb_backup/_data"
89
kayobe_venv: "{{ virtualenv_path }}/kayobe"
910
tasks:
1011
- name: Ensure AWS S3 module prerequisites are available
11-
pip:
12+
ansible.builtin.pip:
1213
name:
1314
- boto3
1415
- botocore
1516
virtualenv: "{{ kayobe_venv }}"
1617

1718
- name: Build backup file list
18-
find:
19+
ansible.builtin.find:
1920
paths: "{{ backup_directory }}"
2021
become: True
2122
register: backups

0 commit comments

Comments
 (0)