Skip to content

Commit fe07c38

Browse files
committed
Correct YAML lines that are too long
In these cases I am able to use YAML block scalar strings to shorten the lines.
1 parent f7fc341 commit fe07c38

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

defaults/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ systemd_resolved_dropin_config_file: /etc/systemd/resolved.conf.d/99-ansible-rol
2626
# using the DNS resolver provided via DHCP. See here for more
2727
# information:
2828
# https://man.archlinux.org/man/systemd-resolved.8#/ETC/RESOLV.CONF
29-
systemd_resolved_resolv_conf_filename: "{{ dynamic_resolv_conf_target_dir }}/stub-resolv.conf"
29+
systemd_resolved_resolv_conf_filename: >-
30+
{{ dynamic_resolv_conf_target_dir }}/stub-resolv.conf

molecule/specify_resolv_conf_target/converge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
ansible.builtin.include_role:
77
name: ansible-role-systemd-resolved
88
vars:
9-
systemd_resolved_resolv_conf_filename: "{{ dynamic_resolv_conf_target_dir }}/resolv.conf"
9+
systemd_resolved_resolv_conf_filename: >-
10+
{{ dynamic_resolv_conf_target_dir }}/resolv.conf

0 commit comments

Comments
 (0)