From aac888e9f5292cf08977046420845fb2e7886098 Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Mon, 19 Sep 2022 20:43:28 +0200 Subject: [PATCH] test precedence of ansible.builtin --- example.yml | 4 ++++ exampleconverted.yml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/example.yml b/example.yml index 6d70719..8dde4aa 100644 --- a/example.yml +++ b/example.yml @@ -96,3 +96,7 @@ notify: restart-xyz when: of_local_json +- name: test user ... expect buildin + user: + name: test + password: '!' diff --git a/exampleconverted.yml b/exampleconverted.yml index 4dc5c30..af2bacb 100644 --- a/exampleconverted.yml +++ b/exampleconverted.yml @@ -99,3 +99,8 @@ notify: restart-xyz when: of_local_json +- name: test user ... expect buildin + # possible ambiguous replacement: user : ansible.builtin.user | awx.awx.user | inspur.sm.user | sensu.sensu_go.user | theforeman.foreman.user + ansible.builtin.user: + name: test + password: '!'