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

pull/28/head
Alpha Chen 6 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
- hosts: attitude-adjuster
vars_files:
- vars.yml.private
tasks:
- name: install ddclient
@ -104,8 +106,8 @@
become: yes
- name: configure ddclient
copy:
src: ddclient.conf.private
template:
src: ddclient.conf
dest: /etc/ddclient.conf
mode: go-r
become: yes

Loading…
Cancel
Save