In totpcgi, create the totpcgi user before we install the rpm

This commit is contained in:
Pierre-Yves Chibon
2014-12-07 17:03:45 +01:00
parent 2014ae3788
commit 7ffc7ca5b8

View File

@@ -1,3 +1,8 @@
- name: add totpcgi user
user: name=totpcgi uid=501 state=present home=/var/lib/totpcgi createhome=yes system=yes
tags:
- config
- name: install needed packages
yum: pkg={{ item }} state=present
with_items:
@@ -11,11 +16,6 @@
tags:
- packages
- name: add totpcgi user
user: name=totpcgi uid=501 state=present home=/var/lib/totpcgi createhome=yes system=yes
tags:
- config
- name: Install the cgi apache configuration files
template: >
src={{ item }}.j2 dest=/etc/httpd/conf.d/{{ item }}