ansible-role-apache/roles/common/tasks/main.yml

13 lines
396 B
YAML
Raw Normal View History

---
# Setup/install tasks.
- include: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
2016-06-13 05:49:56 +02:00
- hostname: name={{ server_hostname }}
2016-06-13 10:51:07 +02:00
- name: Creates custom users
user: name=vmuser comment=DefaultUser groups=wheel password={{ default_user_password }} shell=/bin/bash createhome=yes
- name: Creates custom PHP users
2016-06-13 10:51:07 +02:00
user: name=www-php comment=DefaultPHPUser shell=/sbin/nologin createhome=no