|
|
@ -1,9 +1,11 @@ |
|
|
|
|
|
|
|
- name: Install dependencies |
|
|
|
apt: name={{ item }} state=latest |
|
|
|
with_items: |
|
|
|
- sqlite3 |
|
|
|
- git |
|
|
|
- name: Install Https for APT |
|
|
|
apt: name=apt-transport-https update_cache=yes |
|
|
|
- name: Install sqlite database |
|
|
|
apt: name=sqlite3 |
|
|
|
- name: Install git |
|
|
|
apt: name=git |
|
|
|
- name: Add the repository key to system |
|
|
|
apt_key: url=https://deb.packager.io/key state=present |
|
|
|
- name: Add the package.io repository to the list |
|
|
@ -11,4 +13,4 @@ |
|
|
|
- name: Install Gogs |
|
|
|
apt: name=gogs update_cache=yes |
|
|
|
- name: Start at boot |
|
|
|
service: #TODO |
|
|
|
service: name=gogs state=started enabled=yes |