diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:24:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:24:58 +0000 |
commit | ba233a0cbad76b4783a03893e7bf4716fbc0f0ec (patch) | |
tree | ad369728c1edbe3631c8150585659078ae5d7d0b /examples/playbooks/rule-var-naming-fail.yml | |
parent | Releasing progress-linux version 6.17.2-3~progress7.99u1. (diff) | |
download | ansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.tar.xz ansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.zip |
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/rule-var-naming-fail.yml')
-rw-r--r-- | examples/playbooks/rule-var-naming-fail.yml | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/examples/playbooks/rule-var-naming-fail.yml b/examples/playbooks/rule-var-naming-fail.yml deleted file mode 100644 index 888ed72..0000000 --- a/examples/playbooks/rule-var-naming-fail.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: Fixture - hosts: localhost - vars: - CamelCaseIsBad: false # invalid 1 - this_is_valid: # valid because content is a dict, not a variable - CamelCase: ... - ALL_CAPS: ... - ALL_CAPS_ARE_BAD_TOO: ... # invalid 2 - CamelCaseButErrorIgnored: true # noqa: var-naming - - tasks: - - name: Foo - ansible.builtin.set_fact: - "{{ 'test_' }}var": "value" # noqa: var-naming[no-jinja] - - name: Bar - ansible.builtin.set_fact: - CamelCaseButErrorIgnored: true # noqa: var-naming - - name: Test in a block - vars: - BAD: false # invalid 3 - MoreBad: ... # invalid 4 - block: - - name: Foo - vars: - ALL_CAPS_ARE_BAD_TOO: "{{ MoreBad }}" # invalid 5 - ansible.builtin.set_fact: - CamelCaseIsBad: "{{ BAD }}" # invalid 6 - - name: Test on register - ansible.builtin.debug: - var: test_var - register: CamelCaseIsBad # invalid 7 |