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
|
2018-07-02 23:23:08 -04:00
|
|
|
# vim +'call Initialize()' +'qa'
|
2018-04-07 17:47:15 -04:00
|
|
|
# Could also secure system
|
2018-07-02 23:23:08 -04:00
|
|
|
# ansible-playbook -i hosts --ask-become-pass main.yml --tags 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
|