This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
#SELINUX | |
- name: Desabilitando o SeLinux | |
selinux: policy=targeted state=disabled | |
#FIREWALLD | |
- name: Desabilitando o firewalld | |
systemd: name=firewalld state=stopped enabled=no | |
#TIMEZONE | |
- name: Ajustando o timezone do sistema | |
timezone: name=America/Sao_Paulo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
##VARIAVEIS | |
- name: Variaveis | |
include_vars: /etc/ansible/vars/mariadb.yml | |
##MARIADB RUNNING | |
- name: MariaDB running... | |
service: name=mariadb state=started enabled=true | |
##INSTALA O MODULO PYTHONDB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
##INSTALA O REPOSITORIO MariaDB 10.1 | |
- name: Adicionando o repositorio MariaDB 10.1 | |
yum_repository: | |
name: MariaDB | |
description: MariaDB repository 10.1 | |
baseurl: http://yum.mariadb.org/10.1/centos7-amd64 | |
gpgkey: https://yum.mariadb.org/RPM-GPG-KEY-MariaDB | |
gpgcheck: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# # vi: set ft=ruby : | |
###CONFIGURACOES DOS HOSTS | |
Vagrant.configure("2") do |config| | |
#BOX | |
config.vm.box = "insaneworks/centos7" | |
config.vm.define "chef1" do |chef1| |
NewerOlder