Browse Source

current

master
commit
85ab2675af
3 changed files with 80 additions and 0 deletions
  1. +1
    -0
      defaults/main.yml
  2. +44
    -0
      meta/main.yml
  3. +35
    -0
      meta/main.yml~

+ 1
- 0
defaults/main.yml View File

@@ -0,0 +1 @@
root_target_directory: /target

+ 44
- 0
meta/main.yml View File

@@ -0,0 +1,44 @@
dependencies:
- role: partitioning
- role: mdraid_devices
mdraid_devices_state: created
- role: dmcrypt_devices
dmcrypt_devices_state: formated
- role: volume_groups
volume_groups_state: present
- role: logical_volumes
logical_volumes_state: present
- role: filesystems
filesystems_state: formated
- role: debootstrap
debootstrap_include:
- linux-image-amd64
- mdadm
- lvm2
- cryptsetup
- openssh-server
- btrfs-tools
- grub-pc
- python
- bridge-utils
- console-setup
- acpi-support
- role: mdraid_mdadm_conf
- role: dmcrypt_crypttab
- role: fstab
- role: keyboard_configuration
- role: chroot_environment
chroot_environment_state: mounted
- role: grub_bootloader
- role: update_initramfs
- role: chroot_environment
chroot_environment_state: unmounted
- role: network_interfaces
- role: ssh_root_access
- role: ssh_host_key
ssh_host_key_state: fetched
- role: filesystems
filesystems_state: unmounted
- role: reboot
- role: ssh_host_key
ssh_host_key_state: configured

+ 35
- 0
meta/main.yml~ View File

@@ -0,0 +1,35 @@
dependencies:
- role: manitu_rescue_prepare
- role: hostname
- role: default_partitions
default_partitions_profile: mdraid1_lvm
- role: partitioning
- role: mdraid_devices
- role: dmcrypt_devices
- role: volume_groups
- role: logical_volumes
- role: filesystems
mount_directory_target: /target
- role: debootstrap
debootstrap_target: /target
debootstrap_include:
- linux-image-amd64
- mdadm
- lvm2
- cryptsetup
- openssh-server
- btrfs-tools
- grub-pc
- python
debootstrap_mirror: http://mirror.manitu.net/debian
- role: chroot_environment
chroot_environment_target: /target
- role: fstab
fstab_file: /target/etc/fstab
- role: grub_bootloader
chroot_target: /target
- role: network_interfaces
network_interfaces_target: /target
- role: ssh_access
ssh_access_target: /target
- role: reboot

Loading…
Cancel
Save