Christian Pointner [Sat, 12 Jan 2019 23:19:33 +0000 (00:19 +0100)]
not need to set a default for install.kernel_cmdline because is skipped if the varaibled is undefined
nicoo [Sat, 12 Jan 2019 23:02:33 +0000 (00:02 +0100)]
ansible: Make install.kernel_cmdline a list
Not all kernel command-line parameters look like key=value.
nicoo [Sat, 12 Jan 2019 22:53:59 +0000 (23:53 +0100)]
ansible/base: Use map + join rather than a complicated loop
Christian Pointner [Fri, 11 Jan 2019 00:26:36 +0000 (01:26 +0100)]
vga=off is deprecated
Christian Pointner [Fri, 11 Jan 2019 00:13:36 +0000 (01:13 +0100)]
call update-grub after changing config
Christian Pointner [Thu, 10 Jan 2019 00:07:16 +0000 (01:07 +0100)]
make kernel command line options configurable.
fixes #51
Christian Pointner [Sat, 12 Jan 2019 22:47:06 +0000 (23:47 +0100)]
Merge pull request #52 from realraum/preseed/disk-selection
preseed/install: make disk selection work with udev device paths
Christian Pointner [Sat, 12 Jan 2019 22:46:23 +0000 (23:46 +0100)]
Merge pull request #50 from realraum/ansible/openwrt-image-links
add support for symlinks on openwrt/image role
Christian Pointner [Sat, 12 Jan 2019 22:46:07 +0000 (23:46 +0100)]
Merge pull request #49 from realraum/ansible/lint
add ansible-lint for roles
Christian Pointner [Wed, 9 Jan 2019 01:08:47 +0000 (02:08 +0100)]
preseed/install: make disk selection work with udev device paths
Christian Pointner [Sat, 29 Dec 2018 05:03:31 +0000 (06:03 +0100)]
ansible: added support for symlinks on openwrt/image role
Christian Pointner [Sun, 23 Dec 2018 21:20:07 +0000 (22:20 +0100)]
move call to ansible lint to /ansible/lint.sh
Christian Pointner [Sun, 23 Dec 2018 21:17:25 +0000 (22:17 +0100)]
fix wording in generic linter playbook
Christian Pointner [Sun, 23 Dec 2018 14:22:05 +0000 (15:22 +0100)]
updated ansible/Readme.md again...
Christian Pointner [Sun, 23 Dec 2018 14:20:49 +0000 (15:20 +0100)]
updated ansible/Readme.md
Christian Pointner [Sun, 23 Dec 2018 14:12:56 +0000 (15:12 +0100)]
add some info about ansible-lint
Christian Pointner [Sun, 23 Dec 2018 13:52:22 +0000 (14:52 +0100)]
fix ansible syntax
Christian Pointner [Sun, 23 Dec 2018 13:49:41 +0000 (14:49 +0100)]
some more linter fixes
Christian Pointner [Sun, 23 Dec 2018 13:29:02 +0000 (14:29 +0100)]
add all roles to linter
Christian Pointner [Sun, 23 Dec 2018 13:25:51 +0000 (14:25 +0100)]
use pushd/popd to change to ansible dir
Christian Pointner [Sun, 23 Dec 2018 13:21:11 +0000 (14:21 +0100)]
ansible-lint: fix base role
Christian Pointner [Sun, 23 Dec 2018 13:17:02 +0000 (14:17 +0100)]
added ansible linter config
Christian Pointner [Sun, 23 Dec 2018 13:10:41 +0000 (14:10 +0100)]
try to fix pip in travis
Christian Pointner [Sun, 23 Dec 2018 13:06:34 +0000 (14:06 +0100)]
added ansible-lint to travis
nicoo [Sat, 22 Dec 2018 23:34:52 +0000 (00:34 +0100)]
Merge PR#48: replace command module running mktemp with tempfile module
Christian Pointner [Sat, 22 Dec 2018 00:02:43 +0000 (01:02 +0100)]
replace command module running mktemp with tempfile module
Christian Pointner [Fri, 21 Dec 2018 18:14:00 +0000 (19:14 +0100)]
Merge pull request #47 from realraum/net/congestion-control
base: Set congestion control option
Christian Pointner [Thu, 20 Dec 2018 22:02:48 +0000 (23:02 +0100)]
ubuntu xenial install hew kernel by default
Christian Pointner [Tue, 18 Dec 2018 23:07:29 +0000 (00:07 +0100)]
ctf has been moved
nicoo [Tue, 18 Dec 2018 01:29:36 +0000 (02:29 +0100)]
ansible/base: Drop network_modules variable
nicoo [Mon, 17 Dec 2018 16:09:02 +0000 (17:09 +0100)]
ansible/base: Add network tasks, set congestion control options
nicoo [Mon, 17 Dec 2018 15:14:47 +0000 (16:14 +0100)]
ansible: Split base role into separate task files
It was becoming difficult to find things in there.
nicoo [Tue, 11 Dec 2018 11:19:21 +0000 (12:19 +0100)]
Merge PR#46: add fgenesis ssh key to tuergit
nicoo [Tue, 11 Dec 2018 11:16:36 +0000 (12:16 +0100)]
Merge PR#44: added new ctf host
Christian Pointner [Mon, 10 Dec 2018 21:23:27 +0000 (22:23 +0100)]
add fgenesis ssh key to tuergit
nicoo [Sat, 8 Dec 2018 09:51:48 +0000 (10:51 +0100)]
ctf: Move host vars from inventory to host_vars/ & document them
nicoo [Sat, 8 Dec 2018 09:46:23 +0000 (10:46 +0100)]
Merge PR#45: Preseed fixes
Christian Pointner [Sat, 8 Dec 2018 00:14:26 +0000 (01:14 +0100)]
preseed: fix hostname and domain setting
Christian Pointner [Fri, 7 Dec 2018 22:56:37 +0000 (23:56 +0100)]
preseed: don't load firmware for unknown hardware
Christian Pointner [Sat, 8 Dec 2018 03:16:15 +0000 (04:16 +0100)]
accesspoints are now deployed using ansible
Christian Pointner [Wed, 5 Dec 2018 22:01:48 +0000 (23:01 +0100)]
added new ctf host
Christian Pointner [Sun, 2 Dec 2018 08:28:45 +0000 (09:28 +0100)]
whitespace-only fix
nicoo [Fri, 30 Nov 2018 23:11:53 +0000 (00:11 +0100)]
Merge PR#43: nicer handling for ssh keys
Christian Pointner [Fri, 30 Nov 2018 21:36:19 +0000 (22:36 +0100)]
nicer template to generate authorized keys for openwrt
Christian Pointner [Fri, 30 Nov 2018 20:01:19 +0000 (21:01 +0100)]
add filter plugin to generate ssh key list
Christian Pointner [Fri, 30 Nov 2018 07:03:55 +0000 (08:03 +0100)]
introduce ssh_users_root
nicoo [Fri, 30 Nov 2018 19:04:47 +0000 (20:04 +0100)]
Merge PR#41: updated preseed templates for ubuntu xenial and bionic
Christian Pointner [Wed, 28 Nov 2018 01:20:44 +0000 (02:20 +0100)]
add support for netplan on ubuntu bionic
fixes #42
Christian Pointner [Wed, 28 Nov 2018 00:40:14 +0000 (01:40 +0100)]
vm/network: ubuntu bionic uses netplan...
Christian Pointner [Mon, 26 Nov 2018 23:38:53 +0000 (00:38 +0100)]
updated preseed templates for ubuntu xenial and bionic
Christian Pointner [Mon, 26 Nov 2018 22:42:25 +0000 (23:42 +0100)]
fix role name for openwrt/image
Christian Pointner [Mon, 26 Nov 2018 22:37:51 +0000 (23:37 +0100)]
Merge pull request #39 from realraum/openwrt/roles-rename
Rename openwrt-image role to openwrt/image
Christian Pointner [Mon, 26 Nov 2018 22:37:30 +0000 (23:37 +0100)]
Merge pull request #38 from realraum/gpg/nicoo
gpg: Remove my old key from the keyring
Christian Pointner [Mon, 26 Nov 2018 22:37:05 +0000 (23:37 +0100)]
Merge pull request #37 from realraum/files-vs-artifacts
Files vs artifacts
nicoo [Mon, 26 Nov 2018 22:31:24 +0000 (23:31 +0100)]
Ship default /etc/htoprc in access points & base
nicoo [Mon, 26 Nov 2018 22:30:58 +0000 (23:30 +0100)]
base: Refactor deployment of default config files
nicoo [Mon, 26 Nov 2018 22:17:38 +0000 (23:17 +0100)]
accesspoints: Extract htop config to a common file
nicoo [Mon, 26 Nov 2018 22:10:54 +0000 (23:10 +0100)]
Rename openwrt-image role to openwrt/image
nicoo [Mon, 26 Nov 2018 21:59:46 +0000 (22:59 +0100)]
gpg: Remove my old key from the keyring
0x772B11B4F2DC80E1212B3F41B0739AAD91B7CDC0 was removed.
nicoo [Mon, 26 Nov 2018 21:46:22 +0000 (22:46 +0100)]
Fix permissions on files/torwaechter/update-keys-from-stdin.sh
nicoo [Mon, 26 Nov 2018 21:45:10 +0000 (22:45 +0100)]
ansible: Split files and artifact directories
- artifacts are assets generated by Ansible, not under version control
- files are static assets under version control
Christian Pointner [Mon, 26 Nov 2018 21:44:59 +0000 (22:44 +0100)]
fixed renaming of gnocci host_vars directories
nicoo [Mon, 26 Nov 2018 21:36:54 +0000 (22:36 +0100)]
Merge PR#17: add accesspoints playbook
nicoo [Mon, 26 Nov 2018 21:29:28 +0000 (22:29 +0100)]
Add a dummy ansible.cfg at the root, to make git helpers work
Christian Pointner [Mon, 26 Nov 2018 21:08:46 +0000 (22:08 +0100)]
Generate accesspoint_wireless_ifaces from a template
Christian Pointner [Sun, 25 Nov 2018 03:36:29 +0000 (04:36 +0100)]
added some minimal wifi tuning
Christian Pointner [Sun, 25 Nov 2018 02:50:57 +0000 (03:50 +0100)]
configuring network zones works now
Christian Pointner [Sat, 24 Nov 2018 22:56:33 +0000 (23:56 +0100)]
accesspoint role config almost done now
Christian Pointner [Mon, 21 May 2018 21:36:18 +0000 (23:36 +0200)]
make openwrt images for accesspoints (WIP)
Christian Pointner [Mon, 21 May 2018 19:39:36 +0000 (21:39 +0200)]
openwrt-image: move templates to sub dir
nicoo [Mon, 26 Nov 2018 21:13:24 +0000 (22:13 +0100)]
Merge PR#36: fix ssh config after merging gnocci/setup
Christian Pointner [Mon, 26 Nov 2018 20:41:34 +0000 (21:41 +0100)]
gnocci-v-gnocchi
Christian Pointner [Sun, 25 Nov 2018 04:07:35 +0000 (05:07 +0100)]
fix ssh config after merging gnocci/setup
Christian Pointner [Sun, 25 Nov 2018 00:45:41 +0000 (01:45 +0100)]
Merge pull request #22 from realraum/gnocci/setup
WiP: (Semi-)automated gnocci installation
Christian Pointner [Sun, 25 Nov 2018 00:38:05 +0000 (01:38 +0100)]
use global net config for gnoccis
nicoo [Sat, 24 Nov 2018 22:54:02 +0000 (23:54 +0100)]
ansible: Simplify usb-install.yml
nicoo [Sat, 24 Nov 2018 22:49:23 +0000 (23:49 +0100)]
ansible: Make preseed take a provided tmpdir
nicoo [Sat, 24 Nov 2018 22:16:16 +0000 (23:16 +0100)]
ansible: Make vm/install depend on debian-installer
nicoo [Sat, 24 Nov 2018 22:14:09 +0000 (23:14 +0100)]
ansible/vm/install: Remove unecessary set_fact tasks
nicoo [Sat, 24 Nov 2018 22:07:18 +0000 (23:07 +0100)]
ansible/hosts.ini: Merge the gnocci definitions
nicoo [Sat, 24 Nov 2018 22:06:39 +0000 (23:06 +0100)]
ansible: Unify default credentials
nicoo [Sat, 24 Nov 2018 22:02:08 +0000 (23:02 +0100)]
ansible/group_vars/all: Move user data to a separate file
nicoo [Sat, 24 Nov 2018 19:48:32 +0000 (20:48 +0100)]
ansible/usb-install: Automatically write relevant files to drive
nicoo [Sat, 24 Nov 2018 18:29:28 +0000 (19:29 +0100)]
ansible/preseed: Do not hardcode the installation interface
nicoo [Sat, 24 Nov 2018 18:28:39 +0000 (19:28 +0100)]
ansible/gnocci: Update the primary (management) interface for gnocci
nicoo [Sat, 24 Nov 2018 16:33:09 +0000 (17:33 +0100)]
ansible/usb-install: Make the architecture default to amd64
nicoo [Sat, 24 Nov 2018 16:32:43 +0000 (17:32 +0100)]
ansible/debian-installer: Remove unused variable
nicoo [Sat, 24 Nov 2018 16:11:24 +0000 (17:11 +0100)]
ansible/vm-install.sh: Minor cleanup
nicoo [Sat, 24 Nov 2018 16:03:18 +0000 (17:03 +0100)]
ansible/debian-installer: Update Ubuntu definition
- Switch to Bionic (18.04 LTS) instead of Xenial (16.04 LTS)
- Use debian.ffgraz.net as the mirror, over HTTPS
nicoo [Sat, 24 Nov 2018 15:54:39 +0000 (16:54 +0100)]
ansible: Use clearer variable names in install-related roles
Rename `distro` to `install_distro` and `distcodename` to `install_codename`.
nicoo [Sat, 24 Nov 2018 15:53:13 +0000 (16:53 +0100)]
ansible/preseed: Fixup access to the `install` object
nicoo [Sat, 24 Nov 2018 15:51:43 +0000 (16:51 +0100)]
ansible/vm/host: Fix package name
nicoo [Sun, 17 Jun 2018 20:30:39 +0000 (22:30 +0200)]
Add (start of) USB installer
nicoo [Sun, 17 Jun 2018 20:30:01 +0000 (22:30 +0200)]
Add gnocci network config
nicoo [Sun, 17 Jun 2018 20:29:24 +0000 (22:29 +0200)]
Add gnoccis to the inventory
nicoo [Sun, 17 Jun 2018 20:19:54 +0000 (22:19 +0200)]
preseed: Do not let authorized_key mess with directory permissions
nicoo [Sun, 17 Jun 2018 20:15:10 +0000 (22:15 +0200)]
debian-installer: Use an HTTPS-capable Debian mirror
nicoo [Sun, 17 Jun 2018 19:59:05 +0000 (21:59 +0200)]
testvm: Do not hardcode alfred's name
nicoo [Sun, 17 Jun 2018 19:31:21 +0000 (21:31 +0200)]
Rename vm_network to network and vm_install to install
This includes renaming vm_install_host to vm_host.
nicoo [Sun, 17 Jun 2018 17:13:05 +0000 (19:13 +0200)]
Simplify vm/install a tiny bit