]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
10 years agof; more review feedback from dmick 75/head
Andrew Schoen [Thu, 16 Jul 2015 14:49:24 +0000 (09:49 -0500)]
f; more review feedback from dmick

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agof; attempt to make comments better in defaults/main.yml
Andrew Schoen [Wed, 15 Jul 2015 21:28:52 +0000 (16:28 -0500)]
f; attempt to make comments better in defaults/main.yml

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agof; try to explain how packages and common_packages work
Andrew Schoen [Wed, 15 Jul 2015 21:18:52 +0000 (16:18 -0500)]
f; try to explain how packages and common_packages work

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: adds common_apt_repos and apt_repos to the docs and defaults
Andrew Schoen [Wed, 15 Jul 2015 21:02:30 +0000 (16:02 -0500)]
testnode: adds common_apt_repos and apt_repos to the docs and defaults

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agof; review feedback from dan
Andrew Schoen [Wed, 15 Jul 2015 20:24:58 +0000 (15:24 -0500)]
f; review feedback from dan

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: add documentation for this role
Andrew Schoen [Wed, 15 Jul 2015 14:25:54 +0000 (09:25 -0500)]
testnode: add documentation for this role

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: add common_packages to defaults/main.yml
Andrew Schoen [Wed, 15 Jul 2015 14:24:55 +0000 (09:24 -0500)]
testnode: add common_packages to defaults/main.yml

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #81 from dmick/master
Andrew Schoen [Thu, 16 Jul 2015 13:57:49 +0000 (08:57 -0500)]
Merge pull request #81 from dmick/master

Fix warning in 'when' clause in 'Create the teuthology user.'

10 years agoFix warning in 'when' clause in 'Create the teuthology user.' 81/head
Dan Mick [Thu, 16 Jul 2015 03:12:59 +0000 (20:12 -0700)]
Fix warning in 'when' clause in 'Create the teuthology user.'

Warnings appeared each run:

[WARNING]: It is unnecessary to use '{{' in conditionals, leave variables in
loop expressions bare

Apparently 'when' clauses are already Jinja2 expressions, and so don't
need the normal variable quoting.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #80 from ceph/wip-remove-mandatory-secrets-path
Dan Mick [Wed, 15 Jul 2015 20:03:14 +0000 (13:03 -0700)]
Merge pull request #80 from ceph/wip-remove-mandatory-secrets-path

common: |mandatory is not needed for secrets_path, it is always defined.

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agocommon: |mandatory is not needed for secrets_path, it is always defined. 80/head
Andrew Schoen [Wed, 15 Jul 2015 18:47:09 +0000 (13:47 -0500)]
common: |mandatory is not needed for secrets_path, it is always defined.

secrets_path comes from the secrets role and it is always defined.  It
will default to /etc/ansible/secrets if the env var ANSIBLE_SECRETS_PATH
is not defined. You can also define secrets_path by passing a variable
to the playbook being used.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #79 from ceph/wip-cobbler-git
Andrew Schoen [Wed, 15 Jul 2015 17:50:24 +0000 (12:50 -0500)]
Merge pull request #79 from ceph/wip-cobbler-git

cobbler: install git

10 years agoMerge pull request #77 from ceph/wip-cobbler-system-defaults
Andrew Schoen [Wed, 15 Jul 2015 17:50:07 +0000 (12:50 -0500)]
Merge pull request #77 from ceph/wip-cobbler-system-defaults

cobbler_systems: properly find defaults

10 years agoMerge pull request #78 from ceph/wip-cobbler-rh-firewall
Andrew Schoen [Wed, 15 Jul 2015 17:49:11 +0000 (12:49 -0500)]
Merge pull request #78 from ceph/wip-cobbler-rh-firewall

Cobbler: ignore firewalld if it's not running

10 years agocobbler: install git 79/head
Zack Cerza [Wed, 15 Jul 2015 17:47:28 +0000 (11:47 -0600)]
cobbler: install git

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoCobbler: ignore firewalld if it's not running 78/head
Zack Cerza [Wed, 15 Jul 2015 17:44:37 +0000 (11:44 -0600)]
Cobbler: ignore firewalld if it's not running

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agocobbler_systems: properly find defaults 77/head
Zack Cerza [Wed, 15 Jul 2015 17:07:54 +0000 (11:07 -0600)]
cobbler_systems: properly find defaults

For interface and kernel_options

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMake firewall changes immediate
Zack Cerza [Wed, 15 Jul 2015 16:50:34 +0000 (10:50 -0600)]
Make firewall changes immediate

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #76 from ceph/wip-cobbler-rh-firewall
Andrew Schoen [Wed, 15 Jul 2015 16:36:33 +0000 (11:36 -0500)]
Merge pull request #76 from ceph/wip-cobbler-rh-firewall

Manage the firewall on RHEL/CentOS 6/7

10 years agoManage the firewall on RHEL/CentOS 6/7 76/head
Zack Cerza [Wed, 15 Jul 2015 16:31:44 +0000 (10:31 -0600)]
Manage the firewall on RHEL/CentOS 6/7

On EL7, poke holes for http and https. On EL6, just stop iptables.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #74 from ceph/wip-fix-entitlements
Andrew Schoen [Tue, 14 Jul 2015 16:41:48 +0000 (11:41 -0500)]
Merge pull request #74 from ceph/wip-fix-entitlements

Fix entitlements

10 years agoMerge pull request #68 from ceph/wip-var-docs
Dan Mick [Tue, 14 Jul 2015 16:41:03 +0000 (09:41 -0700)]
Merge pull request #68 from ceph/wip-var-docs

docs: explain where to define variables for use in roles

10 years agoFix replace_repos logic 74/head
Zack Cerza [Tue, 14 Jul 2015 01:08:24 +0000 (19:08 -0600)]
Fix replace_repos logic

The issues were with quoting of booleans, and |success vs. .rc == 0

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFix logic of finding entitlements.yml
Zack Cerza [Tue, 14 Jul 2015 00:59:54 +0000 (18:59 -0600)]
Fix logic of finding entitlements.yml

We were mistakenly checking for the existence of entitlements.yml on the
*remote* end.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agodocs: explain where to define variables for use in roles 68/head
Andrew Schoen [Wed, 8 Jul 2015 15:52:21 +0000 (10:52 -0500)]
docs: explain where to define variables for use in roles

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #73 from ceph/wip-12256
Zack Cerza [Fri, 10 Jul 2015 14:52:56 +0000 (08:52 -0600)]
Merge pull request #73 from ceph/wip-12256

DNM: roles used by teuthology should not require a secrets repo

10 years agoansible-managed: skip adding pub_keys if vars is not defined 73/head
Andrew Schoen [Thu, 9 Jul 2015 21:49:14 +0000 (16:49 -0500)]
ansible-managed: skip adding pub_keys if vars is not defined

This lets this play gracefully skip if ansible_user and ansible_ssh_keys
is not defined.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocommon: default the epel_mirror_baseurl var
Andrew Schoen [Thu, 9 Jul 2015 21:22:55 +0000 (16:22 -0500)]
common: default the epel_mirror_baseurl var

Defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: default the gitbuilder_host var
Andrew Schoen [Thu, 9 Jul 2015 21:21:30 +0000 (16:21 -0500)]
testnode: default the gitbuilder_host var

Defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: set a default for the var ntp_servers
Andrew Schoen [Thu, 9 Jul 2015 21:13:03 +0000 (16:13 -0500)]
testnode: set a default for the var ntp_servers

Defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: default git_mirror_host
Andrew Schoen [Thu, 9 Jul 2015 21:01:45 +0000 (16:01 -0500)]
testnode: default git_mirror_host

Defaults to the value used in our sepia lab

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: default mirror_host var
Andrew Schoen [Thu, 9 Jul 2015 20:51:21 +0000 (15:51 -0500)]
testnode: default mirror_host var

This defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocreates a new sudo role that ensures all plays are ran with sudo
Andrew Schoen [Thu, 9 Jul 2015 20:18:31 +0000 (15:18 -0500)]
creates a new sudo role that ensures all plays are ran with sudo

This should be added as a dependancy to any other roles that require
sudo. This commits adds it to ansible-managed, common and testnode.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: make lab_domain an optional var
Andrew Schoen [Thu, 9 Jul 2015 19:26:05 +0000 (14:26 -0500)]
testnode: make lab_domain an optional var

lab_domain is used to strip the domain from the nodes hostname, this
allows that task to be skipped if lab_domain isn't provided.  I believe
we only do this because of some quirk in how cobbler images our rhel
nodes, we might not even need this functionality.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #72 from dachary/wip-fstab
Andrew Schoen [Thu, 9 Jul 2015 20:36:42 +0000 (15:36 -0500)]
Merge pull request #72 from dachary/wip-fstab

implement modify_fstab to skip /etc/fstab modification

10 years agoimplement modify_fstab to persist mount options in /etc/fstab 72/head
Loic Dachary [Thu, 9 Jul 2015 14:48:11 +0000 (16:48 +0200)]
implement modify_fstab to persist mount options in /etc/fstab

http://tracker.ceph.com/issues/12250 Fixes: #12250

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #69 from ceph/wip-cobbler-httpd
Andrew Schoen [Thu, 9 Jul 2015 17:32:52 +0000 (12:32 -0500)]
Merge pull request #69 from ceph/wip-cobbler-httpd

Help users locate cobbler's web UI

10 years agoHelp users locate cobbler's web UI 69/head
Zack Cerza [Wed, 8 Jul 2015 21:39:52 +0000 (15:39 -0600)]
Help users locate cobbler's web UI

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #67 from ceph/wip-fix-defaults
Andrew Schoen [Thu, 9 Jul 2015 14:28:50 +0000 (09:28 -0500)]
Merge pull request #67 from ceph/wip-fix-defaults

Skip ansible_user creation if it is undefined

10 years agoMerge pull request #70 from ceph/wip-no-ubuntu-resolvconf
Zack Cerza [Wed, 8 Jul 2015 22:49:28 +0000 (16:49 -0600)]
Merge pull request #70 from ceph/wip-no-ubuntu-resolvconf

testnode: do not modify resolv.conf on ubuntu

10 years agotestnode: do not modify resolv.conf on ubuntu 70/head
Andrew Schoen [Wed, 8 Jul 2015 21:48:16 +0000 (16:48 -0500)]
testnode: do not modify resolv.conf on ubuntu

There is no need to modify resolv.conf for ubuntu anymore.  When using
cobbler this is set by using the resolvconf var in the cobbler role. For
vms, like ones created by openstack, this allows ubuntu nodes to use the
resolv.conf already provided.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoSkip ansible_user creation if it is undefined 67/head
Zack Cerza [Tue, 7 Jul 2015 22:51:35 +0000 (16:51 -0600)]
Skip ansible_user creation if it is undefined

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #66 from ceph/wip-puddle-updates
Andrew Schoen [Tue, 7 Jul 2015 16:38:01 +0000 (11:38 -0500)]
Merge pull request #66 from ceph/wip-puddle-updates

Puddle updates

10 years agopuddle: add ceph 1.3 async 66/head
Ken Dreyer [Mon, 6 Jul 2015 21:52:45 +0000 (15:52 -0600)]
puddle: add ceph 1.3 async

Add a configuration file to do Puddle generation for ceph 1.3 async.

10 years agopuddle: update rh-common errata
Ken Dreyer [Mon, 6 Jul 2015 21:52:45 +0000 (15:52 -0600)]
puddle: update rh-common errata

Update Puddle's configuration for the latest RH-COMMON errata currently
in progress.

10 years agopuddle: update URL variable conventions
Ken Dreyer [Mon, 6 Jul 2015 21:52:45 +0000 (15:52 -0600)]
puddle: update URL variable conventions

1) Remove "_z" from the RHEL repository variables. There's no point in
distinguishing "RHEL 7 z" from "RHEL 7".

2) Add "_server" to distinguish the RHEL Server variant from the
Workstation/Client/ComputeNode variants.

10 years agoMerge pull request #65 from ceph/wip-yum-tx
Ken Dreyer [Tue, 7 Jul 2015 00:22:27 +0000 (18:22 -0600)]
Merge pull request #65 from ceph/wip-yum-tx

Remove saved yum transactions

10 years agoRemove saved yum transactions 65/head
Zack Cerza [Mon, 6 Jul 2015 23:53:05 +0000 (17:53 -0600)]
Remove saved yum transactions

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't try to remove a missing package
Zack Cerza [Mon, 6 Jul 2015 23:00:26 +0000 (17:00 -0600)]
Don't try to remove a missing package

My previous commit had a bug. First, check if ceph-debuginfo is present.
If it's not, don't try to remove it.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #64 from ceph/wip-bz-1234967
Andrew Schoen [Mon, 6 Jul 2015 21:36:53 +0000 (16:36 -0500)]
Merge pull request #64 from ceph/wip-bz-1234967

Work around BZ#1234967

10 years agoWork around BZ#1234967 64/head
Zack Cerza [Mon, 6 Jul 2015 20:55:54 +0000 (14:55 -0600)]
Work around BZ#1234967

We have some corrupt ceph-debuginfo packages that are causing yum to die
with a UnicodeDecodeError. Use rpm to remove them for now.

https://bugzilla.redhat.com/show_bug.cgi?id=1234967

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #63 from ceph/wip-skip-entitlements
Andrew Schoen [Thu, 2 Jul 2015 21:22:12 +0000 (16:22 -0500)]
Merge pull request #63 from ceph/wip-skip-entitlements

Gracefully skip registration

10 years agoMerge pull request #62 from ceph/wip-usermod
Andrew Schoen [Thu, 2 Jul 2015 21:20:03 +0000 (16:20 -0500)]
Merge pull request #62 from ceph/wip-usermod

Don't modify the teuthology_user if it is in use

10 years agoGracefully skip registration 63/head
Zack Cerza [Thu, 2 Jul 2015 18:55:32 +0000 (12:55 -0600)]
Gracefully skip registration

If entitlements.yml is not found, don't attempt to register

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't modify the teuthology_user if it is in use 62/head
Zack Cerza [Thu, 2 Jul 2015 20:41:30 +0000 (14:41 -0600)]
Don't modify the teuthology_user if it is in use

This is to work around cases where the user exists, with a different
uid, and we are currently logged in as that user:

msg: usermod: user ubuntu is currently logged in

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #61 from ceph/wip-user-filter
Zack Cerza [Wed, 1 Jul 2015 15:26:33 +0000 (09:26 -0600)]
Merge pull request #61 from ceph/wip-user-filter

users: add a 'users' var to act as a filter

10 years agousers: add a 'users' var to act as a filter 61/head
Andrew Schoen [Wed, 1 Jul 2015 15:16:18 +0000 (10:16 -0500)]
users: add a 'users' var to act as a filter

If 'users' is provided it will filter 'managed_users'
and 'managed_admin_users' by the usernames provided in 'users'.

'users' must be a list of usernames as strings.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #59 from ceph/wip-readme-updates
Zack Cerza [Wed, 1 Jul 2015 14:40:34 +0000 (08:40 -0600)]
Merge pull request #59 from ceph/wip-readme-updates

readme updates explaining the use of a separate secrets repo

10 years agoMerge pull request #58 from ceph/wip-user-docs
Zack Cerza [Wed, 1 Jul 2015 14:40:07 +0000 (08:40 -0600)]
Merge pull request #58 from ceph/wip-user-docs

users: add documentation for the users role

10 years agoMerge pull request #56 from ceph/wip-cobbler-complete
Andrew Schoen [Tue, 30 Jun 2015 15:54:09 +0000 (10:54 -0500)]
Merge pull request #56 from ceph/wip-cobbler-complete

Fully deploy a cobbler node

10 years agoFormat multiline tasks more nicely 56/head
Zack Cerza [Tue, 30 Jun 2015 15:52:30 +0000 (09:52 -0600)]
Format multiline tasks more nicely

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFormat multiline tasks more nicely
Zack Cerza [Thu, 25 Jun 2015 16:14:43 +0000 (10:14 -0600)]
Format multiline tasks more nicely

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFormat multiline tasks more nicely
Zack Cerza [Thu, 25 Jun 2015 16:11:53 +0000 (10:11 -0600)]
Format multiline tasks more nicely

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoRun cobbler sync at the end of cobbler_systems
Zack Cerza [Tue, 23 Jun 2015 21:13:16 +0000 (15:13 -0600)]
Run cobbler sync at the end of cobbler_systems

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoCreate /root/.ssh before putting keys there
Zack Cerza [Tue, 23 Jun 2015 19:30:59 +0000 (13:30 -0600)]
Create /root/.ssh before putting keys there

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMove cobbler system population to new role
Zack Cerza [Tue, 23 Jun 2015 19:29:36 +0000 (13:29 -0600)]
Move cobbler system population to new role

This creates the new cobbler_systems role, which is run after the
cobbler and cobbler_profile roles

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoSet the server by editing /etc/cobbler/settings
Zack Cerza [Fri, 19 Jun 2015 22:10:22 +0000 (16:10 -0600)]
Set the server by editing /etc/cobbler/settings

Otherwise, using 'cobbler setting edit' might not work

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAlways include package-type vars
Zack Cerza [Fri, 19 Jun 2015 22:10:06 +0000 (16:10 -0600)]
Always include package-type vars

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoSet pxe_just_once to 1
Zack Cerza [Fri, 19 Jun 2015 16:13:40 +0000 (10:13 -0600)]
Set pxe_just_once to 1

Otherwise we re-provision on every boot

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoTell ansible to ignore host keys
Zack Cerza [Thu, 18 Jun 2015 23:08:56 +0000 (17:08 -0600)]
Tell ansible to ignore host keys

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoSymlink /etc/ansible/{hosts,secrets}
Zack Cerza [Thu, 18 Jun 2015 23:08:09 +0000 (17:08 -0600)]
Symlink /etc/ansible/{hosts,secrets}

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agocephlab_preseed_late: exit with status 0
Zack Cerza [Thu, 18 Jun 2015 22:02:00 +0000 (16:02 -0600)]
cephlab_preseed_late: exit with status 0

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoInstall gawk
Zack Cerza [Thu, 18 Jun 2015 20:59:49 +0000 (14:59 -0600)]
Install gawk

For snippets/cephlab_post_install_kernel_options

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAfter restarting cobbler, wait for it to start
Zack Cerza [Fri, 12 Jun 2015 18:27:16 +0000 (12:27 -0600)]
After restarting cobbler, wait for it to start

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd virtualenv to .gitignore
Zack Cerza [Fri, 12 Jun 2015 16:15:47 +0000 (10:15 -0600)]
Add virtualenv to .gitignore

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd a 'settings' tag
Zack Cerza [Fri, 12 Jun 2015 15:28:51 +0000 (09:28 -0600)]
Add a 'settings' tag

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse nmap instead of ncat for port scanning
Zack Cerza [Fri, 12 Jun 2015 15:19:15 +0000 (09:19 -0600)]
Use nmap instead of ncat for port scanning

netcat is apparently unavailable on RHEL7

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoInstall extra cobbler packages for yum/apt systems
Zack Cerza [Wed, 10 Jun 2015 23:35:30 +0000 (17:35 -0600)]
Install extra cobbler packages for yum/apt systems

syslinux is for bootloaders; pykickstart is for kickstart file
generation; fence-agents is for IPMI etc. support; nmap is for port
scanning.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMake the cobbler role pull in the secrets role
Zack Cerza [Wed, 10 Jun 2015 23:39:05 +0000 (17:39 -0600)]
Make the cobbler role pull in the secrets role

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoRun cobbler sync and cobbler check
Zack Cerza [Wed, 10 Jun 2015 23:37:16 +0000 (17:37 -0600)]
Run cobbler sync and cobbler check

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoEnable tftpd
Zack Cerza [Wed, 10 Jun 2015 23:36:59 +0000 (17:36 -0600)]
Enable tftpd

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoSet server, next_server and signature_url
Zack Cerza [Wed, 10 Jun 2015 23:35:10 +0000 (17:35 -0600)]
Set server, next_server and signature_url

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoEnsure cobbler and httpd are started *and* enabled
Zack Cerza [Fri, 5 Jun 2015 18:21:04 +0000 (12:21 -0600)]
Ensure cobbler and httpd are started *and* enabled

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDeep-merge distros and extra_distros
Zack Cerza [Fri, 5 Jun 2015 18:17:54 +0000 (12:17 -0600)]
Deep-merge distros and extra_distros

So that we can override e.g. a mirror URL and keep all the other key/value
pairs

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd and use SHA256 when downloading ISOs
Zack Cerza [Fri, 5 Jun 2015 18:17:05 +0000 (12:17 -0600)]
Add and use SHA256 when downloading ISOs

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoPopulate systems
Zack Cerza [Fri, 5 Jun 2015 17:46:33 +0000 (11:46 -0600)]
Populate systems

Disable netboot by default, so we don't accidentally reimage systems
unintentionally

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd cobbler SSH keys from secrets repo
Zack Cerza [Thu, 4 Jun 2015 20:50:07 +0000 (14:50 -0600)]
Add cobbler SSH keys from secrets repo

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd tasks for yum and apt systems
Zack Cerza [Thu, 4 Jun 2015 17:00:16 +0000 (11:00 -0600)]
Add tasks for yum and apt systems

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd vars for yum and apt systems
Zack Cerza [Thu, 4 Jun 2015 16:59:49 +0000 (10:59 -0600)]
Add vars for yum and apt systems

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUpload etc_files
Zack Cerza [Thu, 4 Jun 2015 16:58:56 +0000 (10:58 -0600)]
Upload etc_files

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd tasks to update settings
Zack Cerza [Thu, 4 Jun 2015 16:57:51 +0000 (10:57 -0600)]
Add tasks to update settings

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd .gitignore
Zack Cerza [Thu, 4 Jun 2015 16:57:21 +0000 (10:57 -0600)]
Add .gitignore

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd etc_files and settings
Zack Cerza [Thu, 4 Jun 2015 16:56:22 +0000 (10:56 -0600)]
Add etc_files and settings

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd /etc/cobbler/users.digest
Zack Cerza [Thu, 4 Jun 2015 16:55:38 +0000 (10:55 -0600)]
Add /etc/cobbler/users.digest

This sets the cobbler password

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #60 from ceph/wip-ansible-user-ssh-keys
Andrew Schoen [Fri, 26 Jun 2015 22:15:04 +0000 (17:15 -0500)]
Merge pull request #60 from ceph/wip-ansible-user-ssh-keys

Change 'ssh_keys' to 'ansible_user_ssh_keys' to clarify usage

10 years agoChange 'ssh_keys' to 'ansible_user_ssh_keys' to clarify usage 60/head
Dan Mick [Fri, 26 Jun 2015 21:42:25 +0000 (14:42 -0700)]
Change 'ssh_keys' to 'ansible_user_ssh_keys' to clarify usage

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agousers: add documentation for the users role 58/head
Andrew Schoen [Thu, 25 Jun 2015 14:58:12 +0000 (09:58 -0500)]
users: add documentation for the users role

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoreadme updates explaining the use of a separate secrets repo 59/head
Andrew Schoen [Thu, 25 Jun 2015 20:21:12 +0000 (15:21 -0500)]
readme updates explaining the use of a separate secrets repo

We store everything related to our inventory in a repo separate from
this one. This commit explains that a bit better and the reasoning
behind it.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoUse |sort instead of .sort()
Zack Cerza [Tue, 23 Jun 2015 23:43:00 +0000 (17:43 -0600)]
Use |sort instead of .sort()

The latter does an in-place sort, which meant we were comparing '' to
''. Whoops.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #57 from ceph/wip-fix-ubuntu-repos
Zack Cerza [Tue, 23 Jun 2015 21:26:12 +0000 (15:26 -0600)]
Merge pull request #57 from ceph/wip-fix-ubuntu-repos

testnode: fixes a bug keeping apt repos from being added