Resolve ansible-lint ANSIBLE0008

ansible-lint 2.3.7 added a rule checking for use of the deprecated
'sudo' and 'sudo_user' directives. They have been replaced with 'become'
and 'become_user' respectively.

Change-Id: I2271fe8468840884f19f41abba37e696c6296350
This commit is contained in:
Jimmy McCrory 2016-02-11 04:55:10 -08:00
parent c66d1641fd
commit 182fdd3908
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@
- name: Perform a cinder DB sync
command: "{{ cinder_bin }}/cinder-manage db sync"
sudo: yes
sudo_user: "{{ cinder_system_user_name }}"
become: yes
become_user: "{{ cinder_system_user_name }}"
tags:
- cinder-db-sync
- cinder-setup