https://github.com/mischief/ansible
ansible stuff
https://github.com/mischief/ansible
Last synced: 5 months ago
JSON representation
ansible stuff
- Host: GitHub
- URL: https://github.com/mischief/ansible
- Owner: mischief
- Created: 2021-02-28T22:34:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T18:17:30.000Z (over 2 years ago)
- Last Synced: 2025-04-03T01:41:38.768Z (about 1 year ago)
- Language: Jinja
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenBSD router with Ansible
## Setup
1. install openbsd
2. put `permit nopass keepenv :wheel` in /etc/doas.conf
3. install python3
doas pkg_add -vi python
## execute
ansible-playbook --syntax-check router.yaml && \
ansible-playbook --ask-vault-password -e @secrets.yaml --become router.yaml
## tip: test a template locally
ansible all -i localhost, -c local -m template \
-a "src=roles/router/templates/pf.conf.j2 dest=./test.txt" \
--extra-vars=@group_vars/router.yaml