2018-04-07 17:47:15 -04:00
|
|
|
#!/bin/bash
|
2018-04-12 14:03:25 -04:00
|
|
|
ansible-playbook -i 'localhost,' main.yml --tags default
|
2018-04-07 17:47:15 -04:00
|
|
|
# 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
|
2018-04-12 14:03:25 -04:00
|
|
|
# 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
|