No description
  • PowerShell 87.1%
  • Shell 7%
  • Python 5.9%
Find a file
2026-10-23 22:14:04 +02:00
aws_workspace aws_workspace: add new playbook 2026-02-26 11:01:14 +01:00
helper add helper, wol 2026-08-29 08:50:30 +02:00
inventory linux: correct host and reboot.yml 2026-10-04 22:19:30 +02:00
iot add new structure 2026-01-16 10:22:47 +01:00
k8s k8s: new host 2026-08-30 10:36:55 +02:00
linux linux: list running docker images 2026-10-23 22:14:04 +02:00
mrm mrm_hosts: add ping and rename host group mrm 2026-05-08 08:25:04 +02:00
omc_linux linux_hosts_omc: add first bunch of servers 2026-06-18 20:35:18 +02:00
windows windows: some stats for our file servers 2026-09-08 19:04:02 +02:00
.gitignore add gitignore 2026-10-04 22:21:28 +02:00
.gitlab-ci.yml test ci 2025-12-02 22:12:09 +01:00
README.md more readme 2026-06-30 16:35:27 +02:00

devops with ansible

general use

ansible controller: AWSEFEDDEV001

git: https://git.mediabrandsww.de/federation/engineering/devops

server path: /opt/devops

download url: https://awsefedweb001.emea.corp.ipgnetwork.com/ivanti/

host file: /opt/devops/inventory/hosts

examples:

ansible-playbook linux/ping.yml -i inventory
ansible-playbook linux/ping.yml -i inventory -e "target_hosts=<name>"

checks

  • openssh installed and running Get-Service sshd
  • set powershell as default shell
$NewItemPropertyParams = @{
    Path         = "HKLM:\SOFTWARE\OpenSSH"
    Name         = "DefaultShell"
    Value        = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
    PropertyType = "String"
    Force        = $true
}
New-ItemProperty @NewItemPropertyParams

reboot checks

  • mwg linux server
    • AZREMWGDBS001 DB Service prüfen: systemctl status mysql = Active: active (running)
    • AZREMWGAPP001 mit /usr/local/cavok/control-cavok status überprüfen ob alle Cavok Services laufen (Sind mehrere)
    • AZREMWGCVK001 mit /usr/local/cavok/control-cavok status überprüfen ob alle Cavok Services laufen (Aus dem Kopf, ist das nur der Webservice)

windows: sshd_config (minimal)

AuthorizedKeysFile      .ssh/authorized_keys

PubkeyAuthentication yes
PasswordAuthentication yes

# override default of no subsystems
Subsystem       sftp    sftp-server.exe

Match Group administrators
       AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys