]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
10 years agoTestnode: touch /ceph-qa-ready 37/head
Zack Cerza [Thu, 21 May 2015 21:40:43 +0000 (15:40 -0600)]
Testnode: touch /ceph-qa-ready

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #30 from ceph/wip-epel-11628
Zack Cerza [Thu, 21 May 2015 18:05:31 +0000 (12:05 -0600)]
Merge pull request #30 from ceph/wip-epel-11628

Adds the ability to opt-out of enabling epel in the common role.

10 years agoMerge pull request #36 from ceph/cobbler-wget-no-retry
Andrew Schoen [Thu, 21 May 2015 18:05:11 +0000 (13:05 -0500)]
Merge pull request #36 from ceph/cobbler-wget-no-retry

Don't hit the post-install trigger multiple times

10 years agoMerge pull request #35 from ceph/cobbler-ubuntu-vivid
Zack Cerza [Thu, 21 May 2015 18:04:52 +0000 (12:04 -0600)]
Merge pull request #35 from ceph/cobbler-ubuntu-vivid

cobbler: one ubuntu preseed for trusty, precise and vivid

10 years agoDon't hit the post-install trigger multiple times 36/head
Zack Cerza [Thu, 21 May 2015 18:01:44 +0000 (12:01 -0600)]
Don't hit the post-install trigger multiple times

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agocobbler: remove the cephlab_trusty.preseed kickstart 35/head
Andrew Schoen [Wed, 20 May 2015 20:07:20 +0000 (15:07 -0500)]
cobbler: remove the cephlab_trusty.preseed kickstart

This has been obsoleted by cephlab_ubuntu.preseed.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler_profile: add the ability to set kernel options.
Andrew Schoen [Wed, 20 May 2015 19:10:28 +0000 (14:10 -0500)]
cobbler_profile: add the ability to set kernel options.

We can now provide custom kernel_options and kernel_options_post when
creating a profile. Updating the kernel_options are not idempotent
however as some kernel options are always return from the distro.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler_profile: move kickstart updating tasks into their own yml file.
Andrew Schoen [Tue, 19 May 2015 20:50:00 +0000 (15:50 -0500)]
cobbler_profile: move kickstart updating tasks into their own yml file.

This also introduce a var, profile_found, which we can reuse for
updating other parts of a profile like kernel options.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler: add tags to cobbler_profile roles in cobbler.yml
Andrew Schoen [Tue, 19 May 2015 14:51:30 +0000 (09:51 -0500)]
cobbler: add tags to cobbler_profile roles in cobbler.yml

This allows us to target each profile individually instead of running
the entire playbook to edit one profile.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler_profile: use the mount module instead of command to mount isos
Andrew Schoen [Mon, 18 May 2015 18:09:52 +0000 (13:09 -0500)]
cobbler_profile: use the mount module instead of command to mount isos

The mount module is idempotent, so we should use that instead.  Also,
clear the mount point each time so that if the playbook fails on the
next run it'll actually remount and complete the rest of the tasks
instead of skipping them because the iso is already mounted.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler_profile: add profiles for ubuntu precise, trusty and vivid.
Andrew Schoen [Mon, 18 May 2015 16:11:44 +0000 (11:11 -0500)]
cobbler_profile: add profiles for ubuntu precise, trusty and vivid.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler: add new ubuntu preseed and kernel snippet to defaults/main.yml
Andrew Schoen [Mon, 18 May 2015 16:43:52 +0000 (11:43 -0500)]
cobbler: add new ubuntu preseed and kernel snippet to defaults/main.yml

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler: adds a snippet to create post install kernel options.
Andrew Schoen [Fri, 15 May 2015 21:12:20 +0000 (16:12 -0500)]
cobbler: adds a snippet to create post install kernel options.

This snippet is used by the cephlab_preseed_late script to set the
GRUB_CMDLINE_LINUX value in /etc/defaults/grub to what's defined by
the system, profile or distro that's currently being imaged.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocobbler: adds a ubuntu preseed that can be used for multiple versions.
Andrew Schoen [Thu, 14 May 2015 21:31:34 +0000 (16:31 -0500)]
cobbler: adds a ubuntu preseed that can be used for multiple versions.

This uses the os_version cobbler variable to decide which version of
ubuntu it's using. This variable is set on the distro that is currently
using the cephlab_ubuntu preseed.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #34 from ceph/wip-distill-updates
Andrew Schoen [Wed, 20 May 2015 14:36:36 +0000 (09:36 -0500)]
Merge pull request #34 from ceph/wip-distill-updates

puddle: use distill configs from rcm-metadata.git

10 years agopuddle: skip some cleanup in ceph-distill 34/head
Ken Dreyer [Wed, 20 May 2015 03:25:03 +0000 (21:25 -0600)]
puddle: skip some cleanup in ceph-distill

The ceph-distill script was deleting some files that distill doesn't
create any more (because we now set "skip_phase = createiso"). Stop
attempting to delete these.

10 years agopuddle: distill uses "compose" tag
Ken Dreyer [Wed, 20 May 2015 00:50:48 +0000 (18:50 -0600)]
puddle: distill uses "compose" tag

See RT #345524

10 years agopuddle: use distill configs from rcm-metadata.git
Ken Dreyer [Tue, 19 May 2015 23:50:00 +0000 (17:50 -0600)]
puddle: use distill configs from rcm-metadata.git

Originally I thought that we could store each of distill's individual
configuration files in ceph-cm-ansible.git, but this is becoming
untenable because there are too many templated values, and I'm trying to
sync these files closely with the copies from Red Hat's rel-eng team.

This commit uses the git module to clone a rcm-metadata.git repository
to /etc/distill and alters the "ceph-distill" wrapper script to use that
location instead.

Since the individual templated files are no longer needed (the full
versions are in rcm-metadata.git), delete them from the tree here.

10 years agoMerge pull request #33 from ceph/wip-trigger
Andrew Schoen [Tue, 19 May 2015 21:08:14 +0000 (16:08 -0500)]
Merge pull request #33 from ceph/wip-trigger

Don't block while running the larger playbook

10 years agoDon't block while running the larger playbook 33/head
Zack Cerza [Tue, 19 May 2015 21:05:18 +0000 (15:05 -0600)]
Don't block while running the larger playbook

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #32 from ceph/wip-nginx-install
Andrew Schoen [Tue, 19 May 2015 20:18:04 +0000 (15:18 -0500)]
Merge pull request #32 from ceph/wip-nginx-install

puddle: move nginx params on to multiple lines

10 years agoAdds the ability to opt-out of enabling epel in the common role. 30/head
Andrew Schoen [Fri, 15 May 2015 14:16:43 +0000 (09:16 -0500)]
Adds the ability to opt-out of enabling epel in the common role.

Some of our labs should not be using epel.  This allows us to use
the enable_epel var to opt-out out of that per-lab by using the -secrets
repos.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agopuddle: move nginx params on to multiple lines 32/head
Ken Dreyer [Fri, 15 May 2015 21:46:03 +0000 (15:46 -0600)]
puddle: move nginx params on to multiple lines

Follow the convention of putting each parameter on multiple lines,
instead of cramming everything into one line.

This is a style change only; no functional change.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
10 years agoMerge pull request #31 from ceph/wip-s3tests-11637
Zack Cerza [Mon, 18 May 2015 17:40:48 +0000 (11:40 -0600)]
Merge pull request #31 from ceph/wip-s3tests-11637

Install python-devel and python-virtualenv on rhel 7.x

10 years agoMerge pull request #24 from dmick/master
Andrew Schoen [Fri, 15 May 2015 22:04:03 +0000 (17:04 -0500)]
Merge pull request #24 from dmick/master

Add tools subdir containing vmlist.py script

10 years agoInstall python-devel and python-virtualenv on rhel 7.x 31/head
Andrew Schoen [Fri, 15 May 2015 14:42:35 +0000 (09:42 -0500)]
Install python-devel and python-virtualenv on rhel 7.x

re: http://tracker.ceph.com/issues/11637

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #29 from ceph/cobbler-import-distro
Andrew Schoen [Thu, 14 May 2015 20:02:49 +0000 (15:02 -0500)]
Merge pull request #29 from ceph/cobbler-import-distro

Add cobbler_role profile

10 years agoMove ISO dir/mountpoint creation to cobbler role 29/head
Zack Cerza [Thu, 14 May 2015 19:08:11 +0000 (13:08 -0600)]
Move ISO dir/mountpoint creation to cobbler role

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agocobbler: update distro signatures
Zack Cerza [Thu, 14 May 2015 18:52:48 +0000 (12:52 -0600)]
cobbler: update distro signatures

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd cobbler_role profile
Zack Cerza [Thu, 14 May 2015 00:05:22 +0000 (18:05 -0600)]
Add cobbler_role profile

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #28 from ceph/wip-fix-rhel6
Andrew Schoen [Wed, 13 May 2015 15:14:27 +0000 (10:14 -0500)]
Merge pull request #28 from ceph/wip-fix-rhel6

Fix RHEL6

10 years agoMerge pull request #27 from ceph/wip-11567
Zack Cerza [Tue, 12 May 2015 21:33:49 +0000 (15:33 -0600)]
Merge pull request #27 from ceph/wip-11567

Make rhel 7.0 tasks run on any rhel 7.x version.

10 years agoEnsure rpcbind is started before starting nfs-server. 27/head
Andrew Schoen [Tue, 12 May 2015 21:22:42 +0000 (16:22 -0500)]
Ensure rpcbind is started before starting nfs-server.

This fixes a bug where on rhel 7.1 nfs-server failed to start because
rpcbind was not running.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoInstall SELinux python bindings on RHEL6 28/head
Zack Cerza [Tue, 12 May 2015 20:57:13 +0000 (14:57 -0600)]
Install SELinux python bindings on RHEL6

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse a new snippet for configuring disks on RHEL
Zack Cerza [Tue, 12 May 2015 20:33:04 +0000 (14:33 -0600)]
Use a new snippet for configuring disks on RHEL

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMake rhel 7.0 tasks run on any rhel 7.x version.
Andrew Schoen [Tue, 12 May 2015 20:02:04 +0000 (15:02 -0500)]
Make rhel 7.0 tasks run on any rhel 7.x version.

This shouldn't have been restricted to only 7.0 in the first place. We
noticed this problem while testing rhel 7.1 and noticing that firewalld
was not disabled.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agovmlist.py: treat "-h/--host" case outside the normal flow 24/head
Dan Mick [Fri, 8 May 2015 21:27:33 +0000 (14:27 -0700)]
vmlist.py: treat "-h/--host" case outside the normal flow

Needlessly complex trying to mix the streams, and no reason for
a separate process when doing only one machine; needed to make
outputfile default to None anyway

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agovmlist.py: allow env to override config; add comment for Cfg class
Dan Mick [Fri, 8 May 2015 21:20:20 +0000 (14:20 -0700)]
vmlist.py: allow env to override config; add comment for Cfg class

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agovmlist.py: vmmachines -> vm_hosts, --machine -> --host
Dan Mick [Fri, 8 May 2015 21:19:09 +0000 (14:19 -0700)]
vmlist.py: vmmachines -> vm_hosts, --machine -> --host

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agovmlist.py: Allow outputfile == None for list_nova too
Dan Mick [Fri, 8 May 2015 21:05:53 +0000 (14:05 -0700)]
vmlist.py: Allow outputfile == None for list_nova too

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #26 from ceph/wip-fix-user-tag
Andrew Schoen [Fri, 8 May 2015 20:12:37 +0000 (15:12 -0500)]
Merge pull request #26 from ceph/wip-fix-user-tag

'user' tag, not 'users'

10 years ago'user' tag, not 'users' 26/head
Zack Cerza [Fri, 8 May 2015 20:04:07 +0000 (14:04 -0600)]
'user' tag, not 'users'

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #23 from ceph/wip-non-sudo-users
Zack Cerza [Thu, 7 May 2015 15:23:04 +0000 (09:23 -0600)]
Merge pull request #23 from ceph/wip-non-sudo-users

users: create users with sudo privs and some without

10 years agoMerge pull request #25 from ceph/wip-git
Andrew Schoen [Thu, 7 May 2015 14:05:45 +0000 (09:05 -0500)]
Merge pull request #25 from ceph/wip-git

Make sure git is installed

10 years agoMake sure git is installed 25/head
Zack Cerza [Wed, 6 May 2015 22:32:35 +0000 (16:32 -0600)]
Make sure git is installed

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd tools subdir containing vmlist.py script
Dan Mick [Wed, 6 May 2015 22:00:38 +0000 (15:00 -0700)]
Add tools subdir containing vmlist.py script

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agousers: creates users with sudo access and users without. 23/head
Andrew Schoen [Wed, 6 May 2015 20:18:00 +0000 (15:18 -0500)]
users: creates users with sudo access and users without.

Introduces a new list of users, managed_admin_users, which are given
sudo access.  The existing list, managed_users, are not not given sudo
access.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agousers: move create_users.yml into main.yml in the users role.
Andrew Schoen [Wed, 6 May 2015 19:33:14 +0000 (14:33 -0500)]
users: move create_users.yml into main.yml in the users role.

This just simplifies the structure a bit, there was really no need to
have that as a separate file.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #22 from ceph/wip-cobbler-selinux
Andrew Schoen [Wed, 6 May 2015 18:42:01 +0000 (13:42 -0500)]
Merge pull request #22 from ceph/wip-cobbler-selinux

Use SELinux permissive on RHEL

10 years agoUse SELinux permissive on RHEL 22/head
Zack Cerza [Wed, 6 May 2015 18:38:26 +0000 (12:38 -0600)]
Use SELinux permissive on RHEL

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #1 from ceph/users
Ken Dreyer [Wed, 6 May 2015 16:10:54 +0000 (10:10 -0600)]
Merge pull request #1 from ceph/users

Adds a users role and adds that role to cobbler.yml and testnodes.yml

10 years agoMerge pull request #21 from ceph/wip-cobbler-tweaks
Andrew Schoen [Tue, 5 May 2015 23:42:45 +0000 (18:42 -0500)]
Merge pull request #21 from ceph/wip-cobbler-tweaks

Cobbler tweaks, and retry entitlements

10 years agoRetry subscription-manager register 21/head
Zack Cerza [Tue, 5 May 2015 22:49:02 +0000 (16:49 -0600)]
Retry subscription-manager register

Because of: https://bugzilla.redhat.com/show_bug.cgi?id=1218804

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoRun the full playbook after user,pubkeys
Zack Cerza [Tue, 5 May 2015 22:48:42 +0000 (16:48 -0600)]
Run the full playbook after user,pubkeys

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMake users a dependancy of the common role. 1/head
Andrew Schoen [Tue, 5 May 2015 23:06:47 +0000 (18:06 -0500)]
Make users a dependancy of the common role.

We want all nodes to manage users so in that respect it is common, but
keeping it in it's own role allows us more flexibility in its use.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdd a new users playbook.
Andrew Schoen [Mon, 4 May 2015 18:13:46 +0000 (13:13 -0500)]
Add a new users playbook.

This will run against all hosts and add / update that nodes
managed_users.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdds a users role and adds that role to cobbler.yml and testnodes.yml
Andrew Schoen [Wed, 22 Apr 2015 21:37:54 +0000 (16:37 -0500)]
Adds a users role and adds that role to cobbler.yml and testnodes.yml

This new role will be used to create users and setup authorized_keys for
lists of users defined in group inventory files.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #20 from ceph/wip-puddle-updates
Andrew Schoen [Tue, 5 May 2015 22:38:45 +0000 (17:38 -0500)]
Merge pull request #20 from ceph/wip-puddle-updates

puddle: add CEPH-TOOLS repo and `ceph-puddle` utility

10 years agopuddle: add ceph-puddle wrapper script 20/head
Ken Dreyer [Tue, 5 May 2015 22:12:05 +0000 (16:12 -0600)]
puddle: add ceph-puddle wrapper script

This wraps k5start and Puddle so I don't have to remember the exact
command and keytab location. I can now simply run "ceph-puddle", like
so:

  $ ceph-puddle /etc/puddle/ceph/ceph-1.3-rhel-7.conf

The purpose of this commit is to make it easier/simpler to run Puddle
with Kerberos credentials.

10 years agoMerge pull request #19 from ceph/wip-cobbler-rhel-ks
Andrew Schoen [Tue, 5 May 2015 21:31:56 +0000 (16:31 -0500)]
Merge pull request #19 from ceph/wip-cobbler-rhel-ks

Cobbler: don't hog all disks when installing RHEL

10 years agoGroup disk-related options together 19/head
Zack Cerza [Tue, 5 May 2015 21:07:41 +0000 (15:07 -0600)]
Group disk-related options together

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse a small root partition instead of LVM
Zack Cerza [Tue, 5 May 2015 21:06:05 +0000 (15:06 -0600)]
Use a small root partition instead of LVM

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agopuddle: add ceph-1.3 tools repo
Ken Dreyer [Tue, 5 May 2015 20:17:51 +0000 (14:17 -0600)]
puddle: add ceph-1.3 tools repo

This repository will be included with RHEL. It is the replacement for
Ceph's use of RH-COMMON, so it will contain the Ceph client bits and
ceph-radosgw package.

See Red Hat rel-eng's RT #344094 (internal ticket).

10 years agoFix syntax error
Zack Cerza [Tue, 5 May 2015 16:33:16 +0000 (10:33 -0600)]
Fix syntax error

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #18 from ceph/wip-auto-ansible
Andrew Schoen [Tue, 5 May 2015 16:29:51 +0000 (11:29 -0500)]
Merge pull request #18 from ceph/wip-auto-ansible

Cobbler: automatically run ansible after install of new-style profiles

10 years agoUse the cephlab_rc_local snippet 18/head
Zack Cerza [Mon, 4 May 2015 19:14:13 +0000 (13:14 -0600)]
Use the cephlab_rc_local snippet

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd a snippet to write an /etc/rc.local
Zack Cerza [Mon, 4 May 2015 16:54:16 +0000 (10:54 -0600)]
Add a snippet to write an /etc/rc.local

The /etc/rc.local causes the post-install trigger to be run a second
time, then touches a special file so it doesn't run on every reboot.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd post-install trigger to run ansible
Zack Cerza [Mon, 4 May 2015 16:51:17 +0000 (10:51 -0600)]
Add post-install trigger to run ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #17 from ceph/teuth-user-group
Zack Cerza [Mon, 4 May 2015 17:51:07 +0000 (11:51 -0600)]
Merge pull request #17 from ceph/teuth-user-group

Add a teuthology_user group and assign it to the teuthology_user.

10 years agoAdd a teuthology_user group and assign it to the teuthology_user. 17/head
Andrew Schoen [Mon, 4 May 2015 14:19:36 +0000 (09:19 -0500)]
Add a teuthology_user group and assign it to the teuthology_user.

This fixes a bug when creating a CPAN config directory that belongs to the
group teuthology_user.  If this group wasn't created already that play
fails.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #16 from ceph/wip-puddle-1.2-default-vars
Andrew Schoen [Sat, 2 May 2015 22:23:40 +0000 (17:23 -0500)]
Merge pull request #16 from ceph/wip-puddle-1.2-default-vars

puddle: add default ceph-1.2 vars

10 years agopuddle: add default ceph-1.2 vars 16/head
Ken Dreyer [Sat, 2 May 2015 00:27:21 +0000 (18:27 -0600)]
puddle: add default ceph-1.2 vars

Commit a22e9f9d8a52a5039de60b3812016446b2cc0a01 introduced a number of
"ceph_1_2" vars without setting their default values. Set them here.

10 years agoMerge pull request #15 from ceph/wip-puddle-1.2-async
Andrew Schoen [Fri, 1 May 2015 21:43:04 +0000 (16:43 -0500)]
Merge pull request #15 from ceph/wip-puddle-1.2-async

puddle: add 1.2 configs for ceph-async

10 years agopuddle: add 1.2 configs for ceph-async 15/head
Ken Dreyer [Fri, 1 May 2015 21:16:16 +0000 (15:16 -0600)]
puddle: add 1.2 configs for ceph-async

CEPH-ASYNC advisories have a slightly different config than the config
we used for the 1.2.3 release. Here are the changes I made from the
1.2.3 configs:

  1. "errata_release" is "CEPH-ASYNC"
  2. Packages are not always signed (remove the keys settings)
  3. We need to add more repos for repoclosure to succeed (namely, the
     production read-only pulp repos)

10 years agoMerge pull request #14 from ceph/wip-pubkeys
Andrew Schoen [Fri, 1 May 2015 20:18:08 +0000 (15:18 -0500)]
Merge pull request #14 from ceph/wip-pubkeys

pubkeys and user tags

10 years agoAdd user tag to user-creation tasks 14/head
Zack Cerza [Thu, 30 Apr 2015 16:33:41 +0000 (10:33 -0600)]
Add user tag to user-creation tasks

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd pubkeys tag to ansible_user keys task
Zack Cerza [Thu, 30 Apr 2015 16:17:33 +0000 (10:17 -0600)]
Add pubkeys tag to ansible_user keys task

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #13 from ceph/wip-cm-uid
Andrew Schoen [Fri, 1 May 2015 19:36:32 +0000 (14:36 -0500)]
Merge pull request #13 from ceph/wip-cm-uid

Use  ansible_user_uid_ in ansible-managed role

10 years agoUse ansible_user_uid_ in ansible-managed role 13/head
Zack Cerza [Fri, 1 May 2015 19:28:10 +0000 (13:28 -0600)]
Use  ansible_user_uid_ in ansible-managed role

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #12 from ceph/ansible-user-uid
Zack Cerza [Fri, 1 May 2015 19:23:45 +0000 (13:23 -0600)]
Merge pull request #12 from ceph/ansible-user-uid

Also set the ansible_user's uid when creating it in cephlab_trusty.preseed

10 years agoSet the uid of the ansible user in cephlab_trusty.preseed. 12/head
Andrew Schoen [Fri, 1 May 2015 15:26:36 +0000 (10:26 -0500)]
Set the uid of the ansible user in cephlab_trusty.preseed.

We need to explicitly set this uid here just like we do in the
cephlab_user snippet. I also created a var for the uid because we need it in
multiple places.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdd defaults for ansible_user and ansible_user_uid_
Andrew Schoen [Fri, 1 May 2015 15:25:59 +0000 (10:25 -0500)]
Add defaults for ansible_user and ansible_user_uid_

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #11 from ceph/wip-cm-uid
Andrew Schoen [Thu, 30 Apr 2015 21:03:37 +0000 (16:03 -0500)]
Merge pull request #11 from ceph/wip-cm-uid

Use a UID of 1100 for ansible_user

10 years agoUse a UID of 1100 for ansible_user 11/head
Zack Cerza [Thu, 30 Apr 2015 21:00:05 +0000 (15:00 -0600)]
Use a UID of 1100 for ansible_user

Otherwise, sometimes it ends up with 1000, which we want teuthology_user
to have.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #8 from ceph/check-mode-fix
Ken Dreyer [Thu, 30 Apr 2015 15:40:55 +0000 (09:40 -0600)]
Merge pull request #8 from ceph/check-mode-fix

More fixes to support --check mode.

10 years agoMore fixes to support --check mode. 8/head
Andrew Schoen [Thu, 30 Apr 2015 15:36:58 +0000 (10:36 -0500)]
More fixes to support --check mode.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #7 from ceph/mv-default-rhsm-vars
Andrew Schoen [Thu, 30 Apr 2015 15:34:39 +0000 (10:34 -0500)]
Merge pull request #7 from ceph/mv-default-rhsm-vars

move default rhsm vars to "common" role

10 years agomove default rhsm vars to "common" role 7/head
Ken Dreyer [Thu, 30 Apr 2015 15:29:49 +0000 (09:29 -0600)]
move default rhsm vars to "common" role

Commit 3d1ecaac01f9ed7a589741700fdb7fc22056218c moved the Red Hat
subscription bits into the "common" role, but I neglected to move the
default variables to "common" as well. Move them here.

10 years agoMerge pull request #6 from ceph/check-mode-fix
Ken Dreyer [Thu, 30 Apr 2015 15:12:58 +0000 (09:12 -0600)]
Merge pull request #6 from ceph/check-mode-fix

Fixed bug where entitlement setup would fail with --check.

10 years agoFixed bug where entitlement setup would fail with --check. 6/head
Andrew Schoen [Thu, 30 Apr 2015 15:01:40 +0000 (10:01 -0500)]
Fixed bug where entitlement setup would fail with --check.

The command module is skipped when --check is used which causes the
registered var subscription to not exist the next task fails.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #5 from ceph/puddle-updates
Ken Dreyer [Thu, 30 Apr 2015 14:50:53 +0000 (08:50 -0600)]
Merge pull request #5 from ceph/puddle-updates

Puddle updates

10 years agoAdd defaults for the puddle and distill hashes. 5/head
Andrew Schoen [Thu, 30 Apr 2015 14:43:40 +0000 (09:43 -0500)]
Add defaults for the puddle and distill hashes.

This is just helpful as a guide to know what vars are being used in the
puddle role.  These will actually get their values from a group_vars
file for the puddle node.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdd tags to the puddle role.
Andrew Schoen [Thu, 30 Apr 2015 14:25:24 +0000 (09:25 -0500)]
Add tags to the puddle role.

These might be helpful if we ever want to reconfigure puddle without
re-installing it.  Same with distill.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #3 from ceph/wip-puddle
Andrew Schoen [Thu, 30 Apr 2015 14:23:18 +0000 (09:23 -0500)]
Merge pull request #3 from ceph/wip-puddle

add puddle role and playbook

10 years agoMerge pull request #4 from ceph/resolvconf-cleanup
Ken Dreyer [Wed, 29 Apr 2015 20:02:47 +0000 (14:02 -0600)]
Merge pull request #4 from ceph/resolvconf-cleanup

Remove apt-mirror.front from octo resolv.conf base config.

10 years agoRemove apt-mirror.front from octo resolv.conf base config. 4/head
Andrew Schoen [Wed, 29 Apr 2015 19:41:55 +0000 (14:41 -0500)]
Remove apt-mirror.front from octo resolv.conf base config.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoadd puddle role and playbook 3/head
Ken Dreyer [Wed, 1 Apr 2015 14:07:49 +0000 (08:07 -0600)]
add puddle role and playbook

Add the necessary configuration for installing and running distill and
puddle.

Many of the templated variables here are internal to Red Hat and are
present in the other "secrets" Ansible repository.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
10 years agoremove todo section from readme
Andrew Schoen [Sat, 25 Apr 2015 13:35:03 +0000 (08:35 -0500)]
remove todo section from readme

We can put these in a separate file at some point if we need to.

10 years agoMerge branch 'epel-testing' into 'master'
Ken Dreyer [Fri, 24 Apr 2015 21:29:19 +0000 (17:29 -0400)]
Merge branch 'epel-testing' into 'master'

Adds epel-testing to the list of epel repos we install in common.

This also restructures the task a bit so that we can easily add new
repos as vars like we do in the testnodes role.

10 years agoMerge branch 'new-tags' into 'master'
Zack Cerza [Thu, 23 Apr 2015 16:48:44 +0000 (12:48 -0400)]
Merge branch 'new-tags' into 'master'

Add sudoers tag to the sudoers.d tasks in the ansible-managed role.

This gives us another, maybe better, way to configure sudoers for
pipelining if we want to enable that by default in ansible.cfg.