diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:24:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:24:57 +0000 |
commit | 6321bd49c49eb2bb436cf7fb4842c4c424198de7 (patch) | |
tree | f34b66b4551dfe468bbcb29d0dcec5384556543b /examples/playbooks/transform-no-log-password.yml | |
parent | Adding debian version 6.17.2-3. (diff) | |
download | ansible-lint-6321bd49c49eb2bb436cf7fb4842c4c424198de7.tar.xz ansible-lint-6321bd49c49eb2bb436cf7fb4842c4c424198de7.zip |
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/transform-no-log-password.yml')
-rw-r--r-- | examples/playbooks/transform-no-log-password.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/playbooks/transform-no-log-password.yml b/examples/playbooks/transform-no-log-password.yml new file mode 100644 index 0000000..467883a --- /dev/null +++ b/examples/playbooks/transform-no-log-password.yml @@ -0,0 +1,22 @@ +--- +- name: Fixture for no log password + hosts: all + tasks: + - name: Fail when no_log is set to False + ansible.builtin.user: + name: john_doe + password: "{{ item }}" + state: absent + with_items: + - wow + - now + no_log: false + + - name: Fail when no_log is absent + ansible.builtin.user: + name: john_doe + password: "{{ item }}" + state: absent + with_items: + - wow + - now |