victorock.tower_config
Ansible Tower Konfiguration
Einfache Rolle zur Konfiguration von Ansible Tower von Red Hat.
Anforderungen
ansible-tower-cli
Rollenvariablen
defaults/main.yml
---
tower_config:
host: "tower.example.com"
benutzername: "admin"
passwort: "toweradmin"
ssl_verifizieren: false
einstellung:
lizenz:
unternehmensname: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
kontakt_email: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
kontakname: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
hostname: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
instanzanzahl: XXXXXX
lizenzdatum: XXXXXXX
lizenzschlüssel: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
lizenztyp: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
abonnementsname: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
probeversion: XXXX
eula_akzeptiert: true
proxy:
http_proxy: "http://172.17.0.1:3128"
https_proxy: "http://172.17.0.1:3128"
no_proxy: "localhost,127.0.0.0/8"
organisation:
README:
name: "README"
beschreibung: "README"
benutzerdefinierte_virtualenv: "/path/to/virtualenv/readme" # Setze auf false, null, '' oder lösche diese Variable, um sie zu entfernen
benutzer:
- name: "infraops"
passwort: "infraops"
email: "[email protected]"
vorname: "Infrastructure"
nachname: "Operations"
superuser: true
auditor: false
- name: "netops"
passwort: "netops"
email: "[email protected]"
vorname: "Network"
nachname: "Operations"
superuser: false
auditor: false
- name: "devops"
passwort: "devops"
email: "[email protected]"
vorname: "Developer"
nachname: "Operations"
superuser: false
auditor: false
- name: "sysops"
passwort: "sysops"
email: "[email protected]"
vorname: "System"
nachname: "Operations"
superuser: false
auditor: false
- name: "secops"
passwort: "secops"
email: "[email protected]"
vorname: "Security"
nachname: "Operations"
superuser: false
auditor: true
teams:
- name: "infraops"
beschreibung: "InfraOps"
mitglieder:
- name: "netops"
- name: "devops"
- name: "sysops"
- name: "secops"
- name: "netops"
beschreibung: "Netzwerk Operationen"
mitglieder:
- name: "netops"
- name: "devops"
beschreibung: "Entwickler Operationen"
mitglieder:
- name: "devops"
- name: "sysops"
beschreibung: "System Operationen"
mitglieder:
- name: "sysops"
- name: "secops"
beschreibung: "Sicherheits Operationen"
mitglieder:
- name: "secops"
berechtigungen:
- name: "empty-scm"
benutzername: Null
passwort: Null
art: "scm"
beschreibung: "Leere Berechtigung"
- name: "network-nxos-ssh"
art: "ssh"
beschreibung: "Berechtigung für nxos"
benutzername: vagrant
passwort: vagrant
- name: "network-nxos-net"
art: "net"
beschreibung: "Berechtigung für nxos"
benutzername: vagrant
passwort: vagrant
- name: "system-linux-ssh"
art: "ssh"
beschreibung: "Berechtigung für Linux"
benutzername: vagrant
passwort: vagrant
- name: "system-windows-ssh"
art: "ssh"
beschreibung: "Berechtigung für Windows"
benutzername: vagrant
passwort: vagrant
projekte:
- name: "Entwicklung: netops:ansible-tower-example"
beschreibung: "Entwicklung: netops:ansible-tower-example"
scm_berechtigung: "empty-scm"
scm_typ: "git"
scm_zweig: "dev"
scm_aktualisieren_bei_start: true
scm_url: "https://github.com/ansible/tower-example"
- name: "Entwicklung: devops:ansible-tower-example"
beschreibung: "Entwicklung: devops:ansible-tower-example"
scm_berechtigung: "empty-scm"
scm_typ: "git"
scm_zweig: "dev"
scm_aktualisieren_bei_start: true
scm_url: "https://github.com/ansible/tower-example"
- name: "Entwicklung: sysops:ansible-tower-example"
beschreibung: "Entwicklung: sysops:ansible-tower-example"
scm_berechtigung: "empty-scm"
scm_typ: "git"
scm_zweig: "dev"
scm_aktualisieren_bei_start: true
scm_url: "https://github.com/ansible/tower-example"
- name: "Entwicklung: secops:ansible-tower-example"
beschreibung: "Entwicklung: secops:ansible-tower-example"
scm_berechtigung: "empty-scm"
scm_typ: "git"
scm_zweig: "dev"
scm_aktualisieren_bei_start: true
scm_url: "https://github.com/ansible/tower-example"
inventare:
- name: "infraops"
beschreibung: "infraops"
- name: "netops"
beschreibung: "netops"
- name: "sysops"
beschreibung: "sysops"
- name: "secops"
beschreibung: "secops"
job_vorlagen:
- name: "Entwicklung: netops:helloworld"
beschreibung: "Entwicklung: netops:helloworld"
projekt: "Entwicklung: netops:ansible-tower-example"
spielbuch: "helloworld.yml"
inventar: "netops"
forks: 50
limit: "dev"
berechtigung: "network-nxos-ssh, network-nxos-net"
- name: "Entwicklung: devops:helloworld"
beschreibung: "Entwicklung: devops:helloworld"
projekt: "Entwicklung: netops:ansible-tower-example"
spielbuch: "helloworld.yml"
inventar: "devops"
forks: 50
limit: "dev"
berechtigung: "system-linux-ssh"
- name: "Entwicklung: sysops:helloworld"
beschreibung: "Entwicklung: sysops:helloworld"
projekt: "Entwicklung: sysops:ansible-tower-example"
spielbuch: "helloworld.yml"
inventar: "sysops"
forks: 50
limit: "dev"
berechtigung: "system-windows-ssh"
- name: "Entwicklung: secops:helloworld"
beschreibung: "Entwicklung: secops:helloworld"
projekt: "Entwicklung: secops:ansible-tower-example"
spielbuch: "helloworld.yml"
inventar: "secops"
forks: 50
limit: "dev"
berechtigung: "system-linux-ssh"
workflow_vorlagen:
- name: "Entwicklung: workflow:helloworld"
beschreibung: "Entwicklung: workflow:helloworld"
schema:
- job_vorlage: "Entwicklung: netops:helloworld"
erfolg:
- job_vorlage: "Entwicklung: sysops:helloworld"
fehler:
- job_vorlage: "Entwicklung: secops:helloworld"
berechtigungen:
- team: "infraops"
rolle: "admin"
ziel_team: "infraops"
- team: "netops"
rolle: "admin"
ziel_team: "netops"
- team: "sysops"
rolle: "admin"
ziel_team: "sysops"
- team: "secops"
rolle: "admin"
ziel_team: "secops"
- team: "secops"
rolle: "admin"
berechtigung: "empty-scm"
- team: "netops"
rolle: "benutzen"
berechtigung: "empty-scm"
- team: "devops"
rolle: "benutzen"
berechtigung: "empty-scm"
- team: "sysops"
rolle: "benutzen"
berechtigung: "empty-scm"
- team: "secops"
rolle: "admin"
berechtigung: "network-nxos-ssh"
- team: "netops"
rolle: "benutzen"
berechtigung: "network-nxos-ssh"
- team: "secops"
rolle: "admin"
berechtigung: "network-nxos-net"
- team: "netops"
rolle: "benutzen"
berechtigung: "network-nxos-net"
- team: "secops"
rolle: "admin"
berechtigung: "system-linux-ssh"
- team: "sysops"
rolle: "benutzen"
berechtigung: "system-linux-ssh"
- team: "devops"
rolle: "benutzen"
berechtigung: "system-linux-ssh"
- team: "secops"
rolle: "admin"
berechtigung: "system-windows-ssh"
- team: "sysops"
rolle: "benutzen"
berechtigung: "system-windows-ssh"
- team: "devops"
rolle: "benutzen"
berechtigung: "system-windows-ssh"
- team: "netops"
rolle: "admin"
projekt: "Entwicklung: netops:ansible-tower-example"
- team: "devops"
rolle: "admin"
projekt: "Entwicklung: devops:ansible-tower-example"
- team: "secops"
rolle: "admin"
projekt: "Entwicklung: secops:ansible-tower-example"
- team: "sysops"
rolle: "admin"
projekt: "Entwicklung: sysops:ansible-tower-example"
- team: "netops"
rolle: "admin"
job_vorlage: "Entwicklung: netops:helloworld"
- team: "devops"
rolle: "admin"
job_vorlage: "Entwicklung: devops:helloworld"
- team: "sysops"
rolle: "admin"
job_vorlage: "Entwicklung: sysops:helloworld"
- team: "secops"
rolle: "admin"
job_vorlage: "Entwicklung: secops:helloworld"
benachrichtigungen:
- name: "webhook-beispiel"
beschreibung: "Webhook-Benachrichtigung"
benachrichtigung_typ: webhook
url: "https://www.example.com/webhook"
Abhängigkeiten
Keine
Beispiel-Playbook
- name: "Konfiguration von Ansible Tower durch Red Hat"
hosts: tower
become: true
rollen:
- victorock.tower_config
Lizenz
GPLv3
Autorinformationen
Victor da Costa
Installieren
ansible-galaxy install victorock.tower_config
Lizenz
gpl-3.0
Downloads
222
Besitzer