Skip to content

Commit

Permalink
Merge pull request #98 from ErikJiang/update_enable_repo
Browse files Browse the repository at this point in the history
update enable-repo playbook
  • Loading branch information
ErikJiang authored Aug 29, 2022
2 parents 37c4cc7 + 02d3591 commit 006ded0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/enable-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- name: Backup original yum repo if "{{ yum_repo_name }}" not exist
shell: >-
mkdir -p {{ yum_repo_bak_path }}/ &&
mv {{ yum_repo_src_path }}/*.repo {{ yum_repo_bak_path }}/
mv {{ yum_repo_src_path }}/* {{ yum_repo_bak_path }}/
when:
- not file_data.stat.exists and ( yum_repo_url_list | length > 0 )

Expand Down

0 comments on commit 006ded0

Please sign in to comment.