diff --git a/roles/totpcgi/tasks/main.yml b/roles/totpcgi/tasks/main.yml index a73d657b10..25fac94ca5 100644 --- a/roles/totpcgi/tasks/main.yml +++ b/roles/totpcgi/tasks/main.yml @@ -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 }}