Ansible role: seed

This role is meant to make a new server meet Managed Node Requirements, so you can manage it using Ansible properly. It also installs Ansible itself on the target servers.

An example of using this role could be:

  • Add this to a requirements.yml file:
- src: https://github.com/jdxlabs/ansible-role-seed.git
  name: seed
  • Install via ansible-galaxy:
ansible-galaxy install -r requirements.yml
  • Use it without gathering facts, just in case Python is absent or in the wrong version:
---
- hosts: target_servers
  become: true
  gather_facts: no
  roles:
    - seed

Credits

Widely inspired by the work of Aurélien Maury :
https://github.com/aurelienmaury/ansible-role-seed.git