Skip to content

Instantly share code, notes, and snippets.

# Create an OSEv3 group that contains the masters, nodes, and etcd groups
[OSEv3:children]
masters
nodes
etcd
nfs
# Set variables common for all OSEv3 hosts
[OSEv3:vars]
# SSH user, this user should allow ssh based auth without requiring a password
apiVersion: v1
kind: Template
message: |-
The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.
SEI:
Username: ${MYSQL_USER_SEI}
Password: ${MYSQL_PASSWORD_SEI}
Database Name: ${MYSQL_DATABASE_SEI}
# Create an OSEv3 group that contains the masters, nodes, and etcd groups
[OSEv3:children]
masters
nodes
etcd
nfs
# Set variables common for all OSEv3 hosts
[OSEv3:vars]
# SSH user, this user should allow ssh based auth without requiring a password
- name: AD
challenge: true
login: true
mappingMethod: claim
provider:
apiVersion: v1
kind: LDAPPasswordIdentityProvider
attributes:
id:
- dn
- name: unsubscribe --all
command: subscription-manager unsubscribe --all
- name: clean all
command: yum clean all
- name: Attach poll ID
command: subscription-manager attach --pool=8a82f0015d09c6b9015d09f10fbf0005
- name: Desabilita repos
[OSEv3:children]
masters
nodes
etcd
nfs
[OSEv3:vars]
# ==============
# Configuracoes Gerais
# ==============
@Lasherbr
Lasherbr / named.conf
Created February 27, 2018 21:21
Configuracao /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// See the BIND Administrator's Reference Manual (ARM) for details about the
// configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html
@Lasherbr
Lasherbr / example.com.db
Created February 27, 2018 21:20
Conf Bind Named /var/named/example.com.db
$TTL 1D
$ORIGIN example.com.
@ IN SOA example.com. root.cloudapps.example.com. (
10 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
IN NS ns1.example.com.
ns1 IN A 127.0.0.1