summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-schema-become-method-fail.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/rule-schema-become-method-fail.yml')
-rw-r--r--examples/playbooks/rule-schema-become-method-fail.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/playbooks/rule-schema-become-method-fail.yml b/examples/playbooks/rule-schema-become-method-fail.yml
new file mode 100644
index 0000000..555e14e
--- /dev/null
+++ b/examples/playbooks/rule-schema-become-method-fail.yml
@@ -0,0 +1,10 @@
+---
+- name: Test 'become_method' plugin validity
+ hosts: localhost
+ become: true
+ become_method: this_is_not_an_installed_plugin
+ tasks:
+ - name: Another example
+ ansible.builtin.debug:
+ msg: "This should not be reached"
+ become_method: this_is_not_an_installed_plugin