From ba233a0cbad76b4783a03893e7bf4716fbc0f0ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 26 Jun 2024 08:24:58 +0200 Subject: Merging upstream version 24.6.1. Signed-off-by: Daniel Baumann --- examples/playbooks/rule-var-naming-fail.yml | 32 ----------------------------- 1 file changed, 32 deletions(-) delete mode 100644 examples/playbooks/rule-var-naming-fail.yml (limited to 'examples/playbooks/rule-var-naming-fail.yml') 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 -- cgit v1.2.3