Added README

This commit is contained in:
Jeroen Vermeulen 2023-08-28 16:58:46 +02:00
parent b7691a8c30
commit f707b75e6b
No known key found for this signature in database
7 changed files with 52 additions and 1 deletions

4
.gitignore vendored
View File

@ -1,2 +1,4 @@
/.idea
*~
*.old
/.idea
/.ansible

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "roles/snel.kubernetes-cluster"]
path = roles/snel.kubernetes-cluster
url = git@git.snel.com:snelcom-ansible/snel.kubernetes-cluster.git

19
README.md Normal file
View File

@ -0,0 +1,19 @@
Snel.com Ansible Playbooks
---
## Clone repo on MacOS
```zsh
cd ~/repos
git clone --recurse-submodules git@git.snel.com:snelcom-ansible/snel.ansible.git snel.ansible
```
## Install on MacOS
```zsh
brew install ansible ansible-lint packer jq siderolabs/talos/talosctl kubernetes-cli helm
./requirements.txt
./requirements.yml
git config core.hooksPath .githooks
grep 'OBJC_DISABLE_INITIALIZE_FORK_SAFETY' ~/.zshrc || echo "OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES" >> ~/.zshrc
source ~/.bash_profile
```

15
ansible.cfg Normal file
View File

@ -0,0 +1,15 @@
[defaults]
ansible_home = ./.ansible
inventory = inventory/
remote_tmp = ~/.ansible/tmp
vault_password_file = ./.ansible/vault_pass
gathering = smart
fact_caching = jsonfile
# fact_caching_connection = ./.ansible/facts
fact_caching_timeout = 86400
interpreter_python = /usr/bin/python3
host_key_checking = false
display_skipped_hosts = false
[ssh_connection]
pipelining = true

6
requirements.txt Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env -S python3 -m pip install --upgrade --requirement
ansible
ansible-lint
dnspython
netaddr
kubernetes

5
requirements.yml Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env -S ansible-galaxy install --force --role-file
---
collections:
- name: community.crypto
- name: community.general

@ -0,0 +1 @@
Subproject commit 9351f64a03ffdfa0a57ab8c5ee7d06f3d8e00b42