Changeset 38526 for main/trunk/greenstone3/src
- Timestamp:
- 2024-01-12T11:48:43+13:00 (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/ansible-playbooks/greenstone3-svn-playbook.yml
r38524 r38526 89 89 checkout: yes 90 90 update: no 91 dest: '{{ gsdl3srchome }}'91 dest: "{{ gsdl3srchome }}" 92 92 93 - name: Downloading and unpacking self-contained command-line tools for Greenstone3 (JDK )93 - name: Downloading and unpacking self-contained command-line tools for Greenstone3 (JDK, Apache Ant) 94 94 ansible.builtin.shell: 95 # executable: /bin/bash96 95 chdir: "{{ gsdl3srchome }}/ext-cli" 97 96 cmd: "./get-selfcontained-jdk.sh && ./get-selfcontained-ant.sh" … … 116 115 - name: Source Greenstone3's SETUP.bash 117 116 ansible.builtin.shell: 118 #executable: /bin/bash117 executable: /bin/bash 119 118 chdir: "{{ gsdl3srchome }}" 120 119 cmd: . ./SETUP.bash 1>/dev/null 2>&1 && env … … 137 136 ansible.builtin.command: 138 137 chdir: "{{ gsdl3srchome }}" 139 #cmd: ". ./SETUP.bash && ant"140 138 cmd: ant 141 139 environment: "{{ env_vars }}" 142 143 # - name: Prepare Greenstone3 (Compliated appoach using 'expect')144 # ansible.builtin.expect:145 # chdir: "{{ gsdl3srchome }}"146 # command: ant prepare147 # timeout: null148 # responses:149 # "\\[input\\]\\s+\\(y, n\\)": "y"150 # environment: "{{ env_vars }}"151 140 141 - name: Setting localhost.port.http in build.properties 142 ansible.builtin.lineinfile: 143 path: {{ gsdl3srchome }}/build.properties 144 regexp: '^localhost.port.http=' 145 line: localhost.port.http={{ gsdl3port }} 152 146 153 147 - name: Prepare Greenstone3 … … 159 153 environment: "{{ env_vars }}" 160 154 155 # - name: Prepare Greenstone3 (A more complicated approach using 'expect') 156 # ansible.builtin.expect: 157 # chdir: "{{ gsdl3srchome }}" 158 # command: ant prepare 159 # timeout: null 160 # responses: 161 # "\\[input\\]\\s+\\(y, n\\)": "y" 162 # environment: "{{ env_vars }}" 161 163 162 163 # - name: Prepare Greenstone3 II (untested) 164 # - name: Prepare Greenstone3 II (untested, and even more complicated, requiring 'expect' to be installed) 164 165 # ansible.builtin.shell: | 165 166 # cd {{ gsdl3srchome }} … … 174 175 175 176 177 - name: Compile and Install Greenstone3 (command) 178 ansible.builtin.command: 179 chdir: "{{ gsdl3srchome }}" 180 cmd: ant install 181 environment: "{{ env_vars }}" 176 182 177 - name: Compile and Install Greenstone3 178 ansible.builtin.shell:179 chdir: "{{ gsdl3srchome }}"180 cmd: . ./SETUP.bash && ant install183 # - name: Compile and Install Greenstone3 (shell) 184 # ansible.builtin.shell: 185 # chdir: "{{ gsdl3srchome }}" 186 # cmd: . ./SETUP.bash && ant install 181 187
Note:
See TracChangeset
for help on using the changeset viewer.