1920428599
Ansible is scheduled to remove the 'sudo' module and replace it with 'become'. Switch to using this now since it is already supported in 1.9. Closes-Bug: #1504535 Change-Id: Ie63816e36a95c86d54fea5f50325522b41597047
10 lines
262 B
YAML
10 lines
262 B
YAML
---
|
|
- hosts: localhost
|
|
connection: local
|
|
name: "Provide deprecation notice"
|
|
become: no
|
|
gather_facts: no
|
|
pre_tasks:
|
|
- name: "Error"
|
|
local_action: fail msg="Legacy roles have been removed. Please use dynamic inventory and enroll-dynamic.yaml"
|