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

78 lines
1.5 KiB
YAML
Raw Normal View History

2017-10-27 02:01:02 +00:00
# Server Options
2017-10-27 05:41:47 +00:00
- name: ...IS BEGINNING ==================================
2017-10-27 02:01:02 +00:00
command: echo
- 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
2017-10-27 02:01:02 +00:00
- name: NETWORK
include_role:
name: network
2017-10-27 02:44:06 +00:00
# has no "when: XXXXX_install" flag
2017-10-27 02:01:02 +00:00
tags: base, network
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
tags: postgresql
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
2017-10-27 13:21:30 +00:00
# this script can be sourced to get IIAB location
- name: Create iiab.env file
template: src=roles/1-prep/templates/iiab.env.j2
dest=/etc/iiab/iiab.env
owner=root
group=root
mode=0644
2017-10-27 13:21:30 +00:00
- name: Put a Python interface to iiab.env
template: src=roles/1-prep/templates/iiab_env.py.j2
dest=/etc/iiab/iiab_env.py
2017-10-27 13:21:30 +00:00
- name: Generate the offline documents
command: /usr/bin/iiab-refresh-wiki-docs
when: not nodocs
2017-10-27 11:28:38 +00:00
- name: ...HAS COMPLETED =================================
2017-10-27 02:01:02 +00:00
command: echo