Browse Source

Add backups playbook.

master
Chris Smith 9 years ago
parent
commit
a3f96439b8
5 changed files with 11 additions and 1 deletions
  1. 1
    0
      data/keys/attic/quark
  2. 3
    0
      inventories/inventory.yml
  3. 1
    0
      playbooks/all.yml
  4. 5
    0
      playbooks/backups.yml
  5. 1
    1
      roles

+ 1
- 0
data/keys/attic/quark View File

@@ -0,0 +1 @@
1
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0EjgJUjHePLdeGW5/r09qe3b3i6NdPZ+PtQXuwMoLIARa3Dg4CAmfQOZ0Dz9oh32ZTFX/oXBjSy6rmWT8xEDRA0bYtvJYaBi2B8jYRzakL8QTIPRLd+s+R0EIm0KvQMs+fHxyTrJK0Y4+mLhI/wPynGKMJx4HOsXWsnVutfy9IALnmaOyw2AKlcbFSMKWJB86EQSNMhUaWsEnYZzEhAFz727FQj4yO1BFKfwWfl6H0wVO50Yt+bz+xANIhbJSlYzZI5T4V46gxdtSlvmZcgM9JBfdFyLVgoVORqyZnUpyAvf1eP0HelN9bwzTbpA1kzuR41xmC4/r7e4fVxZEBQ5R chris@Quark

+ 3
- 0
inventories/inventory.yml View File

@@ -4,3 +4,6 @@ lon1.chameth.com
4 4
 
5 5
 [irc]
6 6
 lon1.chameth.com
7
+
8
+[backups]
9
+lon1.chameth.com

+ 1
- 0
playbooks/all.yml View File

@@ -1,3 +1,4 @@
1 1
 ---
2 2
 - include: common.yml
3
+- include: backups.yml
3 4
 - include: irc.yml

+ 5
- 0
playbooks/backups.yml View File

@@ -0,0 +1,5 @@
1
+---
2
+- hosts: backups
3
+  roles:
4
+    - role: attic
5
+      attic_ssh_keys: ["{{ lookup('file', '../data/keys/attic/quark') }}"]

+ 1
- 1
roles

@@ -1 +1 @@
1
-Subproject commit dbe1bd94bd4f0e7ef78a120246b8d0aabaaaf3c6
1
+Subproject commit 6d0516e7abd9110f708425a3fc63ce835ec2058a

Loading…
Cancel
Save