mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
32 lines
718 B
YAML
32 lines
718 B
YAML
# Base Server
|
|
|
|
- name: ...IS BEGINNING =====================================
|
|
command: echo
|
|
|
|
- name: HTTPD (APACHE)
|
|
include_role:
|
|
name: httpd
|
|
when: apache_install | bool
|
|
tags: base, httpd
|
|
|
|
- name: MYSQL
|
|
include_role:
|
|
name: mysql
|
|
# has no "when: XXXXX_install" flag
|
|
tags: base, mysql
|
|
|
|
- name: Install nginx
|
|
include_tasks: roles/nginx/tasks/install.yml
|
|
when: nginx_install | bool
|
|
|
|
- name: Install dnsmasq
|
|
include_tasks: roles/network/tasks/dnsmasq.yml
|
|
when: dnsmasq_install | bool
|
|
tags: base, domain, dnsmasq, network
|
|
|
|
- name: Recording STAGE 3 HAS COMPLETED =====================
|
|
lineinfile:
|
|
dest: "{{ iiab_env_file }}"
|
|
regexp: '^STAGE=*'
|
|
line: 'STAGE=3'
|
|
state: present
|