]>
git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
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.
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>
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>
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'
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>
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
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
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>
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>
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>
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
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>
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
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
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>
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>
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>
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>
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>
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
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.
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
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>
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>
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).
Zack Cerza [Tue, 5 May 2015 16:33:16 +0000 (10:33 -0600)]
Fix syntax error
Signed-off-by: Zack Cerza <zack@redhat.com>
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
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>
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>
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>
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.
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>
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
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.
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
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)
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
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>
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>
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
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>
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
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>
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>
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
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>
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.
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>
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
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.
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.
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>
Ken Dreyer [Thu, 30 Apr 2015 14:50:53 +0000 (08:50 -0600)]
Merge pull request #5 from ceph/puddle-updates
Puddle updates
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>
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>
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
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.
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>
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>
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.
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.
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.
Andrew Schoen [Wed, 22 Apr 2015 16:15:48 +0000 (11:15 -0500)]
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.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 22 Apr 2015 15:23:27 +0000 (10:23 -0500)]
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. The epel-testing repo is disabled by defaulti and will
be activated by the roles that need it.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Tue, 21 Apr 2015 20:32:10 +0000 (16:32 -0400)]
Merge branch 'epel-fix' into 'master'
Move the creation of epel.repo to the common role.
This also makes the change to use epel packages that we didn't build ourselves.
There are a couple extra commits here fixing things I found during the process of writing / testing this update.
Andrew Schoen [Tue, 21 Apr 2015 16:29:24 +0000 (11:29 -0500)]
Move the creation of epel.repo to the common role.
This also makes the change to use epel packages not built by us.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 21 Apr 2015 16:27:31 +0000 (11:27 -0500)]
Make sure yum clean all is ran after repos are changed.
There was a bug here because the repo_file registered variable was being
overwritten causing the yum clean all not to run even though the first
block using repo_file had changed. Not reusing the same var for both the
blocks fixed the issue.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 21 Apr 2015 16:25:02 +0000 (11:25 -0500)]
Fixed a couple bugs with ansible user creation.
We need to delete the users password after creation or ansible fails to
connect with the cm user because the node is asking for a password.
Also, the lineinfile making sure #includedir was present wasn't working
correctly.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Tue, 21 Apr 2015 16:32:10 +0000 (12:32 -0400)]
Merge branch 'gitbuilder-var' into 'master'
testnodes: use gitbuilder_host in apt preferences.
Because we can template the gitbuilder_host now we don't need both
ceph.pref and ceph-redhat.pref.
Discussed in IRC today. It appears we can do this based on the history in Chef.
https://github.com/ceph/ceph-qa-chef/commit/
7a5738732b17161b2d29e6535a64c519ea02706b and
https://github.com/ceph/ceph-qa-chef/commit/
66f7c40a21c6fb554e19731b56af310273607889
Andrew Schoen [Mon, 20 Apr 2015 21:55:52 +0000 (17:55 -0400)]
Merge branch 'wip-readme-ansible-managed' into 'master'
doc: add steps for making a host "ansible managed"
Not all hosts have the "cm" user present; this commit adds a bit of text to README to indicate how to bootstrap that.
Ken Dreyer [Mon, 20 Apr 2015 21:57:56 +0000 (15:57 -0600)]
doc: add steps for making a host "ansible managed"
Not all hosts have the "cm" user present; this commit adds a bit of text
to README to indicate how to bootstrap that.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Andrew Schoen [Mon, 20 Apr 2015 21:33:07 +0000 (16:33 -0500)]
testnodes: use gitbuilder_host in apt preferences.
Because we can template the gitbuilder_host now we don't need both
ceph.pref and ceph-redhat.pref.
Discussed in IRC today. It appears we can do this based on the history in Chef
(https://github.com/ceph/ceph-qa-chef/commit/
7a5738732b17161b2d29e6535a64c519ea02706b
and
https://github.com/ceph/ceph-qa-chef/commit/
66f7c40a21c6fb554e19731b56af310273607889 )
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 20 Apr 2015 20:47:42 +0000 (16:47 -0400)]
Merge branch 'kerberos-rm-keyring-cache-type' into 'master'
common: rm kerberos KEYRING cache type
This is only available in later versions of MIT Kerberos and the Linux kernels, so it probably won't work on distros older than RHEL 7.
Ken Dreyer [Mon, 20 Apr 2015 20:46:21 +0000 (16:46 -0400)]
Merge branch 'initial-playbook' into 'master'
Create a playbook to run for initial node setup.
This playbook is meant to be pointed at a node after it's been freshly created. It will ensure that the node is setup to be managed by ansible and then provision it according to it's role set in the hosts file.
All I've included now is the testnodes.yml playbook, but we could include cobbler.yml and any future playbook we write here. Playbooks will be skipped that don't match up with the current host being provisioned. For example, if we add cobbler.yml to this playbook and run it against a testnode the cobbler setup would be skipped because it is not in the 'cobbler' group which constrains the plays in cobbler.yml.
Ken Dreyer [Mon, 20 Apr 2015 20:45:01 +0000 (14:45 -0600)]
common: rm kerberos KEYRING cache type
This is only available in later versions of MIT Kerberos and the Linux
kernels, so it probably won't work on distros older than RHEL 7.
Andrew Schoen [Mon, 20 Apr 2015 20:38:50 +0000 (16:38 -0400)]
Merge branch 'wip-kerberos-common' into 'master'
common: add kerberos task
Add a new "kerberos" task to the common role. This will install the kerberos client (kinit) on all hosts and configure /etc/krb5.conf with the appropriate realm.
On our internal lab, ansible will insert our Red Hat kerberos realm into the default_realm. In the community lab, this will use a dummy EXAMPLE.COM realm, similar to what the packages install by default.
Ken Dreyer [Mon, 20 Apr 2015 19:06:55 +0000 (13:06 -0600)]
common: add kerberos task
Add a new "kerberos" task to the common role. This will install the
kerberos client (kinit) on all hosts and configure /etc/krb5.conf with
the appropriate realm.
On our internal lab, ansible will insert our Red Hat kerberos realm into
the default_realm. In the community lab, this will use a dummy
EXAMPLE.COM realm, similar to what the packages install by default.
Andrew Schoen [Mon, 20 Apr 2015 19:46:49 +0000 (14:46 -0500)]
Creates a new playbook to run for initial node setup.
This playbook is meant to be pointed at a freshly reimaged node to
ensure that it's setup to be managed by ansible and provisioned
according to its defined role in the inventory.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Fri, 17 Apr 2015 21:28:59 +0000 (17:28 -0400)]
Merge branch 'sudoers-update' into 'master'
Some updates to sudoers
I noticed that when running the ansible_managed.yml playbook against a rhel node that had already been provisioned that the cm user did not have sudo privs. This was because there was no #includedir directive in /etc/sudoers to activate anything inside of sudoers.d.
This fixes that in the sudoers template for yum systems as well as ensuring the #includedir is present in ansible_managed.yml.
Zack Cerza [Fri, 17 Apr 2015 21:20:11 +0000 (17:20 -0400)]
Merge branch 'chef-pr-12' into 'master'
RBD: add user, prereq packages, and LVM config for xfstests
This is a port of:
https://github.com/ceph/ceph-qa-chef/pull/12/files
Zack Cerza [Fri, 17 Apr 2015 21:14:12 +0000 (17:14 -0400)]
Merge branch 'debian' into 'master'
Port of debian 7 from chef
This is mainly just moving things around so that ubuntu and debian can both use those. Also, a few debian specific things and repos / packages for debian.
Andrew Schoen [Fri, 17 Apr 2015 21:12:22 +0000 (16:12 -0500)]
RBD: add support for xfstests and required prerequisites.
This is a port of:
https://github.com/ceph/ceph-qa-chef/pull/12/files
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 16:20:02 +0000 (11:20 -0500)]
Customized the debian wheezy sshd_config
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 16:19:01 +0000 (11:19 -0500)]
Add a stock debian wheezy sshd_config
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 16:11:45 +0000 (11:11 -0500)]
Stop apache2 and collectl after installing them.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 16:11:20 +0000 (11:11 -0500)]
Add apt_repos and packages for debian 7.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 15:42:37 +0000 (10:42 -0500)]
Setup debian specific things.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 15:33:26 +0000 (10:33 -0500)]
Reorganizing tasks that debian and ubuntu both need.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Fri, 17 Apr 2015 15:32:19 +0000 (11:32 -0400)]
Merge branch 'git-mirror' into 'master'
Use the git_mirror_host var.
Zack Cerza [Fri, 17 Apr 2015 15:31:47 +0000 (11:31 -0400)]
Merge branch 'rhel-cleanup' into 'master'
Minor cleanup of an unneeded task.
This won't be needed anymore once the ubuntu stuff gets merged. It includes a commit that adds the 'always' tag to vars.yml ensuring that those will get ran every time --tags is used.
It should be fine to merge before the ubuntu port as well.
Andrew Schoen [Fri, 17 Apr 2015 14:59:38 +0000 (09:59 -0500)]
Ensure sudoers.d will work with ansible_managed.yml.
If the includedir directive isn't enabled in /etc/sudoers then our
custom cephlab_sudo file in sudoers.d won't be loaded. This means that
our new ansible user can't use sudo and nothing works.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 14:41:27 +0000 (09:41 -0500)]
Add #includedir directive to /etc/sudoers.
This ensures that we're including files in /etc/sudoers.d. This is
important so that the cephlab_sudo file we put in /etc/sudoers.d stays
activated.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Apr 2015 14:36:39 +0000 (09:36 -0500)]
Use the git_mirror_host var.
Our git mirror host just changed and the value for it shouldn't
have been hardcoded anyway.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Thu, 16 Apr 2015 21:34:06 +0000 (17:34 -0400)]
Merge branch 'ubuntu' into 'master'
Support for ubuntu trusty and precise.
I've tested this on both precise and trusty. I'm reimaging another trusty node now to try another fresh provision, but I don't expect any trouble.
Andrew Schoen [Tue, 14 Apr 2015 18:05:00 +0000 (13:05 -0500)]
Customize sshd_config for ubuntu precise
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 14 Apr 2015 16:00:54 +0000 (11:00 -0500)]
Install python-pip on systems that use apt.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 14 Apr 2015 16:00:13 +0000 (11:00 -0500)]
with_items must be a single list, not a list of lists.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 14 Apr 2015 15:59:48 +0000 (10:59 -0500)]
Add a stock sshd_config for ubuntu precise
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 14 Apr 2015 15:44:53 +0000 (10:44 -0500)]
Add packages for precise; move common packages to vars/ubuntu.yml.
This allows precise and trusty to share a list of packages that are
common to both of them.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 14 Apr 2015 15:20:57 +0000 (10:20 -0500)]
Add a sources.list.precise template; use mirror_host var in sources.list.*
Signed-off-by: Andrew Schoen <aschoen@redhat.com>