ansible-role-bootstrap

Prepare your system to be managed by Ansible.

APACHE-2.0 License

Stars
199
Committers
10

Bot releases are visible (Hide)

ansible-role-bootstrap - RHEL, SLES and Amazon Linux

Published by robertdebock almost 6 years ago

Since molecule testing on Amazon is implemented, I know RHEL, SLES and Amazon Linux are working. Cool, without any change to the role.

A lot of cleanups have also been done.

ansible-role-bootstrap - FreeBSD and faster

Published by robertdebock almost 6 years ago

FreeBSD has been added and tested locally, works like a charm.

FreeBSD can't be tested on Travis/in Docker, because Docker is kernel virtualization, and Linux has a different kernel than FreeBSD.

Futerhmore, mostly meta fixes and cleanups. This means this role is ready for Galaxy 3.0.3 with quality assessments.

ansible-role-bootstrap - Stars

Published by robertdebock about 6 years ago

Stars mostly.

ansible-role-bootstrap - community

Published by robertdebock about 6 years ago

Alpine now enable the community repository and installs shadow. Shadow is required for the user and group modules, so it's quite mandatory to have.

ansible-role-bootstrap - shadow

Published by robertdebock about 6 years ago

Removed shadow from Alpine, it's a community package, not available on all systems, like Vagrant.

ansible-role-bootstrap - Ansible 2.7

Published by robertdebock about 6 years ago

As announced, Ansible 2.7 is out. This release makes sure this role runs on Ansible 2.7 too.

Also switch from loop: to not using loop or with items, because Ansible got simpler again!

ansible-role-bootstrap - Ansible Fest 2018

Published by robertdebock about 6 years ago

So, Ansible Fest 2018 inspired me to change my Ansible role strategy a bit. The changes include:

  • Less Ansible versions tests.
  • Add details to README.md
  • Allow to update all packages installed by this role by setting bootstrap_package_state: to latest.
  • Add a default molecule test to (locally) test all distributions at once.
  • Fix Ansible Lint hints.
  • Switch to (previously used) vars/main.yml instead of one file per distribution.

The role is now ready for 5 stars (quality check) on Galaxy 3.1!

ansible-role-bootstrap - state

Published by robertdebock about 6 years ago

Following the best practices, which states that state: should be mentioned. So far most roles that used the default state, did not mention state:, but as it's a good practice, let's mention it from now on.

ansible-role-bootstrap - Don't wait

Published by robertdebock about 6 years ago

Not everybody wants to wait for the host to be up. It's still configurable with bootstrap_wait_for_host: yes, but the default is off.

ansible-role-bootstrap - inventory_hostsname

Published by robertdebock about 6 years ago

The inventory_hostname is always available, so no need to test is with a when:. Plus a space-fix.

ansible-role-bootstrap - Better wait

Published by robertdebock about 6 years ago

Waiting for a host in a better way, using ansible_ssh_host, ansible_host or inventory_hostname. Should work better with Vagrant too.

ansible-role-bootstrap - Readable

Published by robertdebock about 6 years ago

Updated the documentation to remove duplicate entries.

ansible-role-bootstrap - Wait and do not become

Published by robertdebock about 6 years ago

Wait had and issue where become: yes was set for a wait_for action, that runs on localhost. That's not required, so explicitly set become to no.

Thanks @infothrill for your help!

ansible-role-bootstrap - Gentoo

Published by robertdebock about 6 years ago

This role can now also be used to bootstrap (prepare a system to be managed by Ansible) Gentoo.

Gentoo uses emerge, installing packages takes more time, but CI/CD seems to work.

ansible-role-bootstrap - Efficiency

Published by robertdebock about 6 years ago

After quite some time, there were still a few improvements to do, breaking variable interface compatibility, so a major version bump:

  • Fix: Typo in variable boostrap_wait_for_host -> bootstrap_wait_for_host.
  • Change: Added package to support seport module.
  • Change: Moved setup to a handler, more effecient.
ansible-role-bootstrap - Semantic Versioning

Published by robertdebock about 6 years ago

Ansible Galaxy required SemVer format versioning, deleted all releases and tags, starting with 1.0.0.

Badges
Extracted from project README
github gitlab downloads Version