mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
* change apache_data to apache_user in all * no libapach2 in centos. just php. no php-magick in centos * remove redundant vars entries * do not create apache user * missed one pound sign * soft code all references to apache_user * centos requires older setuptools * revert ansible_lsb.id in xsce.yml * try getting recent pip * move pip download to 2prep so that kalite success is not dependent on iiab coming first * still need to replace setuptools in kalite * add curl -- needed in debian * massivly substitue iiab for xsce, and rename files * completed runansible * centos fixes,install pip * appliance means no iptables rules * change to earlier version of setuptools for centos * delete file duplicate, hopefully unnecessary. generate the offline docs * wiki docs errors * create the admin group -- deleted earlier * use the --yes option with pip uninstall * base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io * network detection broken due to tupo
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
|
|
- include: iiab_ini.yml
|
|
|
|
# create the directory structure for XSCE
|
|
- include: fl.yml
|
|
|
|
- include: xo.yml
|
|
when: xo_model != "none" or osbuilder is defined
|
|
|
|
- include: centos.yml
|
|
when: ansible_distribution == "CentOS"
|
|
|
|
- include: fedora.yml
|
|
when: ansible_distribution == "Fedora"
|
|
|
|
# the following installs common packages for both debian and fedora
|
|
- include: packages.yml
|
|
|
|
- sysctl: name=net.ipv4.ip_forward value=1 state=present
|
|
- sysctl: name=net.ipv4.conf.default.rp_filter value=1 state=present
|
|
- sysctl: name=net.ipv4.conf.default.accept_source_route value=0 state=present
|
|
- sysctl: name=kernel.sysrq value=1 state=present
|
|
- sysctl: name=kernel.core_uses_pid value=1 state=present
|
|
- sysctl: name=net.ipv4.tcp_syncookies value=1 state=present
|
|
- sysctl: name=kernel.shmmax value=268435456 state=present
|
|
# IPv6 disabled
|
|
- sysctl: name=net.ipv6.conf.all.disable_ipv6 value=1 state=present
|
|
- sysctl: name=net.ipv6.conf.default.disable_ipv6 value=1 state=present
|
|
- sysctl: name=net.ipv6.conf.lo.disable_ipv6 value=1 state=present
|
|
|
|
- name: Set default Timezone
|
|
shell: ln -sf /usr/share/zoneinfo/{{ iiab_TZ }} /etc/localtime
|
|
when: iiab_TZ is defined and iiab_TZ != ""
|
|
|
|
- name: Install custom profile file
|
|
template: dest=/etc/profile.d/zzz_iiab.sh
|
|
src=zzz_iiab.sh
|
|
owner=root
|
|
mode=0644
|
|
backup=no
|
|
|
|
- include: net_mods.yml
|
|
when: not is_debuntu and not is_F18
|
|
|