Fix jinja ansible lint error

Change-Id: I764fb5b0fe4a782f4edd38efa654fce921191baf
This commit is contained in:
Riccardo Pittau 2022-11-30 11:55:10 +01:00
parent 18712af740
commit 6c4b0223bf
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,6 @@ skip_list:
# FIXME: gradually fix and remove these exclusions:
- fqcn[action] # Use FQCN for module actions
- fqcn[action-core] # Use FQCN for builtin actions
- jinja[spacing] # Jinja2 spacing could be improved
- meta-no-info # meta/main.yml should contain relevant info
- meta-no-tags # Tags must contain lowercase letters and digits only
- name[casing] #All names should start with an uppercase letter

View File

@ -10,8 +10,8 @@ network_interface: "virbr0"
# documentation at http://ipxe.org/crypto
ipa_file_protocol: "http"
ipa_kernel_url: "{{ ipa_file_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + network_interface | replace('-', '_')]['ipv4']['address'] }}:{{file_url_port}}/ipa.kernel"
ipa_ramdisk_url: "{{ ipa_file_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + network_interface | replace('-', '_')]['ipv4']['address'] }}:{{file_url_port}}/ipa.initramfs"
ipa_kernel_url: "{{ ipa_file_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + network_interface | replace('-', '_')]['ipv4']['address'] }}:{{ file_url_port }}/ipa.kernel"
ipa_ramdisk_url: "{{ ipa_file_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + network_interface | replace('-', '_')]['ipv4']['address'] }}:{{ file_url_port }}/ipa.initramfs"
# Timeout for gathering facts.
fact_gather_timeout: "{{ lookup('config', 'DEFAULT_GATHER_TIMEOUT', on_missing='skip') | default(omit, true) }}"