This file contains 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
# provision a tinyproxy server on an Ubuntu or CentOS (7.1+) host | |
- hosts: proxies | |
become: true | |
roles: | |
- geerlingguy.firewall | |
vars: | |
firewall_allowed_tcp_ports: [ 22, 8888 ] |
This file contains 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
module MyMixin | |
def self.included(other) | |
other.instance_eval do | |
define_method :bar do | |
puts 'bar called' | |
end | |
end | |
end | |
end |
OlderNewer