ansible-role-apache/roles/common/tasks/main.yml
2016-07-06 08:00:42 +10:00

12 lines
396 B
YAML

---
# Setup/install tasks.
- include: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- hostname: name={{ server_hostname }}
- 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
user: name=www-php comment=DefaultPHPUser shell=/sbin/nologin createhome=no