dustinliddick.bootstrap

Bootstrap

Set up your system to be managed by Ansible.

GitLab

Example Playbook

This example comes from molecule/default/converge.yml and is tested with every push, pull request, and release.

---
- name: Converge
  hosts: all
  # This role installs packages using the `raw` module and needs to connect as
  # `root`. (`sudo` is not available before bootstrapping.) All tasks in the
  # role have `become` set to `no`, so you can use either `no` or `yes` for
  # `become`, the role will not use become (so `sudo`) for any task.
  become: yes  # `no` will also work.
  # This role installs Python, and gathering facts can't be done before `Python` is
  # installed. This role runs the `setup` module, so facts will be available
  # after running the role.
  gather_facts: no

  roles:
    - role: dustinliddick.bootstrap

You can also see a full explanation and example on how to use these roles.

Role Variables

The default values for these variables are set in defaults/main.yml:

---
# defaults file for bootstrap

# Do you want to wait for the host to be available?
bootstrap_wait_for_host: no

# The number of seconds to wait during connection tests before the process fails.
bootstrap_timeout: 3

# Tell the role whether to "become" or not.
bootstrap_become: yes

Requirements

Context

This role is part of many compatible roles. Check out the documentation of these roles for more information.

Here’s an overview of related roles: Dependencies

Compatibility

This role has been tested on these container images:

Container Tags
Alpine all
EL all
Fedora all

The minimum version of Ansible required is 2.12. Tests have been conducted on:

  • The previous version.
  • The current version.
  • The development version.

If you find any issues, please report them on GitHub.

License

Apache-2.0.

Author Information

dustinliddick

Please consider sponsoring me.

Informazioni sul progetto

Prepare your system to be managed by Ansible.

Installa
ansible-galaxy install dustinliddick.bootstrap
Licenza
apache-2.0
Download
111
Proprietario
I'm the Linux Systems Administrator for Collegis Education. I'm responsible for day-to-day operational support of all Red Hat Enterprise Linux systems.