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/tsg-9140-scripts/roles/framework/tasks/main.yml
2021-05-14 11:06:03 +08:00

25 lines
557 B
YAML

- name: "copy framework rpms to destination server"
copy:
src: "{{ role_path }}/files/"
dest: "/tmp/ansible_deploy/"
- name: "install framework packages"
yum:
name: "{{ item.value }}"
state: present
skip_broken: yes
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: "update ld"
command: ldconfig