Releases: robertdebock/ansible-role-bootstrap
FreeBSD and faster
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.
Stars
Stars mostly.
community
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.
shadow
Removed shadow from Alpine, it's a community package, not available on all systems, like Vagrant.
Ansible 2.7
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 Fest 2018
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:tolatest. - 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!
state
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.
Don't wait
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.
inventory_hostsname
The inventory_hostname is always available, so no need to test is with a when:. Plus a space-fix.
Better wait
Waiting for a host in a better way, using ansible_ssh_host, ansible_host or inventory_hostname. Should work better with Vagrant too.