]>
git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
Loic Dachary [Fri, 25 Mar 2016 17:08:21 +0000 (18:08 +0100)]
paddles: cope with undefined paddles_address
Signed-off-by: Thierry Delamare <t.delamare@laposte.net>
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Fri, 25 Mar 2016 17:07:45 +0000 (18:07 +0100)]
paddles: do not fail to disable if apache2 if not there
If apache2 is not installed no need to disable it.
Signed-off-by: Thierry Delamare <t.delamare@laposte.net>
Signed-off-by: Loic Dachary <loic@dachary.org>
Dan Mick [Thu, 24 Mar 2016 21:57:35 +0000 (14:57 -0700)]
Merge pull request #218 from ceph/wip-auth-openvpn
gateway: modify auth-openvpn script to ignore comments and blank lines
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Thu, 24 Mar 2016 20:45:23 +0000 (16:45 -0400)]
gateway: modify auth-openvpn script to ignore comments and blank lines
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Thu, 24 Mar 2016 18:18:06 +0000 (11:18 -0700)]
Merge pull request #217 from ceph/wip-gw-tweaks
gateway: Add logrotate to to-do
David Galloway [Thu, 24 Mar 2016 18:12:12 +0000 (14:12 -0400)]
gateway: Add logrotate to to-do
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Thu, 24 Mar 2016 18:09:08 +0000 (11:09 -0700)]
Merge pull request #216 from ceph/wip-gw-tweaks
gateway: Adding additional functionality and some missing files
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Wed, 23 Mar 2016 15:08:15 +0000 (11:08 -0400)]
gateway: Add defaults for vars in secrets repo
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 22:02:11 +0000 (18:02 -0400)]
gateway: Renaming 'copy secrets' task
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:52:58 +0000 (17:52 -0400)]
gateway: Write universal 'auth-openvpn' user auth script
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:36:47 +0000 (17:36 -0400)]
gateway: Manage service state based on openvpn_server_name
Also updated list of secrets we maintain
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:34:25 +0000 (17:34 -0400)]
gateway: Create openvpn_data_dir if it doesn't exist
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:32:31 +0000 (17:32 -0400)]
gateway: Add common role
Configures epel repo and grants ssh access to admin_users
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Tue, 22 Mar 2016 20:07:58 +0000 (13:07 -0700)]
Merge pull request #215 from ceph/wip-gw
New role to manage OpenVPN gateway
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Mon, 21 Mar 2016 19:25:14 +0000 (15:25 -0400)]
gateway: Final documentation update for initial PR
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 21 Mar 2016 21:41:13 +0000 (17:41 -0400)]
gateway: add openvpn_users list from secrets repo
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 21 Mar 2016 19:48:49 +0000 (15:48 -0400)]
gateway: Add task to write CA, key, and cert
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 21 Mar 2016 19:29:09 +0000 (15:29 -0400)]
gateway: Add check to ensure service is running
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Mar 2016 22:14:24 +0000 (18:14 -0400)]
gateway: Users task
Takes 'ovpn' variable from secrets repo users and write to openvpn server
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Mar 2016 19:43:45 +0000 (15:43 -0400)]
gateway: Set packages needed for gateway role
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Mar 2016 19:42:48 +0000 (15:42 -0400)]
Create initial files for new 'gateway' role
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Wed, 16 Mar 2016 23:10:05 +0000 (17:10 -0600)]
Merge pull request #213 from ceph/wip-nrpe-user
testnodes: Configure per-OS nrpe user and group name
David Galloway [Wed, 16 Mar 2016 20:42:16 +0000 (16:42 -0400)]
testnodes: Configure per-OS nrpe user and group name
NRPE on CentOS/RHEL ignore the nrpe_user variable in nrpe.cfg due to the
systemd init file. See https://github.com/NagiosEnterprises/nrpe/issues/28
The 'nagios' user is created by default on *.deb
The 'nrpe' user is created by default on *.rpm
Further reading: https://www.mooash.me/2014/10/24/nagios-nrpe-ansible-role/
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Wed, 16 Mar 2016 18:54:36 +0000 (12:54 -0600)]
Merge pull request #212 from ceph/wip-nrpe-selinux
testnodes: configure selinux for nagios monitoring
David Galloway [Wed, 16 Mar 2016 17:06:45 +0000 (13:06 -0400)]
testnodes: configure selinux for nagios monitoring
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Wed, 16 Mar 2016 17:40:03 +0000 (10:40 -0700)]
Merge pull request #210 from ceph/wip-cobbler-tz
cobbler: set testnodes timezone during kickstart
Reviewed-by: Dan Mick <dmick@redhat.com>
Dan Mick [Wed, 16 Mar 2016 01:48:31 +0000 (18:48 -0700)]
Merge pull request #211 from ceph/wip-nrpe-service
testnode: add check to make sure NRPE service is running
Reviewed-by: Dan Mick<dmick@redhat.com>
David Galloway [Wed, 16 Mar 2016 01:36:32 +0000 (21:36 -0400)]
Updating documentation to reflect NRPE support on CentOS and RHEL now
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 16 Mar 2016 01:29:39 +0000 (21:29 -0400)]
testnode: add check to make sure NRPE service is running
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Wed, 16 Mar 2016 01:12:58 +0000 (18:12 -0700)]
Merge pull request #209 from ceph/wip-nrpe-ssl
testnodes: Disable ssl requirement for nrpe on rpm-based distros
Reviewed-by: Dan Mick<dmick@redhat.com>
David Galloway [Tue, 15 Mar 2016 22:33:55 +0000 (18:33 -0400)]
testnodes: Disable ssl requirement for nrpe on rpm-based distros
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 16 Mar 2016 00:40:58 +0000 (20:40 -0400)]
cobbler: set testnodes timezone during kickstart
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 4 Mar 2016 21:25:15 +0000 (14:25 -0700)]
Merge pull request #208 from ceph/wip-rhel6-8
Prep for RHEL6.8
David Galloway [Fri, 4 Mar 2016 20:43:11 +0000 (15:43 -0500)]
Prep for RHEL6.8
http://tracker.ceph.com/issues/14982
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 4 Mar 2016 20:48:29 +0000 (13:48 -0700)]
Merge pull request #207 from ceph/wip-rhel6-8
Prep for RHEL6.8
David Galloway [Fri, 4 Mar 2016 20:43:11 +0000 (15:43 -0500)]
Prep for RHEL6.8
http://tracker.ceph.com/issues/14982
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 4 Mar 2016 20:01:58 +0000 (13:01 -0700)]
Merge pull request #206 from ceph/wip-cobbler-noansible
cobbler: enable stock OS provisioning
David Galloway [Fri, 4 Mar 2016 19:01:27 +0000 (14:01 -0500)]
cobbler: enable stock OS provisioning
http://tracker.ceph.com/issues/14725
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Fri, 4 Mar 2016 18:59:58 +0000 (10:59 -0800)]
Merge pull request #205 from ceph/wip-plugin
Adapt failure_log plugin to work with ansible 2.0
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Wed, 2 Mar 2016 22:08:38 +0000 (15:08 -0700)]
Adapt failure_log plugin to work with ansible 2.0
This commit maintains backward compatibility
Signed-off-by: Zack Cerza <zack@redhat.com>
Loic Dachary [Sun, 28 Feb 2016 04:45:15 +0000 (11:45 +0700)]
Merge pull request #204 from ceph/revert-203-wip-14914-defaults
Revert "ansible.cfg: do not set vault_password_file"
Loic Dachary [Sun, 28 Feb 2016 04:45:00 +0000 (11:45 +0700)]
Revert "ansible.cfg: do not set vault_password_file"
Loic Dachary [Sun, 28 Feb 2016 02:08:25 +0000 (09:08 +0700)]
Merge pull request #203 from dachary/wip-14914-defaults
ansible.cfg: do not set vault_password_file
Loic Dachary [Sun, 28 Feb 2016 02:05:50 +0000 (09:05 +0700)]
ansible.cfg: do not set vault_password_file
So that ansible-playbook can run from the root of the repository and not
pick up this value which is unlikely to be correct.
http://tracker.ceph.com/issues/14914 Fixes: #14914
Signed-off-by: Loic Dachary <loic@dachary.org>
Dan Mick [Thu, 25 Feb 2016 22:42:43 +0000 (14:42 -0800)]
Merge pull request #202 from yuriw/wip-14848-master
Added "- ncurses-devel" for xfstests to run and pass
Reviewed-by: Dan Mick <dmick@redhat.com>
Yuri Weinstein [Thu, 25 Feb 2016 22:27:05 +0000 (14:27 -0800)]
Added "- ncurses-devel" for xfstests to run and pass
Fixes: #14848
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Zack Cerza [Sat, 20 Feb 2016 00:00:28 +0000 (17:00 -0700)]
Merge pull request #201 from dmick/master
common/tasks/kerberos.yml: Test ansible_os_family for packaging type
Dan Mick [Fri, 19 Feb 2016 23:11:06 +0000 (15:11 -0800)]
common/tasks/kerberos.yml: Test ansible_os_family for packaging type
...rather than ansible_distribution
Fixes: #14751
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Thu, 18 Feb 2016 04:12:11 +0000 (20:12 -0800)]
Merge pull request #200 from ceph/wip-f22-int
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Thu, 18 Feb 2016 03:34:35 +0000 (22:34 -0500)]
Fixes http://tracker.ceph.com/issues/14790
Cobbler would fail to create kickstart because non-Fedora distros would return 7.X, for example, as the integer resulting in CentOS and RHEL kickstarts to fail
Fixes: #14790
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Wed, 17 Feb 2016 18:23:40 +0000 (10:23 -0800)]
Merge pull request #198 from ceph/wip-ansible-2-prep
Preparation for ansible 2.x
Reviewed-by: <dan.mick@redhat.com>
Zack Cerza [Wed, 17 Feb 2016 00:33:56 +0000 (17:33 -0700)]
Merge pull request #199 from ceph/wip-f22-gpg
Install yum on Fedora 22 and higher
David Galloway [Wed, 17 Feb 2016 00:19:59 +0000 (19:19 -0500)]
yum package is not available from dvd image repo
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 17 Feb 2016 00:17:07 +0000 (19:17 -0500)]
Install yum on Fedora 22 and higher
Existing tasks like gpg_keys.yml rely on the yum module
This is temporary until we can move to ansible v2.0's package module
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 16 Feb 2016 22:07:34 +0000 (15:07 -0700)]
Rename ansible_user to cm_user
ansible_user is now used by ansible itself.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 16 Feb 2016 22:33:04 +0000 (15:33 -0700)]
Merge pull request #197 from ceph/wip-14729
Enable Fedora 22 installation in labs
David Galloway [Tue, 16 Feb 2016 21:17:57 +0000 (16:17 -0500)]
cobbler: Modify postinstall trigger script to work with Fedora 22
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 16 Feb 2016 20:47:33 +0000 (15:47 -0500)]
Install pip on Fedora 22
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 16 Feb 2016 19:50:27 +0000 (14:50 -0500)]
cobbler: Modify Fedora 22 packages installed during kickstart
The @base group no longer exists in Fedora 22 and causes anaconda to
halt during install. Using @^infrastructure-server-environment in its place
The gpg_keys ansible task requires yum to be installed prior to first boot
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Sat, 13 Feb 2016 01:00:10 +0000 (20:00 -0500)]
Install nrpe daemon for Fedora 22
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 12 Feb 2016 23:52:31 +0000 (18:52 -0500)]
Rename Fedora 20 sshd config to Fedora 22 since F20 no longer supported
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 12 Feb 2016 23:41:53 +0000 (18:41 -0500)]
Update package location and requirements for F22
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 16 Feb 2016 21:40:38 +0000 (14:40 -0700)]
Use ansible's new '*become*' options
The old '*sudo*' options are deprecated.
Signed-off-by: Zack Cerza <zack@redhat.com>
David Galloway [Fri, 12 Feb 2016 21:31:42 +0000 (16:31 -0500)]
Renaming and repurposing file since we no longer support F20
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 12 Feb 2016 20:25:10 +0000 (15:25 -0500)]
Adding Fedora22 to labs http://tracker.ceph.com/issues/14729
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 16 Feb 2016 00:16:54 +0000 (19:16 -0500)]
Merge pull request #196 from dmick/master
Include /keys in path to key files, and document what's expected
Dan Mick [Tue, 16 Feb 2016 00:11:38 +0000 (16:11 -0800)]
Include /keys in path to key files, and document what's expected
Signed-off-by: Dan Mick <dan.mick@redhat.com>
David Galloway [Mon, 15 Feb 2016 23:31:09 +0000 (18:31 -0500)]
Merge pull request #195 from dmick/master
Stop looking for keys on git.ceph.com
Dan Mick [Mon, 15 Feb 2016 22:30:39 +0000 (14:30 -0800)]
Stop looking for keys on git.ceph.com
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Zack Cerza [Fri, 5 Feb 2016 17:05:43 +0000 (10:05 -0700)]
Merge pull request #193 from ceph/wip-libvirtpool-check
Fixing srv_libvirtpool check syntax
David Galloway [Fri, 5 Feb 2016 16:02:15 +0000 (11:02 -0500)]
Fixing srv_libvirtpool check syntax
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Thu, 4 Feb 2016 18:56:18 +0000 (11:56 -0700)]
Merge pull request #192 from dmick/wip-vpshost
Add vmhost role, supporting tasks, to provision VPS hosts
Dan Mick [Thu, 28 Jan 2016 06:09:27 +0000 (22:09 -0800)]
Add vmhost role, supporting tasks, to provision VPS hosts
Note: this expects some setup on the host; see README.rst
Dan Mick [Wed, 20 Jan 2016 22:32:41 +0000 (14:32 -0800)]
Merge pull request #191 from ceph/wip-timezone
common: Set timezone (defaults to UTC)
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Wed, 20 Jan 2016 22:19:29 +0000 (15:19 -0700)]
Handle timedatectl output format change
timedatectl in 7.2 helpfully changes 'Timezone' to 'Time zone'. Use a
regexp to handle both formats.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 20 Jan 2016 20:56:04 +0000 (13:56 -0700)]
On CentOS 6, set the hardware clock
/etc/localtime on its own doesn't cause the hardware clock to be reset
(at least immediately). So, do that.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 20 Jan 2016 19:35:23 +0000 (12:35 -0700)]
Use separate codepaths for CentOS 6 vs. 7
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 20 Jan 2016 17:36:56 +0000 (10:36 -0700)]
Set timezone for apt systems
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 20 Jan 2016 17:28:24 +0000 (10:28 -0700)]
Set timezone for yum systems
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 20 Jan 2016 17:28:05 +0000 (10:28 -0700)]
Add default timezone (UTC)
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 20 Jan 2016 17:17:18 +0000 (10:17 -0700)]
common: Split out tasks into yum_systems.yml
Similar to how the testnodes role works. apt_systems.yml will be added
when it's needed.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 19 Jan 2016 17:29:01 +0000 (10:29 -0700)]
Merge pull request #190 from ceph/wip-puddle-updates
puddle: fixes for ceph-1.3-async and distill
Ken Dreyer [Fri, 15 Jan 2016 22:02:10 +0000 (15:02 -0700)]
puddle: add SCL to ceph-1.3-async configuration
In RHCeph 1.3.1, we introduced Foreman, which has a dependency on the
SCL product. All async updates after this must use the SCL repo for
repoclosure.
Ken Dreyer [Mon, 21 Dec 2015 23:45:47 +0000 (16:45 -0700)]
puddle/ceph-distill: rm unused variable
This would cause `ceph-distill` to fail when the file did not exist for
`cat` to find.
Andrew Schoen [Fri, 15 Jan 2016 18:20:38 +0000 (12:20 -0600)]
Merge pull request #188 from ceph/wip-cobbler-centos7
cobbler_profile: Add CentOS 7.1 and 7.2
Zack Cerza [Fri, 15 Jan 2016 15:41:16 +0000 (08:41 -0700)]
Merge pull request #189 from dmick/master
Add 'nokeymap' to inktank-rescue cobbler profile's kernel options
Dan Mick [Fri, 15 Jan 2016 03:09:53 +0000 (19:09 -0800)]
Add 'nokeymap' to inktank-rescue cobbler profile's kernel options
This stops it prompting for a keymap on boot.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Zack Cerza [Wed, 13 Jan 2016 21:35:16 +0000 (14:35 -0700)]
cobbler_profile: Add CentOS 7.1 and 7.2
Also rename the old CentOS 7 profile to reflect that it is for 7.0
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Wed, 13 Jan 2016 21:32:26 +0000 (15:32 -0600)]
Merge pull request #186 from ceph/revert-166-wip-rm-fastcgi-rhel
Revert "testnode: do not install fastcgi on RHEL"
Vasu Kulkarni [Wed, 13 Jan 2016 18:35:41 +0000 (13:35 -0500)]
use gitbuilder_host variable instead of hardcoded url name
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Andrew Schoen [Wed, 13 Jan 2016 17:57:05 +0000 (11:57 -0600)]
Merge pull request #167 from ceph/wip-rhel-pkg
rhel package changes required for ceph
Zack Cerza [Wed, 13 Jan 2016 15:39:04 +0000 (08:39 -0700)]
Merge pull request #187 from dmick/master
users: filter userlists against 'users' later
Dan Mick [Wed, 13 Jan 2016 05:17:32 +0000 (21:17 -0800)]
users: filter userlists against 'users' later
Filter the user lists after the other list-modifying
operations. This way, the user-requested 'users' variable
filter has final say over which users are considered.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
vasukulkarni [Tue, 12 Jan 2016 23:28:44 +0000 (15:28 -0800)]
Revert "testnode: do not install fastcgi on RHEL"
Vasu Kulkarni [Mon, 16 Nov 2015 20:25:44 +0000 (15:25 -0500)]
Remove ceph dependency packages
Remove the additional ceph dependency packages and let the installer install them
during install task.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
vasukulkarni [Fri, 13 Nov 2015 23:19:32 +0000 (15:19 -0800)]
add leveldb and xmlstartlet from epel
leveldb and xmlstartlet are required for rhel to satisfy dependency
Signed-off-by: Vasu Kulkarni vasu@redhat.com
Dan Mick [Tue, 5 Jan 2016 01:28:32 +0000 (17:28 -0800)]
Merge pull request #185 from ceph/wip-nrpe-reload
testnodes: fixing nrpe service configuration setup order
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Mon, 4 Jan 2016 16:45:57 +0000 (11:45 -0500)]
testnodes: fixing nrpe service configuration setup order
- Undo commit
2f28215cf79e596142986c8835040e5b1676849b
- Service should be restarted after nrpe.cfg is modified; not after the /etc/default/{{ nrpe_service_name }} file is modified
- /etc/default/{{ nrpe_service_name }} gets read anytime service is restarted
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Thu, 24 Dec 2015 00:21:33 +0000 (16:21 -0800)]
Merge pull request #184 from ceph/wip-nagios-clients
testnodes: updates nagios clients for lab move and yum systems
Reviewed-by: Dan Mick <dmick@redhat.com>
dgalloway [Wed, 23 Dec 2015 23:08:39 +0000 (18:08 -0500)]
testnodes: Service should be restarted after all configuring is done
Signed-off-by: David Galloway <dgallowa@redhat.com>