add copr-fe user before we try anything else
This commit is contained in:
parent
197310d34b
commit
04ac5a97ec
1 changed files with 5 additions and 3 deletions
|
@ -38,14 +38,16 @@
|
||||||
- postgresql-server
|
- postgresql-server
|
||||||
- git
|
- git
|
||||||
|
|
||||||
|
- name: add copr-fe user
|
||||||
|
action: user name=copr-fe state=present system=yes home=/home/copr-fe
|
||||||
|
|
||||||
- name: copy apache files to conf.d
|
- name: copy apache files to conf.d
|
||||||
action: copy src=$files/copr/fe/httpd/$item dest=/etc/httpd/conf.d/$item
|
action: copy src=$files/copr/fe/httpd/$item dest=/etc/httpd/conf.d/$item
|
||||||
with_items:
|
with_items:
|
||||||
- coprs.conf
|
- coprs.conf
|
||||||
- welcome.conf
|
- welcome.conf
|
||||||
|
|
||||||
|
- name: enable services
|
||||||
- name: start services
|
|
||||||
action: service state=running enabled=yes name=$item
|
action: service state=running enabled=yes name=$item
|
||||||
with_items:
|
with_items:
|
||||||
- httpd
|
- httpd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue