commit | 8c6fe6faa1ee3e3a3e1804904f244bdc55a40396 | [log] [tgz] |
---|---|---|
author | Carlos Frias <friasc@google.com> | Wed May 02 18:05:51 2018 -0400 |
committer | Carlos Frias <friasc@google.com> | Wed May 02 18:05:51 2018 -0400 |
tree | abfe38a4948df91dbd9906f7f2ac1625c20bef70 | |
parent | d47abcb5847fb3dee76f89b32f6581ea818bd241 [diff] |
Updated README.md file
This role will enable add a proxy setting to the Yum apigee.repo file.
None
This role uses the variable yum_repositories
. This variable must be defined for each yum repository as follows:
yum_repositories: - { name: "Apigee $apigeestage repo", baseurl: "$apigeeprotocol$apigeecredentialswithat$apigeerepohost$apigeerepobasepath/apigee/$apigeestage/$apigeereleasever", repo_id: "apigee-$apigeestage", gpgcheck: "1", gpgkey: "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-apigee", priority: "$apigeepriority", exclude: "$apigeeexclude", repo_filename: "apigee", sslverify: false } - { name: "Apigee Thirdparty Repo", repo_id: "apigee-thirdparty", baseurl: "$apigeeprotocol$apigeecredentialswithat$apigeerepohost$apigeerepobasepath/thirdparty/$releasever", gpgcheck: "0", gpgkey: "", priority: "$apigeepriority", exclude: "" , repo_filename: "apigee", sslverify: false }
None
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers vars: yum_repositories: - { name: "Apigee $apigeestage repo", baseurl: "$apigeeprotocol$apigeecredentialswithat$apigeerepohost$apigeerepobasepath/apigee/$apigeestage/$apigeereleasever", repo_id: "apigee-$apigeestage", gpgcheck: "1", gpgkey: "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-apigee", priority: "$apigeepriority", exclude: "$apigeeexclude", repo_filename: "apigee", sslverify: false } - { name: "Apigee Thirdparty Repo", repo_id: "apigee-thirdparty", baseurl: "$apigeeprotocol$apigeecredentialswithat$apigeerepohost$apigeerepobasepath/thirdparty/$releasever", gpgcheck: "0", gpgkey: "", priority: "$apigeepriority", exclude: "" , repo_filename: "apigee", sslverify: false } roles: - { role: apigee-opdk-yum-repository-proxy-config }
Apache 2.0
Carlos Frias
This is not an officially supported Google product.
We'd love to accept your patches and contributions to this project. Please review our guidelines.