aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd_pre/tasks/main.yml
blob: 83afb917e7220697251962996a20d021ca58cb4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- name: include httpd role variables
  include_vars: "{{ inventory_dir }}/roles/httpd/defaults/main.yml"

- name: create httpd directory
  file:
    path: /etc/httpd.d
    state: directory
    owner: 0
    group: 0
    mode: 0644

- name: create htpasswd directory
  file:
    path: /var/www/htpasswd
    state: directory
    owner: "www"
    group: "www"
    mode: 0700
remember that computers suck.