bfddb2354827d33d089d6bfb3974895af8d27109
[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 rpm from a local path or remote URL
42 #   dep_repo: Install ODL using a debian repository
43 #   deb_path: Install ODL .deb from a local path or remote URL
44 install_method: "rpm_repo"
45
46 # URL of the .repo config to use when installing ODL from a repo
47 # NB: This will only take effect when `install_method` is "rpm_repo"
48 rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-6-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: "ppa:odl-team/carbon"
53
54 # This will be passed as the `name` param to the Ansible `yum` module.
55 # `name` param docs: "You can also pass a url or a local path to a rpm file."
56 #   See: http://docs.ansible.com/ansible/yum_module.html
57 # NB: Local paths must be relative the host being configured (think `/vagrant`)
58 # NB: This will only take effect when `install_method` is "rpm_path"
59 # Default to the Carbon RPM hosted on the CentOS Community Build System
60 rpm_path: "http://cbs.centos.org/repos/nfv7-opendaylight-60-release/x86_64/os/Packages/opendaylight-6.0.0-1.el7.noarch.rpm"
61
62 # This will be passed as the `deb` param to the Ansible `apt` module.
63 # `deb` param docs: "Path to a .deb package on the remote machine. If :// in the path,
64 #                    ansible will attempt to download deb before installing."
65 #   See: http://docs.ansible.com/ansible/apt_module.html
66 # This is used when `install_method` is "deb_path"
67 deb_path: ""