mwsv3/ansible.git
2 years agoMerge pull request #12 from rjw57/clone-from-github master
Abraham Martin [Tue, 23 Jan 2018 14:54:03 +0000 (14:54 +0000)]
Merge pull request #12 from rjw57/clone-from-github

use GitHub as source of truth for panel and ansible

2 years agomwsserver: clone mws-ansible from GitHub 12/head
Rich Wareham [Wed, 17 Jan 2018 16:55:28 +0000 (16:55 +0000)]
mwsserver: clone mws-ansible from GitHub

Use GitHub as the source of truth for the panel as specified in the
group vars.

2 years agomwsserver: clone mws-panel from GitHub
Rich Wareham [Wed, 17 Jan 2018 16:55:28 +0000 (16:55 +0000)]
mwsserver: clone mws-panel from GitHub

Use GitHub as the source of truth for the panel as specified in the
group vars.

2 years agomwsserver: add GitHub deploy key credentials for mws-admin
Rich Wareham [Wed, 17 Jan 2018 16:51:12 +0000 (16:51 +0000)]
mwsserver: add GitHub deploy key credentials for mws-admin

On machines hosting the panel, the mws-admin user must be able to clone
the mws-ansible repo. Give it the credentials to do so.

2 years agomwsserver: add GitHub deploy key credentials for www-data
Rich Wareham [Wed, 17 Jan 2018 16:51:12 +0000 (16:51 +0000)]
mwsserver: add GitHub deploy key credentials for www-data

On machines hosting the panel, the www-data user must be able to clone
the mws-panel repo. Give it the credentials to do so.

2 years agoadd panel group vars specifying MWS panel and ansible repos
Rich Wareham [Thu, 18 Jan 2018 10:07:47 +0000 (10:07 +0000)]
add panel group vars specifying MWS panel and ansible repos

Add configuration for panel and ansible repos which should be used to
clone the panel and ansible repos.

2 years agoadd new vault with a password and teach Jenkins how to decrypt it
Rich Wareham [Wed, 17 Jan 2018 16:07:18 +0000 (16:07 +0000)]
add new vault with a password and teach Jenkins how to decrypt it

2 years agossh_known_hosts: add GitHub host keys to known hosts
Rich Wareham [Wed, 17 Jan 2018 15:53:59 +0000 (15:53 +0000)]
ssh_known_hosts: add GitHub host keys to known hosts

Instead of adding the known hosts per-machine, add them per user which
is more in the spirit of how the known_hosts module appears to be
intended to be used.

2 years agoadd Ansible .retry files to .gitignore
Rich Wareham [Wed, 17 Jan 2018 15:53:38 +0000 (15:53 +0000)]
add Ansible .retry files to .gitignore

2 years agoupdate repo to use github
Abraham Martin [Tue, 16 Jan 2018 14:57:33 +0000 (14:57 +0000)]
update repo to use github

2 years agoMerge pull request #9 from msb/jenkinsfile_test_fixes
Abraham Martin [Tue, 9 Jan 2018 14:09:47 +0000 (14:09 +0000)]
Merge pull request #9 from msb/jenkinsfile_test_fixes

fixes for Jenkinsfile.test

2 years agofixes for Jenkinsfile.test 9/head
Mike Bamford [Tue, 9 Jan 2018 10:49:34 +0000 (10:49 +0000)]
fixes for Jenkinsfile.test

2 years agochange branches to master
Abraham Martin [Mon, 8 Jan 2018 14:41:00 +0000 (14:41 +0000)]
change branches to master

2 years agowhitelisted the "stretch" OS
Mike Bamford [Thu, 14 Dec 2017 14:35:39 +0000 (14:35 +0000)]
whitelisted the "stretch" OS

2 years agomove libapache2-mod-ucam-webauth installation to a role
Abraham Martin [Fri, 5 Jan 2018 16:25:37 +0000 (16:25 +0000)]
move libapache2-mod-ucam-webauth installation to a role

support for jessie and stretch ONLY

2 years agoMerge pull request #7 from uisautomation/revert-6-revert-3-moducamwebauth-role
Abraham Martin [Mon, 8 Jan 2018 12:30:11 +0000 (12:30 +0000)]
Merge pull request #7 from uisautomation/revert-6-revert-3-moducamwebauth-role

Revert "move ucamwebauth to a role"

2 years agoRevert "move ucamwebauth to a role" 7/head
Abraham Martin [Mon, 8 Jan 2018 12:29:56 +0000 (12:29 +0000)]
Revert "move ucamwebauth to a role"

2 years agoMerge pull request #6 from uisautomation/revert-3-moducamwebauth-role
Abraham Martin [Mon, 8 Jan 2018 12:17:54 +0000 (12:17 +0000)]
Merge pull request #6 from uisautomation/revert-3-moducamwebauth-role

move ucamwebauth to a role

2 years agoRevert "move libapache2-mod-ucam-webauth installation to a role" 6/head
Abraham Martin [Mon, 8 Jan 2018 11:42:32 +0000 (11:42 +0000)]
Revert "move libapache2-mod-ucam-webauth installation to a role"

2 years agoMerge pull request #3 from uisautomation/moducamwebauth-role 5/head
Abraham Martin [Mon, 8 Jan 2018 11:41:50 +0000 (11:41 +0000)]
Merge pull request #3 from uisautomation/moducamwebauth-role

move libapache2-mod-ucam-webauth installation to a role

2 years agoMerge pull request #1 from uisautomation/stretch-guests
Peter Heiner [Mon, 8 Jan 2018 11:17:40 +0000 (11:17 +0000)]
Merge pull request #1 from uisautomation/stretch-guests

Stretch guests

2 years agomove libapache2-mod-ucam-webauth installation to a role 3/head github/moducamwebauth-role
Abraham Martin [Fri, 5 Jan 2018 16:25:37 +0000 (16:25 +0000)]
move libapache2-mod-ucam-webauth installation to a role

support for jessie and stretch ONLY

2 years agoMerge pull request #2 from uisautomation/improve-naming stretch-guests 1/head 4/head github/stretch-guests
Rich Wareham [Wed, 3 Jan 2018 17:30:54 +0000 (17:30 +0000)]
Merge pull request #2 from uisautomation/improve-naming

Improve naming

2 years agoMerged in nonroot-mysql (pull request #4)
Abraham Martín [Wed, 3 Jan 2018 09:51:20 +0000 (09:51 +0000)]
Merged in nonroot-mysql (pull request #4)

Nonroot mysql

Approved-by: Abraham Martín <abraham.martin@gmail.com>
2 years agoMerge branch 'stretch-guests' into nonroot-mysql
Peter Heiner [Tue, 2 Jan 2018 15:51:21 +0000 (15:51 +0000)]
Merge branch 'stretch-guests' into nonroot-mysql

2 years agofix typo in key name
Peter Heiner [Tue, 2 Jan 2018 15:37:21 +0000 (15:37 +0000)]
fix typo in key name

2 years agofix typo in key name
Peter Heiner [Tue, 2 Jan 2018 15:35:11 +0000 (15:35 +0000)]
fix typo in key name

2 years agojinja2 quoting for st.results
Steve Ison [Tue, 2 Jan 2018 15:26:38 +0000 (15:26 +0000)]
jinja2 quoting for st.results

2 years agofixes
Peter Heiner [Tue, 2 Jan 2018 15:12:32 +0000 (15:12 +0000)]
fixes

2 years agocreate MySQL users for site admins
Peter Heiner [Tue, 2 Jan 2018 14:51:49 +0000 (14:51 +0000)]
create MySQL users for site admins

2 years agocreate MySQL users for site admins
Peter Heiner [Tue, 2 Jan 2018 14:51:29 +0000 (14:51 +0000)]
create MySQL users for site admins

2 years agoMerge remote-tracking branch 'bb/stretch-guests' into stretch-guests
Abraham Martin [Tue, 2 Jan 2018 14:41:41 +0000 (14:41 +0000)]
Merge remote-tracking branch 'bb/stretch-guests' into stretch-guests

2 years agoAdd team's keys and remove old ones
Abraham Martin [Tue, 2 Jan 2018 14:41:33 +0000 (14:41 +0000)]
Add team's keys and remove old ones

2 years agofixing indent typo
Steve Ison [Tue, 2 Jan 2018 14:22:30 +0000 (14:22 +0000)]
fixing indent typo

2 years agoansible pip doesn't support less than syntax for version
Abraham Martin [Tue, 2 Jan 2018 13:34:16 +0000 (13:34 +0000)]
ansible pip doesn't support less than syntax for version

2 years agouse ansible 2.4 on mws panel
Abraham Martin [Tue, 2 Jan 2018 13:29:49 +0000 (13:29 +0000)]
use ansible 2.4 on mws panel

2 years agoadding tag for mod_ucam_webauth for stretch
Steve Ison [Tue, 2 Jan 2018 12:42:31 +0000 (12:42 +0000)]
adding tag for mod_ucam_webauth for stretch

2 years agoadding mod_ucam_webauth for stratch and apt version for jessie
Steve Ison [Tue, 2 Jan 2018 12:39:17 +0000 (12:39 +0000)]
adding mod_ucam_webauth for stratch and apt version for jessie

2 years agogenerate password locally
Peter Heiner [Tue, 2 Jan 2018 12:34:26 +0000 (12:34 +0000)]
generate password locally

2 years agoMerge branch 'stretch-guests' into nonroot-mysql
Peter Heiner [Tue, 2 Jan 2018 10:59:37 +0000 (10:59 +0000)]
Merge branch 'stretch-guests' into nonroot-mysql

2 years agoonly set mysql root password on jessie
Peter Heiner [Tue, 2 Jan 2018 10:56:46 +0000 (10:56 +0000)]
only set mysql root password on jessie

2 years agoremoving mwsclient-stretch
Steve Ison [Tue, 2 Jan 2018 10:53:31 +0000 (10:53 +0000)]
removing mwsclient-stretch

2 years agoMerge branch 'guest-mysql-root-password' into stretch-guests
Peter Heiner [Thu, 21 Dec 2017 11:54:42 +0000 (11:54 +0000)]
Merge branch 'guest-mysql-root-password' into stretch-guests

2 years agouse lookups but do not store password in file
Peter Heiner [Thu, 21 Dec 2017 11:52:50 +0000 (11:52 +0000)]
use lookups but do not store password in file

2 years agoremove unused pwgen password generation step
Peter Heiner [Thu, 21 Dec 2017 11:01:57 +0000 (11:01 +0000)]
remove unused pwgen password generation step

2 years agoadd change_mysql_root_pwd.sql.j2
Peter Heiner [Wed, 20 Dec 2017 16:20:41 +0000 (16:20 +0000)]
add change_mysql_root_pwd.sql.j2

2 years agomake task generate a password
Peter Heiner [Wed, 20 Dec 2017 15:02:53 +0000 (15:02 +0000)]
make task generate a password

2 years agogoing back to using mwsclient regardless of distro
Steve Ison [Wed, 20 Dec 2017 11:23:46 +0000 (11:23 +0000)]
going back to using mwsclient regardless of distro

2 years agoupdated ansible quoting for newer ansible and added role_vars for package lists
Steve Ison [Wed, 20 Dec 2017 09:34:09 +0000 (09:34 +0000)]
updated ansible quoting for newer ansible and added role_vars for package lists

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 13:37:16 +0000 (13:37 +0000)]
trying ansible_distribution_release for base software install

2 years agocopied and amended mws-panel pipeline config for mws-ansible github/master origin/master
Mike Bamford [Tue, 19 Dec 2017 12:08:13 +0000 (12:08 +0000)]
copied and amended mws-panel pipeline config for mws-ansible

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 12:02:54 +0000 (12:02 +0000)]
trying ansible_distribution_release for base software install

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 11:53:13 +0000 (11:53 +0000)]
trying ansible_distribution_release for base software install

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 11:38:32 +0000 (11:38 +0000)]
trying ansible_distribution_release for base software install

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 11:08:03 +0000 (11:08 +0000)]
trying ansible_distribution_release for base software install

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 10:26:39 +0000 (10:26 +0000)]
trying ansible_distribution_release for base software install

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 10:02:09 +0000 (10:02 +0000)]
trying ansible_distribution_release for base software install

2 years agotrying ansible_distribution_release for base software install
Steve Ison [Tue, 19 Dec 2017 09:55:56 +0000 (09:55 +0000)]
trying ansible_distribution_release for base software install

2 years agoreally removing libapache2-mod-ucam-webauth
Steve Ison [Mon, 18 Dec 2017 16:31:29 +0000 (16:31 +0000)]
really removing libapache2-mod-ucam-webauth

2 years agoback to stretch_base_software to debug
Steve Ison [Mon, 18 Dec 2017 15:48:55 +0000 (15:48 +0000)]
back to stretch_base_software to debug

2 years agoremoving libapache2-mod-ucam-webauth from common_base_software
Steve Ison [Mon, 18 Dec 2017 15:31:04 +0000 (15:31 +0000)]
removing libapache2-mod-ucam-webauth from common_base_software

2 years agoadded ansible_distribution_release in base software
Steve Ison [Mon, 18 Dec 2017 14:38:44 +0000 (14:38 +0000)]
added ansible_distribution_release in base software

2 years agoadded jessie_base_software
Steve Ison [Mon, 18 Dec 2017 14:03:50 +0000 (14:03 +0000)]
added jessie_base_software

2 years agoreplace command by shell
Abraham Martin [Mon, 18 Dec 2017 13:59:24 +0000 (13:59 +0000)]
replace command by shell

2 years agoreplace command by shell
Abraham Martin [Mon, 18 Dec 2017 13:58:11 +0000 (13:58 +0000)]
replace command by shell

command doesn't accept pipes

2 years agonew method to stop mysql_safe and come back to normal mysql run
Abraham Martin [Mon, 18 Dec 2017 13:56:23 +0000 (13:56 +0000)]
new method to stop mysql_safe and come back to normal mysql run

2 years agoMerge branch 'stretch-guests' of bitbucket.org:uisautomation/mws-ansible into stretch...
Steve Ison [Mon, 18 Dec 2017 13:44:39 +0000 (13:44 +0000)]
Merge branch 'stretch-guests' of bitbucket.org:uisautomation/mws-ansible into stretch-guests

2 years agomoved common packages to common_base_software
Steve Ison [Mon, 18 Dec 2017 13:44:24 +0000 (13:44 +0000)]
moved common packages to common_base_software

2 years agoChange the way mysql root password gets changed
Abraham Martin [Mon, 18 Dec 2017 13:37:40 +0000 (13:37 +0000)]
Change the way mysql root password gets changed

This is to adapt to new MariaDB on stretch

2 years agono hyphens
Steve Ison [Mon, 18 Dec 2017 12:22:44 +0000 (12:22 +0000)]
no hyphens

2 years agoremoved mwsclients group_vars
Steve Ison [Mon, 18 Dec 2017 12:20:18 +0000 (12:20 +0000)]
removed mwsclients group_vars

2 years agoadded package list
Steve Ison [Mon, 18 Dec 2017 12:19:26 +0000 (12:19 +0000)]
added package list

2 years agoremove groups_vars
Steve Ison [Mon, 18 Dec 2017 12:17:04 +0000 (12:17 +0000)]
remove groups_vars

2 years agoinclude groups_vars
Steve Ison [Mon, 18 Dec 2017 12:14:31 +0000 (12:14 +0000)]
include groups_vars

2 years agostop and start mysql before and after moving /var/lib/mysql
Abraham Martin [Mon, 18 Dec 2017 11:50:03 +0000 (11:50 +0000)]
stop and start mysql before and after moving /var/lib/mysql

2 years agoswitched to base-software list in group_vars
Steve Ison [Mon, 18 Dec 2017 11:19:15 +0000 (11:19 +0000)]
switched to base-software list in group_vars

2 years agoadded mwsclients group_vars
Steve Ison [Mon, 18 Dec 2017 11:18:36 +0000 (11:18 +0000)]
added mwsclients group_vars

2 years agoMore Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 17:23:44 +0000 (17:23 +0000)]
More Ansible 2 syntax

2 years agoMore Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 17:20:58 +0000 (17:20 +0000)]
More Ansible 2 syntax

2 years agoMore Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 17:18:30 +0000 (17:18 +0000)]
More Ansible 2 syntax

2 years agoMore Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 17:16:30 +0000 (17:16 +0000)]
More Ansible 2 syntax

2 years agoMore Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 17:11:03 +0000 (17:11 +0000)]
More Ansible 2 syntax

2 years agoMore Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 17:00:15 +0000 (17:00 +0000)]
More Ansible 2 syntax

2 years agoUse Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 16:57:54 +0000 (16:57 +0000)]
Use Ansible 2 syntax

2 years agoUse Ansible 2 syntax
Abraham Martin [Fri, 15 Dec 2017 16:57:00 +0000 (16:57 +0000)]
Use Ansible 2 syntax

2 years agocopy /tmp/libapache2-mod-ucam-webauth_2.0.3apache24_amd64.deb localy
Abraham Martin [Fri, 15 Dec 2017 16:30:48 +0000 (16:30 +0000)]
copy /tmp/libapache2-mod-ucam-webauth_2.0.3apache24_amd64.deb localy

2 years agoUse S3 bucket to install libapache2-mod-ucam-webauth
Abraham Martin [Fri, 15 Dec 2017 16:18:52 +0000 (16:18 +0000)]
Use S3 bucket to install libapache2-mod-ucam-webauth

2 years agouse absolute path
Abraham Martin [Fri, 15 Dec 2017 16:08:05 +0000 (16:08 +0000)]
use absolute path

2 years agoexecute mwsservers playbook instead of site
Abraham Martin [Fri, 15 Dec 2017 15:37:31 +0000 (15:37 +0000)]
execute mwsservers playbook instead of site

2 years agochange ansible branch
Abraham Martin [Fri, 15 Dec 2017 15:29:21 +0000 (15:29 +0000)]
change ansible branch

2 years agofix syntax
Abraham Martin [Fri, 15 Dec 2017 15:03:52 +0000 (15:03 +0000)]
fix syntax

2 years agoMerge remote-tracking branch 'bb/stretch-guests' into stretch-guests
Abraham Martin [Fri, 15 Dec 2017 15:01:24 +0000 (15:01 +0000)]
Merge remote-tracking branch 'bb/stretch-guests' into stretch-guests

2 years agofix syntax
Abraham Martin [Fri, 15 Dec 2017 15:01:15 +0000 (15:01 +0000)]
fix syntax

2 years agotarget branch os_specific_guest_ansible_branches
Mike Bamford [Fri, 15 Dec 2017 14:57:25 +0000 (14:57 +0000)]
target branch os_specific_guest_ansible_branches

2 years agoInstall libapache2-mod-ucam-webauth from ansible not deb repo
Abraham Martin [Fri, 15 Dec 2017 14:34:32 +0000 (14:34 +0000)]
Install libapache2-mod-ucam-webauth from ansible not deb repo

2 years agoMerge remote-tracking branch 'origin/master' into stretch-guests
Abraham Martin [Fri, 15 Dec 2017 14:31:22 +0000 (14:31 +0000)]
Merge remote-tracking branch 'origin/master' into stretch-guests

2 years agoadd debs for stretch-compatible libapache2-mod-ucam-webauth as a workaround
Peter Heiner [Fri, 15 Dec 2017 10:49:14 +0000 (10:49 +0000)]
add debs for stretch-compatible libapache2-mod-ucam-webauth as a workaround

2 years agowhitelisted the "stretch" OS
Mike Bamford [Thu, 14 Dec 2017 14:35:39 +0000 (14:35 +0000)]
whitelisted the "stretch" OS

2 years agodo not use mcv21 repo anymore
Abraham Martin [Fri, 15 Dec 2017 09:30:40 +0000 (09:30 +0000)]
do not use mcv21 repo anymore

2 years agofix package name
Abraham Martin [Fri, 15 Dec 2017 09:30:21 +0000 (09:30 +0000)]
fix package name