This repository is for generic playbooks using Ansible core modules.
- ansible
- ansible-lint
None
Install python
usign raw
module to allow use Ansible in remote host.
Default variables:
variable | default |
---|---|
python_dnf_config |
true |
python_python2 |
false |
python_python2_bin |
/usr/bin/python2.7 |
python_python2_pkg |
python2 |
python_python3 |
true |
python_python3_bin |
/usr/bin/python3.6 |
python_python3_pkg |
python36 |
python_yum_config |
true |
python_yum_update |
true |
Optional variables:
variable | example |
---|---|
python_dns_nameserver |
1.1.1.1 |
python_http_proxy_host |
10.1.0.1 |
python_http_proxy_port |
3128 |
python_http_proxy_url |
http://{{ python_http_proxy_host }}:{{ python_http_proxy_port }} |
python_http_test: |
https://mirrors.almalinux.org:443/mirrorlists/8/baseos |
Allow to modify state of multiple services, variable example:
generic_service_state:
- name: mysql
state: stopped
- name: mysql
state: started
- name: nginx
state: reloaded
- name: nginx
state: restarted
GNU General Public License, GPLv3.
This role was created in 2022 by Osiris Alejandro Gomez, worker cooperative of gcoop Cooperativa de Software Libre.