Commit graph

351 commits

Author SHA1 Message Date
026e077fc7 Add devel01.home.foo.sh host for dev purposes
This host is intended for development purposes and is not included
in default playbooks. Start with:

ansible-playbook playbooks/devel.yml -i hosts.devel
2020-08-28 07:52:56 +00:00
8ecbc19c75 ansible-host: Remove some packages not related to ansible 2020-08-27 18:26:57 +00:00
fa43cc36da Add certbot role to adm hosts 2020-08-27 20:51:15 +03:00
c80eca3d85 New implementation of network interfaces
Combine interfaces and network_ether_interfaces into one common
variable network_interfaces. Provisioning uses format:

network_interfaces:
  - device: device name eg. vio0 or eth0
    vlan: vlan id for this interface
    mac: mac address for interface (optional)

Additionally network role will use more settings to configure
interface.
2020-08-27 17:42:07 +00:00
78c9a2eaf1 Don't hardcode private dir to vm-create 2020-08-27 12:41:16 +00:00
fc25e0a108 Add support to provision OpenBSD KVM guests 2020-08-27 12:40:17 +00:00
098ab32a78 Don't hardcode private directory path 2020-08-27 14:29:35 +03:00
eb92f9f7bd add adm01.home.foo.sh
Temporarily running in vmhost02
2020-08-26 23:26:00 +03:00
47e5fe321c More lint fixes 2020-08-26 21:53:35 +03:00
65fcb4035e Aggressive line shortening to get past yamllint 2020-08-26 21:22:22 +03:00
18df5f418c Fix typo, rename disk vars and cleanup 2020-08-26 21:03:05 +03:00
6798c71285 Make vars more readable and fix one lint error 2020-08-26 20:28:15 +03:00
d54fe7975c Don't set password for root. Just lock account. 2020-08-26 20:24:08 +03:00
54b5a74f54 Use cpu cores instead of sockets for kvm guests 2020-08-26 20:20:04 +03:00
6bf4815503 Store console output to logfile on kvm guests 2020-08-26 20:12:12 +03:00
40963ea620 Relocate kvm guest disk images 2020-08-26 20:07:55 +03:00
afd81c714c add log01 host 2019-07-19 17:20:15 +03:00
bd1205af61 add ldap/nss role to git hosts to fix repository owner name 2019-06-13 20:02:22 +03:00
d599adcd95 enable ldap slave 2019-06-08 17:24:42 +03:00
c69316ec6f remove unused ldap02.foo.sh site from proxies 2019-06-06 23:16:54 +03:00
bc51574113 rename ansible_dir_private to ansible_private 2019-06-06 23:16:06 +03:00
a3ea2437a3 only mount /export on ldap master 2019-05-31 18:35:40 +03:00
05f2b28c4f use random mac address if it's not provided 2019-05-31 18:30:36 +03:00
8db1ce69fd add kerberos role to ldap group still work in progress 2019-05-29 00:41:57 +03:00
58b3ca5d62 add ldap/server role to ldap servers 2019-05-28 20:34:53 +03:00
7f284a8e24 add first ldap host 2019-05-28 20:32:16 +03:00
180dae44a4 create relayd role and enable it for proxy group 2019-05-28 02:33:03 +03:00
0a8c59335a add ifstated role and enable it on proxy group 2019-05-28 02:09:35 +03:00
397a686495 ugly hack to get ldap certificates 2019-05-28 02:08:23 +03:00
5dc54dd8eb add proxy hosts 2019-05-28 00:28:29 +03:00
be9fab2fc3 use command instead of shell as recommended 2019-05-23 21:24:53 +03:00
0b715e82e6 split long lines (lint fixes) 2019-05-23 19:29:24 +03:00
6e996b7252 always use virtio driver for disks 2019-05-23 17:34:13 +03:00
9357facb7d enable ip forwarding on gw hosts 2019-05-23 02:09:31 +03:00
7d45cde22e starting work on gw group 2019-05-22 23:53:35 +03:00
04e7eb07c9 create os based groups and move all os variables to group variables 2019-05-22 23:28:25 +03:00
8ab0c58e21 enable rsync/server on mirror hosts 2019-05-20 23:08:33 +03:00
4004a9ef68 add support for defining multiple interfaces for virtual machines 2019-05-17 14:28:38 +03:00
a283444443 add git host group 2019-05-17 11:39:04 +03:00
9a068f11e1 lint fixes 2019-05-13 00:01:03 +03:00
12f654bb13 add fedora report_mirror tool and enable it 2019-05-12 23:55:21 +03:00
50d4fad823 change openbsd mirror 2019-05-12 19:28:09 +03:00
79dd378265 add tools for syncing thinlinc packages and enable it on mirror group 2019-05-11 01:59:18 +03:00
278f2deb92 add mirror role and enable syncs on mirror group 2019-05-11 01:57:50 +03:00
9e2cfbd37c mirror: mount /export before starting real work 2019-05-10 17:40:00 +03:00
2ceee43d40 first version of base role 2019-05-10 15:25:38 +03:00
57ffdc6b50 added first client 2019-05-10 15:08:41 +03:00
a47d58799d Add support for multiple disks when creating new virtual machines. 2019-05-10 13:02:47 +03:00
ad30e5be01 Run ssh-keyscan only when instance is created. 2019-05-10 11:14:32 +03:00
64c6a74de2 Fix tmpdir cleaning error when tmpdir is not created.§ 2019-05-10 11:12:35 +03:00