noc.git
5 years agoMerge pull request #49 from realraum/ansible/lint
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

5 years agomove call to ansible lint to /ansible/lint.sh
Christian Pointner [Sun, 23 Dec 2018 21:20:07 +0000 (22:20 +0100)]
move call to ansible lint to /ansible/lint.sh

5 years agofix wording in generic linter playbook
Christian Pointner [Sun, 23 Dec 2018 21:17:25 +0000 (22:17 +0100)]
fix wording in generic linter playbook

5 years agoupdated ansible/Readme.md again...
Christian Pointner [Sun, 23 Dec 2018 14:22:05 +0000 (15:22 +0100)]
updated ansible/Readme.md again...

5 years agoupdated ansible/Readme.md
Christian Pointner [Sun, 23 Dec 2018 14:20:49 +0000 (15:20 +0100)]
updated ansible/Readme.md

5 years agoadd some info about ansible-lint
Christian Pointner [Sun, 23 Dec 2018 14:12:56 +0000 (15:12 +0100)]
add some info about ansible-lint

5 years agofix ansible syntax
Christian Pointner [Sun, 23 Dec 2018 13:52:22 +0000 (14:52 +0100)]
fix ansible syntax

5 years agosome more linter fixes
Christian Pointner [Sun, 23 Dec 2018 13:49:41 +0000 (14:49 +0100)]
some more linter fixes

5 years agoadd all roles to linter
Christian Pointner [Sun, 23 Dec 2018 13:29:02 +0000 (14:29 +0100)]
add all roles to linter

5 years agouse pushd/popd to change to ansible dir
Christian Pointner [Sun, 23 Dec 2018 13:25:51 +0000 (14:25 +0100)]
use pushd/popd to change to ansible dir

5 years agoansible-lint: fix base role
Christian Pointner [Sun, 23 Dec 2018 13:21:11 +0000 (14:21 +0100)]
ansible-lint: fix base role

5 years agoadded ansible linter config
Christian Pointner [Sun, 23 Dec 2018 13:17:02 +0000 (14:17 +0100)]
added ansible linter config

5 years agotry to fix pip in travis
Christian Pointner [Sun, 23 Dec 2018 13:10:41 +0000 (14:10 +0100)]
try to fix pip in travis

5 years agoadded ansible-lint to travis
Christian Pointner [Sun, 23 Dec 2018 13:06:34 +0000 (14:06 +0100)]
added ansible-lint to travis

5 years agoMerge PR#48: replace command module running mktemp with tempfile module
nicoo [Sat, 22 Dec 2018 23:34:52 +0000 (00:34 +0100)]
Merge PR#48: replace command module running mktemp with tempfile module

5 years agoreplace 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

5 years agoMerge pull request #47 from realraum/net/congestion-control
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

5 years agoubuntu xenial install hew kernel by default
Christian Pointner [Thu, 20 Dec 2018 22:02:48 +0000 (23:02 +0100)]
ubuntu xenial install hew kernel by default

5 years agoctf has been moved
Christian Pointner [Tue, 18 Dec 2018 23:07:29 +0000 (00:07 +0100)]
ctf has been moved

5 years agoansible/base: Drop network_modules variable
nicoo [Tue, 18 Dec 2018 01:29:36 +0000 (02:29 +0100)]
ansible/base: Drop network_modules variable

5 years agoansible/base: Add network tasks, set congestion control options
nicoo [Mon, 17 Dec 2018 16:09:02 +0000 (17:09 +0100)]
ansible/base: Add network tasks, set congestion control options

5 years agoansible: Split base role into separate task files
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.

5 years agoMerge PR#46: add fgenesis ssh key to tuergit
nicoo [Tue, 11 Dec 2018 11:19:21 +0000 (12:19 +0100)]
Merge PR#46: add fgenesis ssh key to tuergit

5 years agoMerge PR#44: added new ctf host
nicoo [Tue, 11 Dec 2018 11:16:36 +0000 (12:16 +0100)]
Merge PR#44: added new ctf host

5 years agoadd fgenesis ssh key to tuergit
Christian Pointner [Mon, 10 Dec 2018 21:23:27 +0000 (22:23 +0100)]
add fgenesis ssh key to tuergit

5 years agoctf: Move host vars from inventory to host_vars/ & document them
nicoo [Sat, 8 Dec 2018 09:51:48 +0000 (10:51 +0100)]
ctf: Move host vars from inventory to host_vars/ & document them

5 years agoMerge PR#45: Preseed fixes
nicoo [Sat, 8 Dec 2018 09:46:23 +0000 (10:46 +0100)]
Merge PR#45: Preseed fixes

5 years agopreseed: fix hostname and domain setting
Christian Pointner [Sat, 8 Dec 2018 00:14:26 +0000 (01:14 +0100)]
preseed: fix hostname and domain setting

5 years agopreseed: don't load firmware for unknown hardware
Christian Pointner [Fri, 7 Dec 2018 22:56:37 +0000 (23:56 +0100)]
preseed: don't load firmware for unknown hardware

5 years agoaccesspoints are now deployed using ansible
Christian Pointner [Sat, 8 Dec 2018 03:16:15 +0000 (04:16 +0100)]
accesspoints are now deployed using ansible

5 years agoadded new ctf host
Christian Pointner [Wed, 5 Dec 2018 22:01:48 +0000 (23:01 +0100)]
added new ctf host

6 years agowhitespace-only fix
Christian Pointner [Sun, 2 Dec 2018 08:28:45 +0000 (09:28 +0100)]
whitespace-only fix

6 years agoMerge PR#43: nicer handling for ssh keys
nicoo [Fri, 30 Nov 2018 23:11:53 +0000 (00:11 +0100)]
Merge PR#43: nicer handling for ssh keys

6 years agonicer template to generate authorized keys for openwrt
Christian Pointner [Fri, 30 Nov 2018 21:36:19 +0000 (22:36 +0100)]
nicer template to generate authorized keys for openwrt

6 years agoadd filter plugin to generate ssh key list
Christian Pointner [Fri, 30 Nov 2018 20:01:19 +0000 (21:01 +0100)]
add filter plugin to generate ssh key list

6 years agointroduce ssh_users_root
Christian Pointner [Fri, 30 Nov 2018 07:03:55 +0000 (08:03 +0100)]
introduce ssh_users_root

6 years agoMerge PR#41: updated preseed templates for ubuntu xenial and bionic
nicoo [Fri, 30 Nov 2018 19:04:47 +0000 (20:04 +0100)]
Merge PR#41: updated preseed templates for ubuntu xenial and bionic

6 years agoadd support for netplan on ubuntu bionic
Christian Pointner [Wed, 28 Nov 2018 01:20:44 +0000 (02:20 +0100)]
add support for netplan on ubuntu bionic

fixes #42

6 years agovm/network: ubuntu bionic uses netplan...
Christian Pointner [Wed, 28 Nov 2018 00:40:14 +0000 (01:40 +0100)]
vm/network: ubuntu bionic uses netplan...

6 years agoupdated preseed templates for ubuntu xenial and bionic
Christian Pointner [Mon, 26 Nov 2018 23:38:53 +0000 (00:38 +0100)]
updated preseed templates for ubuntu xenial and bionic

6 years agofix role name for openwrt/image
Christian Pointner [Mon, 26 Nov 2018 22:42:25 +0000 (23:42 +0100)]
fix role name for openwrt/image

6 years agoMerge pull request #39 from realraum/openwrt/roles-rename
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

6 years agoMerge pull request #38 from realraum/gpg/nicoo
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

6 years agoMerge pull request #37 from realraum/files-vs-artifacts
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

6 years agoShip default /etc/htoprc in access points & base
nicoo [Mon, 26 Nov 2018 22:31:24 +0000 (23:31 +0100)]
Ship default /etc/htoprc in access points & base

6 years agobase: Refactor deployment of default config files
nicoo [Mon, 26 Nov 2018 22:30:58 +0000 (23:30 +0100)]
base: Refactor deployment of default config files

6 years agoaccesspoints: Extract htop config to a common file
nicoo [Mon, 26 Nov 2018 22:17:38 +0000 (23:17 +0100)]
accesspoints: Extract htop config to a common file

6 years agoRename openwrt-image role to openwrt/image
nicoo [Mon, 26 Nov 2018 22:10:54 +0000 (23:10 +0100)]
Rename openwrt-image role to openwrt/image

6 years agogpg: Remove my old key from the keyring
nicoo [Mon, 26 Nov 2018 21:59:46 +0000 (22:59 +0100)]
gpg: Remove my old key from the keyring

0x772B11B4F2DC80E1212B3F41B0739AAD91B7CDC0 was removed.

6 years agoFix permissions on files/torwaechter/update-keys-from-stdin.sh
nicoo [Mon, 26 Nov 2018 21:46:22 +0000 (22:46 +0100)]
Fix permissions on files/torwaechter/update-keys-from-stdin.sh

6 years agoansible: Split files and artifact directories
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

6 years agofixed renaming of gnocci host_vars directories
Christian Pointner [Mon, 26 Nov 2018 21:44:59 +0000 (22:44 +0100)]
fixed renaming of gnocci host_vars directories

6 years agoMerge PR#17: add accesspoints playbook
nicoo [Mon, 26 Nov 2018 21:36:54 +0000 (22:36 +0100)]
Merge PR#17: add accesspoints playbook

6 years agoAdd a dummy ansible.cfg at the root, to make git helpers work
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

6 years agoGenerate accesspoint_wireless_ifaces from a template
Christian Pointner [Mon, 26 Nov 2018 21:08:46 +0000 (22:08 +0100)]
Generate accesspoint_wireless_ifaces from a template

6 years agoadded some minimal wifi tuning
Christian Pointner [Sun, 25 Nov 2018 03:36:29 +0000 (04:36 +0100)]
added some minimal wifi tuning

6 years agoconfiguring network zones works now
Christian Pointner [Sun, 25 Nov 2018 02:50:57 +0000 (03:50 +0100)]
configuring network zones works now

6 years agoaccesspoint role config almost done now
Christian Pointner [Sat, 24 Nov 2018 22:56:33 +0000 (23:56 +0100)]
accesspoint role config almost done now

6 years agomake openwrt images for accesspoints (WIP)
Christian Pointner [Mon, 21 May 2018 21:36:18 +0000 (23:36 +0200)]
make openwrt images for accesspoints (WIP)

6 years agoopenwrt-image: move templates to sub dir
Christian Pointner [Mon, 21 May 2018 19:39:36 +0000 (21:39 +0200)]
openwrt-image: move templates to sub dir

6 years agoMerge PR#36: fix ssh config after merging gnocci/setup
nicoo [Mon, 26 Nov 2018 21:13:24 +0000 (22:13 +0100)]
Merge PR#36: fix ssh config after merging gnocci/setup

6 years agognocci-v-gnocchi
Christian Pointner [Mon, 26 Nov 2018 20:41:34 +0000 (21:41 +0100)]
gnocci-v-gnocchi

6 years agofix ssh config after merging gnocci/setup
Christian Pointner [Sun, 25 Nov 2018 04:07:35 +0000 (05:07 +0100)]
fix ssh config after merging gnocci/setup

6 years agoMerge pull request #22 from realraum/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

6 years agouse global net config for gnoccis
Christian Pointner [Sun, 25 Nov 2018 00:38:05 +0000 (01:38 +0100)]
use global net config for gnoccis

6 years agoansible: Simplify usb-install.yml
nicoo [Sat, 24 Nov 2018 22:54:02 +0000 (23:54 +0100)]
ansible: Simplify usb-install.yml

6 years agoansible: Make preseed take a provided tmpdir
nicoo [Sat, 24 Nov 2018 22:49:23 +0000 (23:49 +0100)]
ansible: Make preseed take a provided tmpdir

6 years agoansible: Make vm/install depend on debian-installer
nicoo [Sat, 24 Nov 2018 22:16:16 +0000 (23:16 +0100)]
ansible: Make vm/install depend on debian-installer

6 years agoansible/vm/install: Remove unecessary set_fact tasks
nicoo [Sat, 24 Nov 2018 22:14:09 +0000 (23:14 +0100)]
ansible/vm/install: Remove unecessary set_fact tasks

6 years agoansible/hosts.ini: Merge the gnocci definitions
nicoo [Sat, 24 Nov 2018 22:07:18 +0000 (23:07 +0100)]
ansible/hosts.ini: Merge the gnocci definitions

6 years agoansible: Unify default credentials
nicoo [Sat, 24 Nov 2018 22:06:39 +0000 (23:06 +0100)]
ansible: Unify default credentials

6 years agoansible/group_vars/all: Move user data to a separate file
nicoo [Sat, 24 Nov 2018 22:02:08 +0000 (23:02 +0100)]
ansible/group_vars/all: Move user data to a separate file

6 years agoansible/usb-install: Automatically write relevant files to drive
nicoo [Sat, 24 Nov 2018 19:48:32 +0000 (20:48 +0100)]
ansible/usb-install: Automatically write relevant files to drive

6 years agoansible/preseed: Do not hardcode the installation interface
nicoo [Sat, 24 Nov 2018 18:29:28 +0000 (19:29 +0100)]
ansible/preseed: Do not hardcode the installation interface

6 years agoansible/gnocci: Update the primary (management) interface for gnocci
nicoo [Sat, 24 Nov 2018 18:28:39 +0000 (19:28 +0100)]
ansible/gnocci: Update the primary (management) interface for gnocci

6 years agoansible/usb-install: Make the architecture default to amd64
nicoo [Sat, 24 Nov 2018 16:33:09 +0000 (17:33 +0100)]
ansible/usb-install: Make the architecture default to amd64

6 years agoansible/debian-installer: Remove unused variable
nicoo [Sat, 24 Nov 2018 16:32:43 +0000 (17:32 +0100)]
ansible/debian-installer: Remove unused variable

6 years agoansible/vm-install.sh: Minor cleanup
nicoo [Sat, 24 Nov 2018 16:11:24 +0000 (17:11 +0100)]
ansible/vm-install.sh: Minor cleanup

6 years agoansible/debian-installer: Update Ubuntu definition
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

6 years agoansible: Use clearer variable names in install-related roles
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`.

6 years agoansible/preseed: Fixup access to the `install` object
nicoo [Sat, 24 Nov 2018 15:53:13 +0000 (16:53 +0100)]
ansible/preseed: Fixup access to the `install` object

6 years agoansible/vm/host: Fix package name
nicoo [Sat, 24 Nov 2018 15:51:43 +0000 (16:51 +0100)]
ansible/vm/host: Fix package name

6 years agoAdd (start of) USB installer
nicoo [Sun, 17 Jun 2018 20:30:39 +0000 (22:30 +0200)]
Add (start of) USB installer

6 years agoAdd gnocci network config
nicoo [Sun, 17 Jun 2018 20:30:01 +0000 (22:30 +0200)]
Add gnocci network config

6 years agoAdd gnoccis to the inventory
nicoo [Sun, 17 Jun 2018 20:29:24 +0000 (22:29 +0200)]
Add gnoccis to the inventory

6 years agopreseed: Do not let authorized_key mess with directory permissions
nicoo [Sun, 17 Jun 2018 20:19:54 +0000 (22:19 +0200)]
preseed: Do not let authorized_key mess with directory permissions

6 years agodebian-installer: Use an HTTPS-capable Debian mirror
nicoo [Sun, 17 Jun 2018 20:15:10 +0000 (22:15 +0200)]
debian-installer: Use an HTTPS-capable Debian mirror

6 years agotestvm: Do not hardcode alfred's name
nicoo [Sun, 17 Jun 2018 19:59:05 +0000 (21:59 +0200)]
testvm: Do not hardcode alfred's name

6 years agoRename vm_network to network and vm_install to install
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.

6 years agoSimplify vm/install a tiny bit
nicoo [Sun, 17 Jun 2018 17:13:05 +0000 (19:13 +0200)]
Simplify vm/install a tiny bit

6 years agoReplace vmname with hostname
nicoo [Sun, 17 Jun 2018 17:12:09 +0000 (19:12 +0200)]
Replace vmname with hostname

6 years agoMove debian-installer downloads to its own role
nicoo [Sun, 17 Jun 2018 16:03:49 +0000 (18:03 +0200)]
Move debian-installer downloads to its own role

6 years agoMove preseed generation to a separate role
nicoo [Sun, 17 Jun 2018 15:56:26 +0000 (17:56 +0200)]
Move preseed generation to a separate role

6 years agoMerge PR#35: add missing vlans in ansible network.yml
nicoo [Sat, 24 Nov 2018 15:29:12 +0000 (16:29 +0100)]
Merge PR#35: add missing vlans in ansible network.yml

6 years agoMerge pull request #34 from realraum/ansible/base
Christian Pointner [Sat, 24 Nov 2018 15:28:59 +0000 (16:28 +0100)]
Merge pull request #34 from realraum/ansible/base

ansible/base: Add some useful packages

6 years agoMerge pull request #33 from realraum/ansible/vm
Christian Pointner [Sat, 24 Nov 2018 15:28:41 +0000 (16:28 +0100)]
Merge pull request #33 from realraum/ansible/vm

Minor fixes for the VM-related Ansible roles

6 years agoadd missing vlan configs in ansible network.yml
Christian Pointner [Sat, 24 Nov 2018 15:25:10 +0000 (16:25 +0100)]
add missing vlan configs in ansible network.yml

6 years agoansible/base: Add some useful packages
nicoo [Sat, 24 Nov 2018 15:23:00 +0000 (16:23 +0100)]
ansible/base: Add some useful packages

6 years agoansible/vm/install: Wait slightly longer for Debian installer
nicoo [Sat, 24 Nov 2018 15:18:35 +0000 (16:18 +0100)]
ansible/vm/install: Wait slightly longer for Debian installer

6 years agoansible/vm/guest: Fix bug in rng-tool configuration task
nicoo [Sat, 24 Nov 2018 15:18:05 +0000 (16:18 +0100)]
ansible/vm/guest: Fix bug in rng-tool configuration task