Fix RPM URL var default value
[integration/packaging/ansible-opendaylight.git] / vars / main.yml
1 ---
2 # Default variables for the OpenDaylight role. Override as needed.
3
4 # The point of defining default_* and extra_* lists (like default_features
5 # and extra_features), instead of using one common list (like a features
6 # list, with the two aggregated) is to simplify the user experience.
7 # From a playbook using this role, overriding an empty extra_* list and
8 # ignoring the boring default_* counterpart is easier than appending
9 # to a common list or enumerating both the ODL-required defaults and the
10 # extras you actually care about.
11
12 # The set of Karaf features installed by default in ODL's release artifact.
13 # You likely don't need to override these. With only these, you'll be
14 # able to connect to a Karaf shell and poke around ODL, including
15 # potentially manually installing features, but that's about it.
16 # It's better to avoid that manual step by overriding the extra_features
17 # list with the additional ODL features required by your use-case.
18 default_features:
19   - 'config'
20   - 'standard'
21   - 'region'
22   - 'package'
23   - 'kar'
24   - 'ssh'
25   - 'management'
26
27 # Karaf features to install *in addition* to the default_features list.
28 # You will likely need to override this. The features you choose will
29 # be determined by your use-case. You'll be able to get a Karaf
30 # shell and poke around without any extras, but manually connecting to
31 # CLIs is an anti-goal for CI/CD and automated deployments generally.
32 extra_features: []
33
34 # Specifies the port for the ODL northbound REST interface to listen on.
35 # This was added because OpenStack's Swift project uses a conflicting port.
36 nb_rest_port: 8080
37
38 # Method to install ODL
39 # Valid options:
40 #   rpm_repo: Install ODL using its Yum repo config
41 #   rpm_path: Install ODL from a local path or remote URL
42 #   dep_repo: Install ODL using a debian repository
43 install_method: "rpm_repo"
44
45 # URL of the .repo config to use when installing ODL from a repo
46 # NB: This will only take effect when `install_method` is "rpm_repo"
47 rpm_repo_file: "opendaylight-5-release.repo"
48 rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-5-release.repo;hb=refs/heads/master"
49
50 # URL of the deb repository to use when installing ODL from a repo
51 # NB: This will only take effect when `install_method` is "deb_repo"
52 deb_repo_url: "deb http://download.opensuse.org/repositories/home:/akshitajha/{{ os }}/ /"
53 # URL to add the repository key to 'apt'
54 deb_key: "http://download.opensuse.org/repositories/home:akshitajha/{{ os }}/Release.key"
55
56 # This will be passed as the `name` param to the Ansible `yum` module.
57 # `name` param docs: "You can also pass a url or a local path to a rpm file."
58 #   See: http://docs.ansible.com/ansible/yum_module.html
59 # NB: Local paths must be relative the host being configured (think `/vagrant`)
60 # NB: This will only take effect when `install_method` is "rpm_path"
61 # Default to the Boron SR2 RPM hosted on the CentOS Community Build System
62 rpm_path: "http://cbs.centos.org/repos/nfv7-opendaylight-52-release/x86_64/os/Packages/opendaylight-5.2.0-1.el7.noarch.rpm"
63
64 # This will be passed as the `deb` param to the Ansible `apt` module.
65 # `deb` param docs: "Path to a .deb package on the remote machine. If :// in the path,
66 #                    ansible will attempt to download deb before installing."
67 #   See: http://docs.ansible.com/ansible/apt_module.html
68 # This is used when `install_method` is "deb_path"
69 deb_path: "http://download.opensuse.org/repositories/home:/akshitajha/{{ os }}/all/opendaylight_5.0.0-1_all.deb"