修改stage1 ansible无法获取yum 源问题

This commit is contained in:
fumingwei
2021-05-13 19:03:47 +08:00
parent ad34189740
commit 320c7cfdc0
16 changed files with 18 additions and 42 deletions

View File

@@ -7,7 +7,7 @@
yum:
name: "{{ item.value }}"
state: present
skip_broken: yes
conf_file: "{{ rpm_repo_config_path }}"
with_dict: "{{ framework_rpm_version }}"
- name: "mkdir /etc/ld.so.conf.d/"
@@ -18,7 +18,4 @@
- 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
dest: /etc/ld.so.conf.d/