37 lines
952 B
YAML
37 lines
952 B
YAML
---
|
|
################################################################################
|
|
# Created Date: Sunday December 21st 2025
|
|
# Author: Aaron Johnson aaron.johnson@akamai.com
|
|
# -----
|
|
# Last Modified: Tuesday, 24th February 2026
|
|
# Modified By: the engineer formerly known as Aaron Johnson
|
|
# -----
|
|
# Copyright (c) 2025 Contact Author for details
|
|
# -----
|
|
# USAGE/DOCUMENTATION:
|
|
#
|
|
# -----
|
|
# INSTALLATION
|
|
#
|
|
# -----
|
|
# HISTORY:
|
|
# Date By Comments
|
|
# ---------- --- ---------------------------------------------------------
|
|
################################################################################
|
|
|
|
- name: Create acme system user
|
|
user:
|
|
name: "{{ acme_user }}"
|
|
home: "{{ acme_home }}"
|
|
shell: /sbin/nologin
|
|
system: yes
|
|
create_home: yes
|
|
|
|
- name: Create certificate directory
|
|
file:
|
|
path: "{{ cert_dir }}"
|
|
state: directory
|
|
owner: "{{ acme_user }}"
|
|
group: "{{ apache_group | default(omit) }}"
|
|
mode: "2750"
|