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:
parent
6b6863b317
commit
322dbe437e
@ -41,8 +41,8 @@
|
|||||||
|
|
||||||
- name: Perform a Nova DB sync
|
- name: Perform a Nova DB sync
|
||||||
command: "{{ nova_bin }}/nova-manage db sync"
|
command: "{{ nova_bin }}/nova-manage db sync"
|
||||||
sudo: yes
|
become: yes
|
||||||
sudo_user: "{{ nova_system_user_name }}"
|
become_user: "{{ nova_system_user_name }}"
|
||||||
tags:
|
tags:
|
||||||
- nova-db-setup
|
- nova-db-setup
|
||||||
- nova-setup
|
- nova-setup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user