source: MondoRescue/branches/3.3/ansible/roles/system/tasks/main.yml@ 3896

Last change on this file since 3896 was 3896, checked in by Bruno Cornec, 5 months ago

Remove most of the content infavour of musique-ancienne.org management after machine move

File size: 573 bytes
Line 
1---
2- name: Copy special keys for remote access (git...)
3 copy: src=/users/bruno/prj/musique-ancienne.org/mondorescue.org/{{ item.f }} dest=/home/bruno/{{ item.f }} mode={{ item.m }} backup=yes owner=bruno group=bruno
4 with_items:
5 - { f: .ssh, m: 700 }
6 - { f: .ssh/id_rsa, m: 600 }
7 - { f: .ssh/id_rsa.pub, m: 644 }
8
9- name: Copy public keys for access
10 lineinfile: destfile=/home/{{ item }}/.ssh/authorized_keys state=present line='{{ sshkey }}' mode=0600 backup=yes owner={{ item }} group={{ item }}
11 with_items:
12 - fwadmin
13 - bruno
14 tags: system
Note: See TracBrowser for help on using the repository browser.