3 ###--------------------------------------------------------------------------
4 ### General permissions.
6 - name: fix permissions in /root
7 tags: [perms, root-perms]
8 file: name=/root mode=0750 owner=root group=root
10 ###--------------------------------------------------------------------------
13 - name: install PKI maintenance scripts
15 copy: src=pki/{{ item }} dest=/etc/cron.daily
20 ###--------------------------------------------------------------------------
21 ### NTP configuration.
23 - name: install NTP configuration files
24 tags: [ntp, ntp-client]
25 copy: src=ntp-client/ntp.conf dest=/etc
26 when: server is not defined or 'ntp' not in server
29 ###--------------------------------------------------------------------------
30 ### SSH configuration.
32 - name: install SSH configuration files
33 tags: [ssh, ssh-config]
34 copy: src=ssh-config/{{ item }} dest=/etc/ssh
42 - name: install main keys for root SSH access
44 template: src=ssh-root-authkeys dest=/root/.ssh/authkeys.base
46 - name: install keys for root SSH access
48 copy: src=ssh-root/{{ item }} dest=/root/.ssh
54 ###----- That's all, folks --------------------------------------------------