updating and renaming playbook

This commit is contained in:
2021-03-05 22:05:51 +00:00
parent 70d4b45b72
commit 02c05be6a8
2 changed files with 33 additions and 16 deletions

33
provision.yml Normal file
View File

@@ -0,0 +1,33 @@
---
# local or remote connection
# - hosts: all
- hosts: 127.0.0.1
connection: local
# variable flags
vars:
install_cargo_packages: true
install_pyenv_python: true
target_system: mac
# mac overrides
default_user: dtomlinson
ansible_become_pass: "{{ vault_ansible_become_pass }}"
roles:
- role: nickjj.fail2ban
tags: [server, fail2ban]
when: target_system == "linux"
- role: setup
when: target_system == "linux"
- role: ssh
when: target_system == "linux"
- role: docker
when: target_system == "linux"
- role: mac
when: target_system == "mac"
- role: shell
- role: python
- role: rust
- role: terraform
- role: go
- role: cleanup