Skip to content

Commit

Permalink
infra: add missing tag
Browse files Browse the repository at this point in the history
This commit adds the missing `with_pkg` tag on the logrotate
installation task.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit e1cb385)
  • Loading branch information
guits authored and dsavineau committed Aug 13, 2020
1 parent 56d2b62 commit 2609da6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion roles/ceph-infra/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
register: result
until: result is succeeded
when: not is_atomic | bool
tags: with_pkg

- name: add logrotate configuration
template:
Expand All @@ -33,4 +34,11 @@
mode: "0644"
owner: root
group: root
when: containerized_deployment | bool
when:
- containerized_deployment | bool
- inventory_hostname in groups.get(mon_group_name, []) or
inventory_hostname in groups.get(osd_group_name, []) or
inventory_hostname in groups.get(mds_group_name, []) or
inventory_hostname in groups.get(rgw_group_name, []) or
inventory_hostname in groups.get(mgr_group_name, []) or
inventory_hostname in groups.get(rbdmirror_group_name, [])

0 comments on commit 2609da6

Please sign in to comment.