2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00
2025-10-10 11:07:34 +00:00

Ansible files and playbooks

This is Maruntiel's Ansible repository

INFRASTRUCTURE SETUP

Examples:

Ping all hosts to verify connectivity:

ansible all -m ping

Show all facts about some hosts:

ansible mysql -m setup

Run a command on all asterisk servers:

ansible asterisk -m shell -a "uname"

Install/upgrade a package on MySQL servers:

ansible mysql -m apt -a "name=innotop state=latest"

Provision the whole infrastructure:

ansible-playbook site.yml [--diff] [--tags=]

Provision the whole infrastructure in dry run mode and see what would change:

ansible-playbook site.yml --check --diff

Update the hosts file on all servers:

ansible-playbook tools/update_hosts.yml

Files:

ansible.cfg Ansible config file inventory Hosts inventory file defining all hosts and groups

site.yml Main playbook: provision all hosts and services playbook/.yml Playbooks for provisioning services (included by site.yml) tools/.yml Playbooks for operations others

Description
No description provided
Readme 94 MiB
Languages
Jinja 53.9%
Shell 43.1%
Python 1.7%
HCL 0.8%
Perl 0.5%