2017-10-27 02:01:02 +00:00
|
|
|
# Server Options
|
2017-11-09 13:24:21 +00:00
|
|
|
|
2017-10-27 05:41:47 +00:00
|
|
|
- name: ...IS BEGINNING ==================================
|
2017-10-27 02:01:02 +00:00
|
|
|
command: echo
|
|
|
|
|
2018-02-13 15:15:23 +00:00
|
|
|
# MANDATORY SO PERHAPS THIS BELONGS IN 3-BASE-SERVER ?
|
2017-10-27 02:01:02 +00:00
|
|
|
- name: SSHD
|
|
|
|
include_role:
|
|
|
|
name: sshd
|
2017-10-27 02:44:06 +00:00
|
|
|
# has no "when: XXXXX_install" flag
|
2017-10-27 02:01:02 +00:00
|
|
|
tags: base, sshd
|
|
|
|
|
2017-10-27 02:44:06 +00:00
|
|
|
- name: OPENVPN
|
|
|
|
include_role:
|
|
|
|
name: openvpn
|
|
|
|
when: openvpn_install
|
|
|
|
tags: openvpn
|
|
|
|
|
2018-06-01 15:53:34 +00:00
|
|
|
- name: Installing dnsmasq
|
|
|
|
include_tasks: roles/network/tasks/dnsmasq.yml
|
|
|
|
when: dnsmasq_install
|
|
|
|
tags: base, domain, dnsmasq, network
|
2017-11-10 06:09:10 +00:00
|
|
|
|
2017-11-13 02:57:13 +00:00
|
|
|
- name: Installing named
|
2017-11-10 06:09:10 +00:00
|
|
|
include_tasks: roles/network/tasks/named.yml
|
2017-11-13 02:57:13 +00:00
|
|
|
when: named_install
|
|
|
|
tags: base, named, network, domain
|
2017-11-10 06:09:10 +00:00
|
|
|
|
2017-11-13 02:57:13 +00:00
|
|
|
- name: Installing dhcpd
|
2017-11-10 06:09:10 +00:00
|
|
|
include_tasks: roles/network/tasks/dhcpd.yml
|
2017-11-13 02:57:13 +00:00
|
|
|
when: dhcpd_install
|
|
|
|
tags: base, dhcpd, network, domain
|
2017-11-10 06:09:10 +00:00
|
|
|
|
2017-11-13 02:57:13 +00:00
|
|
|
- name: Installing Squid
|
2017-11-10 06:09:10 +00:00
|
|
|
include_tasks: roles/network/tasks/squid.yml
|
|
|
|
when: squid_install
|
2017-11-13 02:57:13 +00:00
|
|
|
tags: base, squid, network, domain
|
2017-11-10 06:09:10 +00:00
|
|
|
|
2017-11-13 02:57:13 +00:00
|
|
|
#- name: NETWORK
|
|
|
|
# include_role:
|
|
|
|
# name: network
|
|
|
|
# # has no "when: XXXXX_install" flag
|
|
|
|
# tags: base, network
|
2017-10-27 02:01:02 +00:00
|
|
|
|
2018-02-13 15:15:23 +00:00
|
|
|
# MANDATORY SO PERHAPS THIS BELONGS IN 3-BASE-SERVER ?
|
2017-10-27 02:44:06 +00:00
|
|
|
- name: HOMEPAGE
|
|
|
|
include_role:
|
|
|
|
name: homepage
|
|
|
|
# has no "when: XXXXX_install" flag
|
|
|
|
tags: base, homepage
|
2017-10-27 02:28:18 +00:00
|
|
|
|
2017-10-27 17:36:14 +00:00
|
|
|
- name: POSTGRESQL
|
|
|
|
include_role:
|
|
|
|
name: postgresql
|
|
|
|
when: postgresql_install
|
2017-10-27 17:41:48 +00:00
|
|
|
tags: postgresql, pathagar, moodle
|
2017-10-27 17:36:14 +00:00
|
|
|
|
2017-10-27 02:01:02 +00:00
|
|
|
- name: AUTHSERVER
|
|
|
|
include_role:
|
|
|
|
name: authserver
|
|
|
|
when: authserver_install
|
2017-10-27 04:28:51 +00:00
|
|
|
tags: olpc, authserver
|
2017-10-27 02:01:02 +00:00
|
|
|
|
2017-10-27 02:44:06 +00:00
|
|
|
- name: CUPS
|
2017-10-27 02:01:02 +00:00
|
|
|
include_role:
|
2017-10-27 02:44:06 +00:00
|
|
|
name: cups
|
|
|
|
when: cups_install
|
|
|
|
tags: cups
|
2017-10-27 02:01:02 +00:00
|
|
|
|
|
|
|
- name: SAMBA
|
|
|
|
include_role:
|
|
|
|
name: samba
|
|
|
|
when: samba_install
|
|
|
|
tags: samba
|
|
|
|
|
|
|
|
- name: USB-LIB
|
|
|
|
include_role:
|
|
|
|
name: usb-lib
|
|
|
|
when: usb_lib_install
|
|
|
|
tags: usb-lib
|
|
|
|
|
2018-02-13 15:15:23 +00:00
|
|
|
# MANDATORY SO PERHAPS THIS BELONGS IN 3-BASE-SERVER ?
|
2017-11-08 06:18:36 +00:00
|
|
|
- name: Create a Python interface to iiab.env
|
2018-02-13 03:12:14 +00:00
|
|
|
template:
|
|
|
|
src: roles/1-prep/templates/iiab_env.py.j2
|
|
|
|
dest: /etc/iiab/iiab_env.py
|
2017-10-06 18:54:18 +00:00
|
|
|
|
2017-10-27 13:21:30 +00:00
|
|
|
- name: Generate the offline documents
|
2017-10-07 03:09:35 +00:00
|
|
|
command: /usr/bin/iiab-refresh-wiki-docs
|
|
|
|
when: not nodocs
|
|
|
|
|
2017-10-30 17:14:09 +00:00
|
|
|
- name: Recording STAGE 4 HAS COMPLETED ==================
|
2018-02-13 03:12:14 +00:00
|
|
|
lineinfile:
|
|
|
|
dest: /etc/iiab/iiab.env
|
|
|
|
regexp: '^STAGE=*'
|
|
|
|
line: 'STAGE=4'
|
|
|
|
state: present
|