fertiges Playbook für 19.13

This commit is contained in:
aschwarz
2022-11-25 11:57:46 +01:00
parent 4e26cbd803
commit 5643947ab1
18 changed files with 54 additions and 171 deletions

View File

@ -17,7 +17,7 @@
register: stat_ahf
- name: Get current version of already installed AHF - set -o pipefail && {{ ahf_install_dir }}/ahf/oracle.ahf/bin/tfactl version | cut -d' ' -f4 | head -n 1
- name: Get current version of already installed AHF
shell: "set -o pipefail && {{ ahf_install_dir }}/ahf/oracle.ahf/bin/tfactl version | cut -d' ' -f4 | head -n 1"
register: ahf_current_version
when: stat_ahf.stat.exists
@ -44,18 +44,18 @@
- name: Create ahf installation directory
file:
path: "{{ ahf_install_dir }}/ahf"
path: "{{ ahf_install_dir }}/oracle.ahf/data"
state: directory
mode: 0755
- name: Create ahf-data directory
file:
path: "{{ ahf_install_dir }}/ahf/data"
state: directory
mode: 0755
# - name: Create ahf-data directory
# file:
# path: "{{ ahf_install_dir }}/ahf/data"
# state: directory
# mode: 0755
- name: Run ahf installer {{ ahf_archive_repo }}/{{ ahf_archive_dir }}/ahf_setup -silent -ahf_loc {{ ahf_install_dir }}/ahf -data_dir {{ ahf_install_dir }}/ahf/data
shell: "{{ ahf_archive_repo }}/{{ ahf_archive_dir }}/ahf_setup -silent -ahf_loc {{ ahf_install_dir }}/ahf -data_dir {{ ahf_install_dir }}/ahf/data"
- name: Run ahf installer {{ ahf_archive_repo }}/{{ ahf_archive_dir }}/ahf_setup -silent -ahf_loc {{ ahf_install_dir }}/oracle.ahf -data_dir {{ ahf_install_dir }}/oracle.ahf/data
shell: "{{ ahf_archive_repo }}/{{ ahf_archive_dir }}/ahf_setup -silent -ahf_loc {{ ahf_install_dir }}/oracle.ahf -data_dir {{ ahf_install_dir }}/oracle.ahf/data"
# - name: Clean up ahf installer