rembik / ansible-role-bootstrap

Prepare nearly any system to be managed by Ansible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: Bootstrap

ci_badge release_badge ansible_role_badge ansible_downloads_badge

Prepare your system to be managed by Ansible.

Requirements

  • Access to repositories containing system packages, likely on the internet.
  • A recent Ansible version (tested last 2 stable major versions).

Role Variables

These defaults are set in defaults/main.yml:

---
# defaults file for bootstrap

# The user to use to connect to machines.
bootstrap_user: root

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

# The number of seconds you want to wait during connection test before failing.
bootstrap_timeout: 3

Dependencies

None.

Example Playbook

This example is taken from molecule/resources/converge.yml:

---
- name: Converge
  hosts: all
  gather_facts: no
  become: yes

  tasks:
    - include_role:
        name: ansible-role-bootstrap

Tests

This role is tested periodically against the following Linux distributions:

python_badge ansible_badge ansible_previous_badge ansible_latest_badge ansible_devel_badge
alpine_badge x1 x1 e2 e1 e2
amazonlinux_badge x
archlinux_badge x x e
centos_badge x x e
debian_badge x1 x1 e2 e1 e2
fedora_badge x1 x1 e2 e1 e2
gentoo_badge x x e
kali_badge x
opensuse_badge x1 x2 x1 x2 e1 e2
redhat_badge x x e
ubuntu_badge x1 x1 e2 e1 e2
xl el

Contributing

If you find issues, please register them at this GitHub project issue page or consider contributing code by following this guideline.

License

Apache License, Version 2.0

Author Information

About

Prepare nearly any system to be managed by Ansible.

License:Apache License 2.0