Added README
This commit is contained in:
parent
b7691a8c30
commit
f707b75e6b
|
@ -1,2 +1,4 @@
|
||||||
/.idea
|
|
||||||
*~
|
*~
|
||||||
|
*.old
|
||||||
|
/.idea
|
||||||
|
/.ansible
|
||||||
|
|
|
@ -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
|
|
@ -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
|
||||||
|
```
|
|
@ -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
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env -S python3 -m pip install --upgrade --requirement
|
||||||
|
ansible
|
||||||
|
ansible-lint
|
||||||
|
dnspython
|
||||||
|
netaddr
|
||||||
|
kubernetes
|
|
@ -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
|
Loading…
Reference in New Issue