Use file module instead of running rm to remove a directory

Bug #1586406 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
Christian Berendt

Bug Description

When running kolla-ansible cleanup the following warning message will be printed:

[WARNING]: Consider using file module with state=absent rather than running rm

The rm command used in ansible/roles/cleanup/tasks/cleanup_host.yml should be replaced by the file module.

Changed in kolla:
status: New → Confirmed
Changed in kolla:
importance: Undecided → Low
assignee: nobody → Christian Berendt (berendt-betacloud)
milestone: none → newton-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/321832
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=52d7daadd248be4d527d1a1e1511e27853612543
Submitter: Jenkins
Branch: master

commit 52d7daadd248be4d527d1a1e1511e27853612543
Author: Christian Berendt <email address hidden>
Date: Thu May 26 22:04:25 2016 +0200

    Use file module instead of running rm to remove a directory

    This will solve the following issue when running the
    kolla-ansible cleanup command:

    [WARNING]: Consider using file module with state=absent rather
    than running rm

    Closes-bug: #1586406
    Change-Id: I366b6f27e697b24c6c54882c08afe4048803b4e8

Changed in kolla:
status: Confirmed → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 3.0.0.0b1

This issue was fixed in the openstack/kolla 3.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.