[ansible][attitude-adjuster] use a template for ddclient.conf

pull/28/head
Alpha Chen 5 years ago
parent c8d4c6015a
commit b4d0d43bcb

@ -0,0 +1,6 @@
use=web
ssl=yes
protocol=googledomains
login={{ ddclient_login }}
password={{ ddclient_password }}
{{ ddclient_host }}

@ -95,6 +95,8 @@
# ddclient # ddclient
- hosts: attitude-adjuster - hosts: attitude-adjuster
vars_files:
- vars.yml.private
tasks: tasks:
- name: install ddclient - name: install ddclient
@ -104,8 +106,8 @@
become: yes become: yes
- name: configure ddclient - name: configure ddclient
copy: template:
src: ddclient.conf.private src: ddclient.conf
dest: /etc/ddclient.conf dest: /etc/ddclient.conf
mode: go-r mode: go-r
become: yes become: yes

Loading…
Cancel
Save