Browse Source

Merge branch 'main' of https://git.osuv.de/m/osuv

main
Markus Bergholz 2 months ago
parent
commit
f853a10054
2 changed files with 11 additions and 1 deletions
  1. +9
    -1
      Makefile
  2. +2
    -0
      inventories/localhost.ini

+ 9
- 1
Makefile View File

@ -12,4 +12,12 @@ rmtalk: ## deploy nextcloud talk backend server
ansible-playbook -i inventories/osuv.hcloud.yml talk.yml --tags rm
dns: ## deploy dns
ansible-playbook main.yml --tags dns
ansible-playbook main.yml --tags dns
localhost: ## install localhost as workstation
pip3 install ansible --user
ansible-galaxy collection install devsec.hardening
ansible-galaxy collection install markuman.hetzner_dns
touch defaults.yml
sudo ls
ansible-playbook -i inventories/localhost.ini main.yml --tags workstation --extra-vars '{"CONFIG": {"USER": "$$(whoami)"}}'

+ 2
- 0
inventories/localhost.ini View File

@ -0,0 +1,2 @@
[localhost]
localhost ansible_ssh_user=m ansible_connection=local

Loading…
Cancel
Save