This repository uses gitleaks via pre-commit
- Install
pre-commitglobally (Recommended):
# macOS
brew install pre-commit
# Linux
pip3 install --user pre-commit
# Or use your OS package manager
# Initialize hooks
pre-commit install- Install
pre-commitvirtual environment:
python3 -m venv venv
source venv/bin/activate
pip install pre-commit
pre-commit installansible localhost -m ping -i inventory -u root --private-key=~/.ssh/u_key -kuse option '-k' if u key have parsphere.
ansible-playbook side.yml -i inventory -u root --private-key=~/.ssh/u_key -k -l uapside.yml is a run file used to more include roles for specific targets (use option '-l' for further limit selected hosts).
ansible-playbook side.yml -i inventory -u root --private-key=~/.ssh/u_key -k -l uap --ask-vault-passwordansible uap -m setup -i inventory -k -u root
ansible uap -m setup -a "filter=ansible_os_family" -i inventory -k -u root- At the moment I do not use a virtual environment and ssh agent.
- If u have any comments, corrections or suggestions, please create an issue, don't be shy. (:
- There will be encryption used in some places - don't worry, you can change that.