mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 11:36:10 +08:00
In totpcgi, create the totpcgi user before we install the rpm
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user