summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mark Wooding [Fri, 17 Jul 2015 10:19:02 +0000 (11:19 +0100)]
bin/ansible-inventory: Smash `-' to `_' in dictionary key keywords.
Mark Wooding [Fri, 17 Jul 2015 10:18:28 +0000 (11:18 +0100)]
all.yml, vars/defs.yml: Some global settings.
Initially just a root directory for the Ansible tree.
Mark Wooding [Tue, 14 Jul 2015 10:17:56 +0000 (11:17 +0100)]
New role for Debian-specific configuration.
Move the PKI-management scripts over, because they're not truly common.
Mark Wooding [Tue, 14 Jul 2015 10:16:50 +0000 (11:16 +0100)]
roles/common/tasks/main.yml: Missing brackets around tags list.
It turns out they're not necessary.
Mark Wooding [Tue, 14 Jul 2015 10:15:37 +0000 (11:15 +0100)]
hosts/hosts.lisp: Add new host `haze'.
Mostly because it's non-Debian.
Mark Wooding [Mon, 13 Jul 2015 09:47:00 +0000 (10:47 +0100)]
roles/common/*/main.yml: Rebuild /etc/ssh/sshd_config on change.
Just an oversight, I think.
Mark Wooding [Mon, 13 Jul 2015 09:45:58 +0000 (10:45 +0100)]
roles/common/handlers/main.yml: Move `make' handlers to the top.
Handlers are always run in the order in which they're defined, so it
makes sense to put the rules which rebuild configuration files above the
rules which restart services.
Mark Wooding [Mon, 13 Jul 2015 09:44:19 +0000 (10:44 +0100)]
roles/common/tasks/main.yml: Explicitly create /root/.ssh/.
Mark Wooding [Mon, 13 Jul 2015 09:43:19 +0000 (10:43 +0100)]
roles/common/*.yml: More trailing `/'s on directory names.
Mark Wooding [Mon, 13 Jul 2015 09:18:28 +0000 (10:18 +0100)]
roles/common/tasks/main.yml: Trailing `/' on copy destination directories.
Ansible correctly notices this and creates the necessary directory if it
doesn't exist already. Without the trailing `/', Ansible might copy the
file to where we wanted the directory and then everything is weird.
Mark Wooding [Mon, 13 Jul 2015 09:14:11 +0000 (10:14 +0100)]
roles/common/tasks/main.yml: Change ntp-client task title.
Mark Wooding [Mon, 13 Jul 2015 08:19:25 +0000 (09:19 +0100)]
roles/common/tasks/main.yml: Use `default' filter instead of circumlocution.
Mark Wooding [Thu, 9 Jul 2015 09:32:00 +0000 (10:32 +0100)]
roles/common/: Do the rest of the common configuration.
Mark Wooding [Thu, 9 Jul 2015 09:07:46 +0000 (10:07 +0100)]
roles/common/: Organize the `templates/' directory like `files/'.
There's one subdirectory for each task group, and files inside are named
more-or-less after what they'll be called at the remote end.
Mark Wooding [Thu, 9 Jul 2015 09:05:23 +0000 (10:05 +0100)]
roles/common/: Run `make' in `/root/.ssh' when things change.
Mark Wooding [Wed, 8 Jul 2015 10:07:27 +0000 (11:07 +0100)]
Lisp: Change Lisp-to-JSON conventions.
Now a Lisp list is assumed to be an alist, and printed as a JSON
mapping; a JSON list is produced from a Lisp vector. Also, `nil' is now
mapped to JSON `null'.
* Implement these changes in `print-json-simple'.
* Change the lists in `hosts.lisp' to be vectors.
* Modify `host-defs.lisp' to handle vectors instead of lists.
Mark Wooding [Wed, 8 Jul 2015 10:05:02 +0000 (11:05 +0100)]
hosts/host-defs.lisp: Make group names be properly SHOUTY symbols.
They look better in debugging output this way.
Mark Wooding [Wed, 8 Jul 2015 10:04:19 +0000 (11:04 +0100)]
hosts/host-defs.lisp: Set the correct containing package.
Mostly useful as an editor hint.
Mark Wooding [Wed, 8 Jul 2015 10:03:40 +0000 (11:03 +0100)]
bin/ansible-inventory: Make the script loadable into a Lisp system.
Mark Wooding [Wed, 8 Jul 2015 10:02:48 +0000 (11:02 +0100)]
bin/ansible-inventory: Wrap `flet' of `getarg' around its body.
Eventually it'll even be used for something.
Mark Wooding [Wed, 8 Jul 2015 10:01:49 +0000 (11:01 +0100)]
bin/ansible-inventory: Remove old debugging cruft.
Mark Wooding [Wed, 8 Jul 2015 10:00:15 +0000 (11:00 +0100)]
bin/ansible-inventory: Turn debugging on.
The program is pretty quick, especially compared to an Ansible run.
Mark Wooding [Tue, 7 Jul 2015 23:16:31 +0000 (00:16 +0100)]
exim-config/, firewall/, secrets/: Add references to submodules.
The `exim-config' and `firewall' submodules contain complicated m4-based
per-host configuration which already exist as separate projects. (They
might get pulled in-tree at some point, but probably not.)
The `secrets' submodule contains Ansible variable definitions for
secrets which can't be published in the main repository.
Mark Wooding [Tue, 7 Jul 2015 22:47:30 +0000 (23:47 +0100)]
*.yml: Add some header comments.
Mark Wooding [Mon, 6 Jul 2015 00:41:38 +0000 (01:41 +0100)]
Very early initial commit.
Very bare, just about works. Nowhere near ready to take over from the
rdist-based system in production use.