Browse Source

Fix typo in tarsnap.yml

Florian Anderiasch 9 years ago
parent
commit
076b6d2452
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      roles/tarsnap/tasks/tarsnap.yml

+ 12
- 12
roles/tarsnap/tasks/tarsnap.yml View File

@@ -1,13 +1,13 @@
1 1
 - name: Check if tarsnap {{ tarsnap_version }} is installed
2 2
   shell: tarsnap --version | grep {{ tarsnap_version }} --color=never
3
-  register: tarnsap_installed
4
-  changed_when: "tarnsap_installed.stderr != ''"
3
+  register: tarsnap_installed
4
+  changed_when: "tarsnap_installed.stderr != ''"
5 5
   ignore_errors: yes
6 6
   tags:
7 7
     - dependencies
8 8
 
9 9
 - name: Install dependencies for Tarsnap
10
-  when: tarnsap_installed|failed
10
+  when: tarsnap_installed|failed
11 11
   apt: pkg={{ item }} state=installed
12 12
   with_items:
13 13
     - e2fslibs-dev
@@ -17,56 +17,56 @@
17 17
     - dependencies
18 18
 
19 19
 - name: Download the current tarsnap code signing key
20
-  when: tarnsap_installed|failed
20
+  when: tarsnap_installed|failed
21 21
   get_url:
22 22
     url=https://www.tarsnap.com/tarsnap-signing-key.asc
23 23
     dest=/root/tarsnap-signing-key.asc
24 24
 
25 25
 - name: Add the tarsnap code signing key to your list of keys
26
-  when: tarnsap_installed|failed
26
+  when: tarsnap_installed|failed
27 27
   command:
28 28
     gpg --import tarsnap-signing-key.asc
29 29
     chdir=/root/
30 30
 
31 31
 - name: Download tarsnap SHA file
32
-  when: tarnsap_installed|failed
32
+  when: tarsnap_installed|failed
33 33
   get_url:
34 34
     url="https://www.tarsnap.com/download/tarsnap-sigs-{{ tarsnap_version }}.asc"
35 35
     dest="/root/tarsnap-sigs-{{ tarsnap_version }}.asc"
36 36
 
37 37
 - name: Make the command that gets the current sha
38
-  when: tarnsap_installed|failed
38
+  when: tarsnap_installed|failed
39 39
   template:
40 40
     src=getSha.sh
41 41
     dest=/root/getSha.sh
42 42
     mode=0755
43 43
 
44 44
 - name: get the SHA256sum for this tarsnap release
45
-  when: tarnsap_installed|failed
45
+  when: tarsnap_installed|failed
46 46
   command:
47 47
     ./getSha.sh
48 48
     chdir=/root
49 49
   register: tarsnap_sha
50 50
 
51 51
 - name: Download Tarsnap source
52
-  when: tarnsap_installed|failed
52
+  when: tarsnap_installed|failed
53 53
   get_url:
54 54
     url="https://www.tarsnap.com/download/tarsnap-autoconf-{{ tarsnap_version }}.tgz"
55 55
     dest="/root/tarsnap-autoconf-{{ tarsnap_version }}.tgz"
56 56
     sha256sum={{ tarsnap_sha.stdout_lines[0] }}
57 57
 
58 58
 - name: Decompress Tarsnap source
59
-  when: tarnsap_installed|failed
59
+  when: tarsnap_installed|failed
60 60
   unarchive: src=/root/tarsnap-autoconf-{{ tarsnap_version }}.tgz
61 61
              dest=/root copy=no
62 62
              creates=/root/tarsnap-autoconf-{{ tarsnap_version }}/COPYING
63 63
 
64 64
 - name: Configure Tarsnap for local build
65
-  when: tarnsap_installed|failed
65
+  when: tarsnap_installed|failed
66 66
   command: ./configure chdir=/root/tarsnap-autoconf-{{ tarsnap_version }} creates=/root/tarsnap-autoconf-{{ tarsnap_version }}/Makefile
67 67
 
68 68
 - name: Build and install Tarsnap
69
-  when: tarnsap_installed|failed
69
+  when: tarsnap_installed|failed
70 70
   command: make all install clean chdir=/root/tarsnap-autoconf-{{ tarsnap_version }} creates=/usr/local/bin/tarsnap
71 71
 
72 72
 - name: Copy Tarsnap key file into place

Loading…
Cancel
Save