Last active
July 25, 2017 19:53
-
-
Save okelet/788b07c7ca19ac43105eaea66b46221a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[defaults] | |
host_key_checking = False | |
inventory = ~/ansible_hosts.ini | |
library = ~/.ansible/library | |
display_skipped_hosts = True | |
nocows = 1 | |
roles_path = ~/.ansible/roles:/etc/ansible/roles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localhost ansible_connection=local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
connection: local | |
environment: | |
http_proxy: http://miproxy.com:8080 | |
https_proxy: http://miproxy.com:8080 | |
tasks: | |
- name: Install virtualbox key | |
become: yes | |
apt_key: | |
url: https://www.virtualbox.org/download/oracle_vbox.asc | |
state: absent | |
- name: configure virtualbox repo | |
become: yes | |
apt_repository: | |
repo: deb http://download.virtualbox.org/virtualbox/debian vivid contrib | |
filename: virtualbox | |
mode: 644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment