blob: 06ef6c472eedb44830416ac7ec3cfd2091bba0f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
---
- name: create user for dyndns
user:
name: dyndns
home: /var/lib/dyndns
system: yes
shell: /bin/sh
groups: bind
- name: create .ssh directory
file:
path: /var/lib/dyndns/.ssh
mode: 0700
owner: dyndns
group: dyndns
- name: install zone update script
template:
src: dyndns.py.j2
dest: /usr/local/bin/dyndns.py
mode: 0755
- name: install script dependency
apt:
name: python-easyzone
state: present
|