howtos/Ansible/ansible_curso/lab_facts/tasks/directorio.yml

21 lines
461 B
YAML

---
- name: Instalando database y ftp
yum:
name:
- "{{ ansible_local.custom.paquetes.db_pkg }}"
- "{{ ansible_local.custom.paquetes.ftp_pkg }}"
state: latest
- name: Iniciando servicio ftp
service:
name: "{{ ansible_local.custom.servicios.ftp_srv }}"
state: started
enabled: true
- name: Iniciando servicio mariadb
service:
name: "{{ ansible_local.custom.servicios.db_srv }}"
state: started
enabled: true
...