- name: "copy framework rpms to destination server" synchronize: src: "{{ role_path }}/files/" dest: "/tmp/ansible_deploy/" - name: "install framework packages" yum: name: "{{ packages }}" state: present skip_broken: yes vars: packages: - /tmp/ansible_deploy/libMESA_field_stat-1.0.1.852c2df-1.el7.x86_64.rpm - /tmp/ansible_deploy/libMESA_field_stat2-2.9.1.d80b5fb-2.el7.x86_64.rpm - /tmp/ansible_deploy/libMESA_handle_logger-1.0.9.304259e-2.el7.x86_64.rpm - /tmp/ansible_deploy/libMESA_htable-3.10.11.6275308-1.el7.x86_64.rpm - /tmp/ansible_deploy/libMESA_prof_load-1.0.5.bf755de-1.el7.x86_64.rpm - /tmp/ansible_deploy/libWiredLB-2.0.3.c7d131b-1.el7.x86_64.rpm - /tmp/ansible_deploy/libcjson-1.7.8.542ad7f-1.el7.x86_64.rpm - /tmp/ansible_deploy/libdocumentanalyze-2.0.4.efdfc29-1.el7.x86_64.rpm - /tmp/ansible_deploy/libmaatframe-3.0.7.34de556-2.el7.x86_64.rpm - /tmp/ansible_deploy/librulescan-2.2.0.900d2b3-2.el7.x86_64.rpm - /tmp/ansible_deploy/libwiredcfg-2.0.2.7ce1eea-1.el7.x86_64.rpm - /tmp/ansible_deploy/lz4-1.7.5-3.el7.x86_64.rpm - /tmp/ansible_deploy/librdkafka-0.11.4-1.el7.x86_64.rpm - /tmp/ansible_deploy/libtsglua-1.0.7.0864e4a-2.el7.x86_64.rpm - 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