Skip to content

Commit

Permalink
lint: resolve yamllint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m committed Jul 16, 2024
1 parent 89bf51d commit 9ad0301
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/deploy_pihole.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
community.docker.docker_network_info:
name: "{{ svc_docker_network_name }}"
register: _svc_net_res

- name: Set svc_network_subnet fact
ansible.builtin.set_fact:
_svc_network_subnet: "{{ _svc_net_res.network.IPAM.Config[0].Subnet }}"
Expand Down Expand Up @@ -82,10 +82,10 @@
- name: Set DNS environment variable setting for pihole
ansible.builtin.set_fact:
infra_pihole_env_vars_dns: {
'PIHOLE_DNS_': "{{
_infra_unbound_container_deployment.container.NetworkSettings.Networks[svc_docker_network_name].IPAddress +
'#' + (infra_unbound_listening_port | string)
if infra_use_unbound else ''
'PIHOLE_DNS_': "{{
_infra_unbound_container_deployment.container.NetworkSettings.Networks[svc_docker_network_name].IPAddress +
'#' + (infra_unbound_listening_port | string)
if infra_use_unbound else ''
}}"
}
when:
Expand Down

0 comments on commit 9ad0301

Please sign in to comment.