# Run on Mac OS: (https://github.com/ansible/ansible/issues/76322) # export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES # ansible-playbook -i hosts.ini setup-new-instance-playbook.yml
################################################## SMT Playbooks: Initial Server Setup################################################## Run on Mac OS: (https://github.com/ansible/ansible/issues/76322)# export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES# ansible-playbook -i hosts.ini setup-new-instance-playbook.yml---- name:Setup new Ubuntu Serverhosts:aws_node_01become:trueroles: - ngtrieuvi92.setup_ubuntu_sever - ansible-node-exporter - role:geerlingguy.dockerbecome:truebecome_user:"{{target_user}}"vars:ansible_user:ubuntuansible_ssh_private_key_file:~/.ssh/main_private_key.pemtarget_user:nimbusssh_public_key_paths: - ~/.ssh/id_rds.pub# control docker installdocker_users: - "{{target_user}}"docker_install_compose_plugin:truedocker_compose_package:docker-compose-plugindocker_compose_package_state:presentdocker_install_compose:false