Migrate from gitlab to gitea

This commit is contained in:
2019-02-18 20:43:55 +09:00
commit 6115a1d41c
7 changed files with 72 additions and 0 deletions
@@ -0,0 +1,3 @@
---
- name: update all packages
yum: name=* state=latest
@@ -0,0 +1,18 @@
---
- name: install yum-cron and deltarpm
yum: name={{ item }} state=latest
with_items:
- deltarpm
- yum-cron
- name: set yum-cron to automatically apply update
lineinfile: dest=/etc/yum/yum-cron.conf regexp="apply_updates = no" state=present line="apply_updates = yes" backrefs=yes
- name: enable epel
yum: name=epel-release state=latest
- name: install development tools
yum: name=@development-tools state=latest
- name: enable ius
yum: name=https://centos7.iuscommunity.org/ius-release.rpm state=latest