40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
- name: "services : valkyrie"
|
|
hosts: "valkyrie"
|
|
tasks:
|
|
- name: "set service volumes"
|
|
ansible.builtin.set_fact:
|
|
services_valkyrie_volumes:
|
|
rproxy:
|
|
etc-letsencrypt:
|
|
www: {}
|
|
tags: "always"
|
|
|
|
- name: "user_setup"
|
|
ansible.builtin.include_role:
|
|
name: "user_setup"
|
|
apply:
|
|
tags:
|
|
- "services:user_setup"
|
|
- "services:user_setup:{{ services_service_name }}"
|
|
- "services:{{ services_service_name }}"
|
|
- "services:{{ services_service_name }}:user_setup"
|
|
vars:
|
|
services_service_name: "rproxy"
|
|
services_service_volumes: "{{ services_valkyrie_volumes[services_service_name] }}"
|
|
services_service_user_shell: "/usr/bin/rbash"
|
|
tags: "always"
|
|
|
|
- name: "user_setup"
|
|
ansible.builtin.include_role:
|
|
name: "user_setup"
|
|
apply:
|
|
tags:
|
|
- "services:user_setup"
|
|
- "services:user_setup:{{ services_service_name }}"
|
|
- "services:{{ services_service_name }}"
|
|
- "services:{{ services_service_name }}:user_setup"
|
|
vars:
|
|
services_service_name: "www"
|
|
services_service_volumes: "{{ services_valkyrie_volumes[services_service_name] }}"
|
|
tags: "always"
|