Git Product home page Git Product logo

bambini's Introduction

Ansible Collection - geertsky.bambini

This collection was created because of the need for a module to generate urls to rpms to realize the "Install minimal OS" task of the ansible-bambini role.

ansible-bambini role makes the bare metal installation of machines easy, completely controlled and parameterized. Additionally, it is faster and less error prone.

The documentation of the role can be found at roles/ansible-bambini/README.md.

The documentation of the module can be found in ansible-doc geertsky.bambini.generate_minimal_install_urls_info

bambini's People

Contributors

geertsky avatar

Stargazers

theo avatar  avatar Navid Sassan avatar

Watchers

 avatar

bambini's Issues

Change partitioning step to allow partitioning according to vars

Currently, the partitioning is done by tasks using parted and the partitioning is set statically in the tasks.
I want to change this to the linux-system-roles/storage role (https://github.com/linux-system-roles/storage) because it uses blivet and blivet is also used by kickstart.

A partitioning scheme defined in vars will look something like:

    include_tasks: get_unused_disk.yml
    vars:
      min_size: "{{ volume_size }}"
      max_return: 1

  - name: Create a LVM logical volume with default fs_type
    include_role:
      name: linux-system-roles.storage
    vars:
      storage_pools:
        - name: foo
          disks: "{{ unused_disks }}"
          volumes:
            - name: test1
              size: "{{ volume_size }}"
              mount_point: "{{ mount_location }}"

add an optional task to touch .autorelabel after installation

For the boot to finish we need enforcing=0. The idea was to finish the installation with touching of /.autorelabel so the machine could switch off once the complete installation is finished. One could argue that other roles/playbooks can be security risk without selinux.

  • modify the Continue boot process task of post_minimal_install.yml to optionally touch /sysroot/.autorelabel and shut down.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.