This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/ansible/roles/framework/tasks/main.yml

37 lines
950 B
YAML

- name: "copy framework rpms to destination server"
copy:
src: "{{ role_path }}/files/"
dest: "/tmp/ansible_deploy/"
- name: "install framework packages by rpm packages"
yum:
name: "{{ packages }}"
state: present
skip_broken: yes
vars:
packages:
- /tmp/ansible_deploy/librdkafka-0.11.4-1.el7.x86_64.rpm
- /tmp/ansible_deploy/lz4-1.7.5-3.el7.x86_64.rpm
- name: "install framework packages"
yum:
name: "{{ item.value }}"
state: present
conf_file: "{{ rpm_repo_config_path }}"
with_dict: "{{ framework_rpm_version }}"
- name: "mkdir /etc/ld.so.conf.d/"
file:
path: /etc/ld.so.conf.d/
state: directory
- name: "copy framework.conf to destination server"
copy:
src: "{{ role_path }}/files/framework.conf"
dest: /etc/ld.so.conf.d/
- name: "copy maat_redis_tool to destination"
copy:
src: "{{ role_path }}/files/maat_redis_tool"
dest: /opt/MESA/bin/
mode: 0755