[ocds] clean all yum metadata before install packages
This commit is contained in:
parent
4471564913
commit
10097178ed
1 changed files with 11 additions and 1 deletions
|
@ -91,6 +91,16 @@
|
|||
mountdir: /srv/odcs
|
||||
when: env != 'staging'
|
||||
|
||||
- name: Clean all yum metadata
|
||||
hosts: odcs-backend-stg:odcs-frontend-stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
tasks:
|
||||
- name: clean all yum metadata
|
||||
command: yum clean all
|
||||
check_mode: no
|
||||
|
||||
- name: Set up odcs frontend service
|
||||
hosts: odcs-frontend:odcs-frontend-stg
|
||||
user: root
|
||||
|
@ -108,7 +118,7 @@
|
|||
handlers:
|
||||
- include: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
- name: set up odcs backend service
|
||||
- name: Set up odcs backend service
|
||||
hosts: odcs-backend:odcs-backend-stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue