updating playbook

This commit is contained in:
2021-03-05 23:06:56 +00:00
parent d1eaf0c09d
commit 34da26ab49

View File

@@ -1,21 +1,22 @@
--- ---
# local or remote connection # local or remote connection
# - hosts: all - hosts: all
- hosts: 127.0.0.1 # - hosts: 127.0.0.1
connection: local # connection: local
# variable flags # variable flags
vars: vars:
install_cargo_packages: true install_cargo_packages: true
install_pyenv_python: true install_pyenv_python: true
target_system: mac target_system: linux
# mac overrides # mac overrides
default_user: dtomlinson # default_user: dtomlinson
ansible_become_pass: "{{ vault_ansible_become_pass }}" # default_user_group: staff
# ansible_become_pass: 4Oa;Db5c!
roles: roles:
- role: nickjj.fail2ban - role: nickjj.fail2ban
tags: [server, fail2ban] tags: [fail2ban]
when: target_system == "linux" when: target_system == "linux"
- role: setup - role: setup
when: target_system == "linux" when: target_system == "linux"