sync/sync.sh

11 lines
499 B
Bash
Executable File

#!/bin/bash
ansible-playbook -i 'localhost,' main.yml --tags default
# Could also sync vim:
# ansible-playbook -i hosts main.yml --tags default,vim
# Could also secure system
# ansible-playbook -i hosts --ask-become-pass main.yml --tags default,vim,secure
# Disable password authentication
# ansible-playbook -i 'localhost,' --tags secure --extra-vars 'disable_passwordauth=true' main.yml --ask-become-pass
# Use 1.1.1.1 dns
# ansible-playbook -i 'localhost,' --tags dns main.yml --ask-become-pass