Fix deprecation warning

Change-Id: I7fd915a01d15986c8973158451b0a469951baaab
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-12-10 16:20:34 -05:00
parent 331004a911
commit 299e05ab8d
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ logrotate_task_manager:
logrotate_install_method: package
logrotate_package_name: logrotate
logrotate_package_state: installed
logrotate_package_state: present
# tasks/config.yaml
logrotate_configs: []

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Ensure logrotate is installed.
- name: Ensure logrotate is present
become: yes
package:
name: "{{ logrotate_package_name }}"