diff --git a/provision.yml b/provision.yml new file mode 100644 index 0000000..eccdc87 --- /dev/null +++ b/provision.yml @@ -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 diff --git a/test.yml b/test.yml deleted file mode 100644 index 9cb8c49..0000000 --- a/test.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- hosts: all - vars: - install_cargo_packages: true - roles: - - role: nickjj.fail2ban - tags: [server, fail2ban] - - role: setup - - role: ssh - - role: shell - - role: python - - role: rust - - role: terraform - - role: go - - role: docker - - role: cleanup