Browse Source

move dependencies in a block

services
Edoardo Putti 9 years ago
parent
commit
d39cbffbf2
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      roles/gogs/tasks/main.yaml

+ 7
- 5
roles/gogs/tasks/main.yaml View File

@ -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

Loading…
Cancel
Save