main.yml 455 Bytes
Newer Older
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
1
2
---

3
- name: Install argo-web-api package
4
  yum: name=argo-web-api state=latest enablerepo={{ enabled_argo_repo }}
5
  notify: restart argo-web-api service
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
6
7
  tags: api

8
9
- name: Configure argo-web-api
  template: src=argo-web-api.conf.j2
10
            dest=/etc/argo-web-api.conf backup=yes
11
12
13
            owner=root group=root mode=0644
  notify: restart argo-web-api service

Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
14
- name: Start web api service
15
  service: name=argo-web-api state=started
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
16
  tags: api