Commit Graph

99 Commits

Author SHA1 Message Date
rockstable 3cf440cd4e Add tags 2022-12-07 21:52:49 +01:00
rockstable 5fb112fb56 Provision with a hostname 2022-12-07 21:28:10 +01:00
rockstable f029e74acd Mayor refactoring 2022-12-07 14:52:06 +01:00
Tobias Stein 26bc5cecf5 Check if files should be copied 2022-05-04 22:06:52 +02:00
Tobias Stein 55bade1f8e Refactor task nginx
* Use varable for nginx_root
* Check for existence of site configuration before enabling
* Check conditions
* Add tags
2022-05-04 22:06:16 +02:00
rockstable 38ba272331 Use site-available/enabled with a symlink 2022-05-04 16:38:47 +02:00
rockstable 54e2aa8e7c Add jinja2 template for ansible_nopasswd 2022-05-04 16:38:18 +02:00
rockstable facbe66cbc Define additional menu entries in playbook 2022-05-04 16:37:53 +02:00
rockstable 085bd8f1b8 Move iPXM menu creation to jinja2
* Use module "template" instead of copy with content
*
2022-05-04 16:37:20 +02:00
rockstable b33aafd01f Define variables in inventory
* Configure routers, timeservers and nameservers
* Set preselected item to fai in PXE menu
2022-05-04 16:35:53 +02:00
rockstable bb655cf059 Add some quoting 2022-05-04 16:34:27 +02:00
rockstable a135d95e14 Refactor pathes to tftp and nginx root 2022-05-04 16:33:50 +02:00
rockstable c0c1c28ae3 Add tags to tasks 2022-05-04 16:30:50 +02:00
rockstable 6d5931941f Allow sudo nopasswd for ansible (during testing) 2022-05-04 16:29:01 +02:00
rockstable 7aa6bb65a2 Git-ignore vim swap files 2022-05-04 16:25:51 +02:00
Tobias Stein 3337c1a540 Make dhcp-config more flexible
* Add routers, nameservers and timeservers as variables with defaults
2022-05-02 08:56:51 +02:00
Tobias Stein 4de55e734b Move variables to inventory 2022-05-02 07:52:20 +02:00
Tobias Stein a97f593e30 Use lineinfile instead of overwriting with copy 2022-05-02 07:51:48 +02:00
Tobias Stein cad2ceaeba Update fai root password 2022-05-02 07:51:08 +02:00
Tobias Stein 4255871d36 Update default root and user password 2022-05-02 07:50:42 +02:00
Tobias Stein 0df15e5da1 Update README
* Fix links and typos
2022-05-01 22:41:46 +02:00
Tobias Stein f9f023f3bc Update README 2022-05-01 22:31:31 +02:00
Tobias Stein 7523e61773 Touch anything
* Add quoting
* Use fully qualified community names (FQCNs)
* Use quoted octal unix-permissions
* Replace module "synchronize" with "copy"
* Add and fix names to tasks and handlers
2022-05-01 22:31:20 +02:00
Tobias Stein 4d9e4a4d80 Create playbook "fai" 2022-05-01 20:37:50 +02:00
Alexander Böhm 81c1acef00 Add some improvements for libvirt backend and documented vagrant usage 2021-03-20 21:47:16 +01:00
Alexander Böhm e57263afdb Updated docu for custom user/pass 2021-03-20 18:18:10 +01:00
Alexander Böhm b7a43229c0 Some customization for vagrant 2021-03-20 18:17:49 +01:00
Alexander Böhm 1138535a14 Refactoring
- added server handler for restarting/updating services
- refactored when statements
2021-03-20 18:13:12 +01:00
Alexander Böhm e56c33ab7f Configurable user/pass 2021-03-20 18:12:53 +01:00
Alexander Böhm 339baa5189 And dummy file to ensure directory is created 2021-03-20 14:48:34 +01:00
Alexander Böhm c371c1e4af Fixes for directorys 2021-03-18 20:26:31 +01:00
Alexander Böhm 49d0055198 Flage for usage of apt-cacher for server, use ansible detected default NICs as default interface values 2021-03-18 12:10:50 +01:00
Alexander Böhm ae63d8a897 Removed not required collection 2021-03-18 11:28:04 +01:00
Alexander Böhm 79aa036b9c Merge branch 'master' of https://vcs.malbolge.net/chaosox/fai 2021-03-17 23:28:37 +01:00
Alexander Böhm 88a69e72c3 fix sytnax error 2021-03-17 23:28:10 +01:00
Alexander Böhm be46c0f96d Fix collection info for fai role 2021-03-17 23:27:58 +01:00
Alexander Böhm 8474ebfe89 Fix for apt-cacher-ng for ubuntu mirrors 2021-03-14 10:37:44 +01:00
Alexander Böhm 1f90f423b7 Add correct meta information 2021-03-14 10:37:20 +01:00
Alexander Böhm a452a75258 Merge branch 'feature/pxe_default_entry' into 'master'
Configurable menu entries

See merge request chaosox/fai!3
2021-03-14 10:36:08 +01:00
Alexander Böhm d75acde5e7 Configurable menu entries 2021-03-14 10:31:10 +01:00
Alexander Böhm ef02df7cd8 Merge branch 'bugfix/iptables_load_startup' into 'master'
fix for persistent iptables

See merge request chaosox/fai!2
2020-11-07 22:41:06 +01:00
Alexander Böhm 944bda2d1c add install for iptables-persistent, changed iptables loader 2020-11-07 22:39:22 +01:00
Alexander Böhm e8084b5848 Merge branch 'feature/ipxe_customization' into 'master'
Feature/ipxe customization

See merge request chaosox/fai!1
2020-11-07 20:40:14 +01:00
Alexander Böhm 1769770e79 Feature/ipxe customization 2020-11-07 20:40:14 +01:00
Alexander Böhm b5cb86950d Changed iPXE dilvery method to HTTP, refactoring
- iPXE will download files via http instead of tftp
- added more variabled for better settings handling
2020-10-18 22:43:08 +02:00
Alexander Böhm 82b8dc4fad WIP 2020-10-15 00:20:05 +02:00
Alexander Böhm e676b4c40c Some extensions
- add offline mode
- removed wan config
- add apt.faiserver.lan domain to unbound
- website apt.faiserver.lan in nginx to point to apt-cacher apt-repo
2020-10-08 20:17:01 +02:00
Alexander Böhm 2a567d47af WIP 2020-08-26 19:25:16 +02:00
Alexander Böhm d5eecc6a22 Initial 2020-08-26 12:10:36 +02:00