1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/3-base-server/tasks/main.yml

33 lines
697 B
YAML
Raw Normal View History

2017-10-27 02:22:59 +00:00
# Base Server
2017-10-30 20:32:31 +00:00
- name: ...IS BEGINNING =====================================
2017-10-27 02:22:59 +00:00
command: echo
2018-10-15 12:40:33 +00:00
- name: HTTPD (APACHE)
2017-10-27 02:22:59 +00:00
include_role:
name: httpd
2019-10-15 17:42:04 +00:00
when: apache_install
2017-10-27 02:22:59 +00:00
tags: base, httpd
2017-10-27 17:32:07 +00:00
- name: MYSQL
include_role:
name: mysql
# has no "when: XXXXX_install" flag
2017-10-27 17:32:07 +00:00
tags: base, mysql
2019-11-20 08:32:05 +00:00
- name: Install nginx
include_tasks: roles/nginx/tasks/install.yml
when: nginx_install
- name: Install dnsmasq
include_tasks: roles/network/tasks/dnsmasq.yml
2019-11-20 08:32:05 +00:00
when: dnsmasq_install
tags: base, domain, dnsmasq, network
2017-05-27 18:09:50 +00:00
- name: Recording STAGE 3 HAS COMPLETED =====================
lineinfile:
2018-10-15 09:31:13 +00:00
dest: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=3'
state: present