Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit f8b2035

Browse files
committed
Plex: Define 'localhost_ip' here. [ansible]
1 parent c14d0b5 commit f8b2035

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

roles/plex/tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
set_fact:
8787
lazyman_ip: "{{ ( lookup('dig', 'powersports.ml', '@8.8.8.8', 'qtype=A') | ipv4 ) | default(false,true) }}"
8888

89+
- name: "Set 'localhost_ip' variable"
90+
set_fact:
91+
localhost_ip: "127.0.0.1"
92+
8993
- name: "Set Plex host variables"
9094
set_fact:
9195
plex_default_hosts:

roles/pre_tasks/tasks/subtasks/variables.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
)
3737
else false }}"
3838

39-
- name: "Variables | Set 'localhost_ip' variable"
40-
set_fact:
41-
localhost_ip: "127.0.0.1"
42-
4339
- name: "Variables | Set 'plex_account_enabled' variable"
4440
set_fact:
4541
plex_account_enabled: "{{ true if not(

0 commit comments

Comments
 (0)