Browse Source

Lets try to package the tar with the role

Jared Ledvina 7 năm trước cách đây
mục cha
commit
9f95406fdb
2 tập tin đã thay đổi với 2 bổ sung4 xóa
  1. BIN
      files/sensu_ssl_tool.tar
  2. 2 4
      tasks/ssl_generate.yml

BIN
files/sensu_ssl_tool.tar


+ 2 - 4
tasks/ssl_generate.yml

@@ -14,13 +14,11 @@
 
   - block:
 
-    - name: Untar the ssl_certs tarball from sensu.io
+    - name: Untar the sensu_ssl_tool tarball
       unarchive:
-      args:
-        src: https://docs.sensu.io/sensu-core/{{ sensu_ssl_tool_version }}/files/sensu_ssl_tool.tar
+        src: files/sensu_ssl_tool.tar
         dest: "{{ sensu_config_path }}/ssl_generation/"
         creates: "{{ sensu_config_path }}/ssl_generation/sensu_ssl_tool"
-        copy: no
 
     - name: Generate SSL certs
       command: "{{ __bash_path }} {{ sensu_config_path }}/ssl_generation/sensu_ssl_tool/ssl_certs.sh generate"