Commit 1c166bd8 authored by Chris Croome's avatar Chris Croome

the distro is hardcoded to stretch

parent bd5ad8e1
#!/usr/bin/env bash
if [[ -z "${DISTRO}" ]]; then
echo 'Please: `export DISTRO="stretch"`'
exit 1
fi
if [[ -z "${SERVERNAME}" ]]; then
echo 'Please: `export SERVERNAME="example.org.uk"`'
exit 1
fi
echo "Running: ansible-playbook clamav.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME} distro=${DISTRO}\" -v"
echo "Running: ansible-playbook clamav.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME}\" -v"
ansible-playbook clamav.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME} distro=${DISTRO}" -v
ansible-playbook clamav.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
#!/usr/bin/env bash
if [[ -z "${DISTRO}" ]]; then
echo 'Please: `export DISTRO="stretch"`'
exit 1
fi
if [[ -z "${SERVERNAME}" ]]; then
echo 'Please: `export SERVERNAME="example.org.uk"`'
exit 1
fi
echo "Running: ansible-playbook collabora.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME} distro=${DISTRO}\" -v"
echo "Running: ansible-playbook collabora.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME}\" -v"
ansible-playbook collabora.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME} distro=${DISTRO}" -v
ansible-playbook collabora.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
#!/usr/bin/env bash
if [[ -z "${DISTRO}" ]]; then
echo 'Please: `export DISTRO="stretch"`'
exit 1
fi
if [[ -z "${SERVERNAME}" ]]; then
echo 'Please: `export SERVERNAME="example.org.uk"`'
exit 1
fi
echo "Running: ansible-playbook coturn.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME} distro=${DISTRO}\" -v"
echo "Running: ansible-playbook coturn.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME}\" -v"
ansible-playbook coturn.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME} distro=${DISTRO}" -v
ansible-playbook coturn.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
......@@ -5,7 +5,6 @@
vars:
distro: stretch
# collabora_domain: "collabora.{{ hostname }}"
roles:
- coturn
......
#!/usr/bin/env bash
if [[ -z "${DISTRO}" ]]; then
echo 'Please: `export DISTRO="stretch"`'
exit 1
fi
if [[ -z "${SERVERNAME}" ]]; then
echo 'Please: `export SERVERNAME="example.org.uk"`'
exit 1
fi
echo "Running: ansible-playbook nextcloud.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME} distro=${DISTRO}\" -v"
echo "Running: ansible-playbook nextcloud.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME}\" -v"
ansible-playbook nextcloud.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME} distro=${DISTRO}" -v
ansible-playbook nextcloud.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
#!/usr/bin/env bash
if [[ -z "${DISTRO}" ]]; then
echo 'Please: `export DISTRO="stretch"`'
exit 1
fi
if [[ -z "${SERVERNAME}" ]]; then
echo 'Please: `export SERVERNAME="example.org.uk"`'
exit 1
fi
echo "Running: ansible-playbook prosody.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME} distro=${DISTRO}\" -v"
echo "Running: ansible-playbook prosody.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME}\" -v"
ansible-playbook prosody.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME} distro=${DISTRO}" -v
ansible-playbook prosody.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
......@@ -17,17 +17,5 @@
# Empty variable to contain the subjectAltNames with a -d for acme.sh
le_domains: ""
# vars_prompt:
#
# - name: "xcauth_version"
# prompt: "The xmpp-cloud-auth version from https://github.com/jsxc/xmpp-cloud-auth/releases"
# private: no
# default: "v1.0.0"
#
# - name: "prosody_test_username"
# prompt: "A username for the Prosody tests"
# private: no
# default: "admin"
roles:
- prosody
#!/usr/bin/env bash
if [[ -z "${DISTRO}" ]]; then
echo 'Please: `export DISTRO="stretch"`'
exit 1
fi
if [[ -z "${SERVERNAME}" ]]; then
echo 'Please: `export SERVERNAME="example.org.uk"`'
exit 1
......
#!/usr/bin/env bash
if [[ -z "${DISTRO}" ]]; then
echo 'Please: `export DISTRO="stretch"`'
exit 1
fi
if [[ -z "${SERVERNAME}" ]]; then
echo 'Please: `export SERVERNAME="example.org.uk"`'
exit 1
fi
echo "Running: ansible-playbook nextcloud_upgrade.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME} distro=${DISTRO}\" -v"
echo "Running: ansible-playbook nextcloud_upgrade.yml -i ${SERVERNAME}, -e \"hostname=${SERVERNAME}\" -v"
ansible-playbook nextcloud_upgrade.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME} distro=${DISTRO}" -v
ansible-playbook nextcloud_upgrade.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment