Filip Pytloun | 3290c58 | 2017-03-09 11:17:33 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - system.jenkins.slave |
| 3 | parameters: |
| 4 | linux: |
| 5 | system: |
| 6 | user: |
| 7 | jenkins: |
| 8 | groups: |
| 9 | - docker |
Jakub Josef | 4e2ed5d | 2017-05-11 13:48:04 +0200 | [diff] [blame] | 10 | sudo: |
Jakub Josef | a75c747 | 2017-05-16 13:24:12 +0200 | [diff] [blame] | 11 | enabled: true |
Jakub Josef | 4e2ed5d | 2017-05-11 13:48:04 +0200 | [diff] [blame] | 12 | users: |
| 13 | jenkins: |
Jakub Josef | e78ac45 | 2017-05-16 12:07:14 +0200 | [diff] [blame] | 14 | setenv: true |
Jakub Josef | 4e2ed5d | 2017-05-11 13:48:04 +0200 | [diff] [blame] | 15 | hosts: |
| 16 | - ALL |
| 17 | commands: |
Jakub Josef | bbc0b10 | 2017-05-29 13:45:50 +0200 | [diff] [blame] | 18 | - /usr/bin/docker |
| 19 | docker: |
| 20 | client: |
| 21 | network: |
| 22 | docker_gwbridge: |
| 23 | subnet: 10.20.0.0/16 |
| 24 | opt: |
| 25 | com.docker.network.bridge.name: docker_gwbridge |
| 26 | com.docker.network.bridge.enable_icc: false |
| 27 | com.docker.network.bridge.enable_ip_masquerade: true |