Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 0e92e5d

Browse files
Merge pull request #14 from stone-payments/feature/install-pigz-backup
Install pigz package for backup
2 parents 7b5bf34 + 7378086 commit 0e92e5d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tasks/backup/pbm_configure.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
recurse: true
3333
ignore_errors: true
3434
when: not ansible_check_mode
35+
36+
- name: Install pigz package
37+
yum:
38+
name: pigz
39+
state: present
3540

3641
- name: Create file pbm-agent
3742
template:
@@ -67,4 +72,4 @@
6772
lineinfile:
6873
path: /root/.bashrc
6974
line: 'export PBM_MONGODB_URI="mongodb://{{ mongodb_backup_user_name }}:{{ mongodb_backup_user_password }}@{{ inventory_hostname }}:{{ mongodb_net_port }}/admin?replicaSet={{ mongodb_replication_replset }}"'
70-
no_log: true
75+
no_log: true

0 commit comments

Comments
 (0)