Compare commits
No commits in common. "4d4a913abe934d8425e2fc3060ab089bb9426e1e" and "83486be84e30a51e8694b972ed1e187256f382f5" have entirely different histories.
4d4a913abe
...
83486be84e
|
@ -7,18 +7,10 @@
|
|||
skip_existing: yes
|
||||
data: {{ linode_api_key }}
|
||||
|
||||
- name: Pull linode-dyndns container image
|
||||
podman_image:
|
||||
name: {{ image_name }}
|
||||
pull: yes
|
||||
state: present
|
||||
tag: {{ image_tag }}
|
||||
|
||||
- name: Create and start linode-dyndns container
|
||||
podman_container:
|
||||
name: linode-dyndns_{{ subdomain }}
|
||||
hostname: linode-dyndns_{{ subdomain }}
|
||||
image: "{{ image_name }}:{{ image_tag }}"
|
||||
image: docker.io/kvllsvm/linode-dynamic-dns:latest
|
||||
state: started
|
||||
restart_policy: always
|
||||
network: host
|
||||
|
@ -32,5 +24,3 @@
|
|||
- name: FREQUENCY
|
||||
value: {{ update_frequency }}
|
||||
command: "/bin/sh -c 'export TOKEN=$(cat /run/secrets/linode_dns_apikey) && linode-dynamic-dns -s $FREQUENCY'"
|
||||
generate_systemd:
|
||||
path: {{ systemd_system_unit_path }}
|
||||
|
|
Loading…
Reference in New Issue