ソースを参照

not downloading amq of course

Grega Bremec 1 年間 前
コミット
3880607269

+ 1 - 3
roles/check-env/defaults/main.yml

@@ -1,5 +1,3 @@
 ---
-# These need to default to something.
-amq_z: "7.11.0"
-amq_ch: "7.11.x"
+# ???
 ...

+ 0 - 44
roles/check-env/tasks/main.yml

@@ -59,50 +59,6 @@
     name: java-17-openjdk-headless
     state: latest
 
-- name: Get download confirmation code from Google Drive
-  uri:
-    url: "https://drive.google.com/uc?export=download&id={{ amq_file_id }}"
-    creates: "{{ ansible_facts['user_dir'] }}/Downloads/amq-broker-{{ amq_z }}-bin.zip"
-    return_content: yes
-    status_code: 200
-  register: amq_dl_cc
-
-- name: Store conf code as a fact
-  set_fact:
-    amq_src_url: "{{ amq_dl_cc.content | regex_replace('^.*action=\"', '') | regex_replace('\".*$', '') | regex_replace('amp;', '') }}"
-  when: amq_dl_cc.content is defined
-
-- name: Download AMQ broker
-  get_url:
-    url: "{{ amq_src_url }}"
-    dest: "{{ ansible_facts['user_dir'] }}/Downloads/amq-broker-{{ amq_z }}-bin.zip"
-    mode: 0664
-  when: amq_src_url is defined
-
-- name: Extract AMQ broker to /opt
-  become: yes
-  unarchive:
-    src: "{{ ansible_facts['user_dir'] }}/Downloads/amq-broker-{{ amq_z }}-bin.zip"
-    remote_src: yes
-    creates: /opt/amq
-    dest: /opt
-  register: amq_ex_act
-
-- name: Rename wherever the archive extracted into /opt/amq
-  become: yes
-  command: mv /opt/{{ amq_extracted_dir }} /opt/amq
-  when:
-    - amq_ex_act is defined
-    - amq_ex_act.changed
-
-- name: Make sure /opt/amq/bin is in PATH
-  lineinfile:
-    path: "{{ ansible_facts['user_dir'] }}/.bashrc"
-    line: 'PATH="${PATH}:/opt/amq/bin"'
-    regexp: '^PATH=.*/opt/amq/bin'
-    insertafter: "^# User specific environment$"
-    state: present
-
 - name: Verify cluster connectivity
   kubernetes.core.k8s_cluster_info:
     kubeconfig: tmp/kubeconfig-{{ item }}

+ 0 - 4
roles/check-env/vars/main.yml

@@ -5,8 +5,4 @@
 #  - clusters
 #
 # consult the role tasks file for an explanation
-#
-# Current ID of the AMQ download.
-amq_file_id: 1MISestt2zityvvLYpsMBXuZw5lYQhztB
-amq_extracted_dir: apache-artemis-2.28.0.redhat-00003
 ...