Ansible role for common system utilities i'm use on everyday basis. .
- Ubuntu 12.04, 14.04
- Debian 7, 8
- CentOS 7
- Fedora 24-25
- Gentoo stage3 20170112
Write to requirements.yml
- src: https://github.com/dkhabarov/ansible-role-common-tools.git
name: dkhabarov.ansible-role-common-tools
Run install command:
ansible-galaxy install -i -f -r requirements.yml
Write playbook.yml
---
- name: apply common configuration to all nodes
hosts: all
user: root
roles:
- {role: dkhabarov.ansible-role-common-tools, tags: configure_common }
Or in $rolename/meta/main.yml
---
dependencies:
- { role: dkhabarov.ansible-role-common-tools, tags: configure_common }
Provison!