aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd_pre/tasks/main.yml
blob: d1760db880c30f60dcb88d7433afacebd0b0564d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---

- name: create httpd directory
  ansible.builtin.file:
    path: "{{ httpd_pre__configuration_dir }}"
    state: directory
    owner: 0
    group: 0
    mode: "0644"

- name: create passwords directory
  ansible.builtin.file:
    path: "{{ httpd_pre__passwords_dir }}"
    state: directory
    owner: "{{ httpd_pre__user }}"
    group: "{{ httpd_pre__group }}"
    mode: "0700"

- name: create sites directory
  ansible.builtin.file:
    path: "{{ httpd_pre__sites_dir }}"
    state: directory
    owner: 0
    group: 0
    mode: "0755"
remember that computers suck.