diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/tasks/main.yml')
-rwxr-xr-x | deploy/adapters/ansible/roles/config-osa/tasks/main.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml index cdf11421..046b25e5 100755 --- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml +++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml @@ -47,6 +47,22 @@ - offline_deployment is defined and offline_deployment == "Disable" - hostvars[hostvars[inventory_hostname]['groups']['controller'][0]]['local_mirror'] == 'Ubuntu' +- name: add libvirt into cinder packages + lineinfile: + dest: /etc/ansible/roles/os_cinder/vars/redhat-7.yml + insertafter: '^ - qemu-img-ev' + line: ' - libvirt' + +- name: remove CentOS-Base.repo after ceph-osd + blockinfile: + dest: /etc/ansible/roles/ceph-osd/tasks/start_osds.yml + block: | + - name: remove empty yum base repo + shell: | + mv /etc/yum.repos.d/CentOS-Base.repo \ + /etc/yum.repos.d/CentOS-Base.repo.bak; + when: hostvars[hostvars[inventory_hostname]['groups']['controller'][0]]['local_mirror'] == 'CentOS' + - name: add mariadb local repository blockinfile: dest: /etc/openstack_deploy/user_variables.yml @@ -284,3 +300,5 @@ dest: /etc/ansible/roles/os_keystone/defaults/main.yml regexp: '^ - python-ldap' line: ' - python-ldap==2.5.2' + +- include: fix_rescue.yml |