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
| ** playbook-test.yml | |
| - hosts: all | |
| gather_facts: no | |
| vars: | |
| nginx_vhosts: [] | |
| tasks: | |
| - include_tasks: load-vhosts-conf.yml | |
| vars: | |
| vhost_file: '{{ item }}' |
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
| $ ansible-playbook -v -i 127.0.0.1, --extra-vars "port=9999" playbook.yml | |
| playbook.yml: | |
| - hosts: 127.0.0.1 | |
| connection: local | |
| gather_facts: no | |
| tasks: | |
| - wait_for: | |
| host: "{{ item }}" | |
| port: "{{ port }}" |
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
| diff --git a/lib/Net/HTTP/Spore/Request.pm b/lib/Net/HTTP/Spore/Request.pm | |
| index 365e736..c08beb9 100644 | |
| --- a/lib/Net/HTTP/Spore/Request.pm | |
| +++ b/lib/Net/HTTP/Spore/Request.pm | |
| @@ -150,7 +150,7 @@ sub uri { | |
| my $base = $self->_uri_base; | |
| - my $path_escape_class = '^A-Za-z0-9\-\._~/'; | |
| + my $path_escape_class = '^A-Za-z0-9\-\._~/@\:'; |
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
| use lib ('lib'); | |
| use YAML::Syck; | |
| use JSON; | |
| use Redis; | |
| use Storage; # My own module | |
| use Storage::Riak; # My own too | |
| my $storage = Storage->new( | |
| driver => Storage::Riak->new); | |
| my $redis = Redis->new; |