-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobal_vars.yml
73 lines (58 loc) · 2.79 KB
/
global_vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
# !!!! DO NOT USE '-' IN NAME OF AUTOMATION (OR ANY SERVER NAME) !!!!
# !!!! can cause problems with discovering hosts in dynamic inventory !!!!
# set test_stable to true when you want to test latest stable versions of pulp
# TODO: split variables into groups: global, per test-case, etc
# name of the key for comunicating with instances, located in ansible_dir/keys
key_name: "{{lookup ('env', 'EC2_KEY_NAME')}}"
# set true for overwriting existing key
force_keypair: "{{lookup ('env', 'FORCE_KEYPAIR')}}"
# instance details
region: "{{lookup ('env', 'EC2_REGION')}}"
instance_type: "{{lookup ('env', 'EC2_INSTANCE_TYPE')}}"
# set os to: fedora20 / fedora22 / rhel6 / rhel7, keep auto_runner on rhel7
reposerver_os: fedora22
auto_runner_os: rhel7
automation_os: "{{lookup ('env', 'EC2_PULP_OS')}}"
# security groups names: default simply ssh and pulp
ssh_sg: "{{lookup ('env', 'EC2_SSH_SG')}}"
pulp_sg: "{{lookup ('env', 'EC2_PULP_SG')}}"
# put all playbooks variables here
# names and configurations of servers and s3 bucket, pulp_automation_pulp_beta_repos/placko-pulp-beta-repos-ewest-testing
reposerver_name: "{{lookup ('env', 'REPOSERVER_NAME')}}"
bucket_name: "{{lookup ('env', 'BUCKET_NAME')}}"
# tested pulp relevant variables, upgrading_from can't be lower than tested_version
tested_version: "{{lookup ('env', 'TESTED_VERSION')}}"
test_stable: "{{lookup ('env', 'PULP_TEST_STABLE')}}"
test_beta: "{{lookup ('env', 'PULP_TEST_BETA')}}"
upgrading_from: "{{lookup ('env', 'UPGRADING_FROM')}}"
upgrading_from_stable: "{{lookup ('env', 'UPGRADING_FROM_STABLE')}}"
upgrading_from_beta: "{{lookup ('env', 'UPGRADING_FROM_BETA')}}"
upgrading_to: "{{lookup ('env', 'UPGRADING_TO')}}"
upgrading_to_stable: "{{lookup ('env', 'UPGRADING_TO_STABLE')}}"
upgrading_to_beta: "{{lookup ('env', 'UPGRADING_TO_BETA')}}"
#tested_branch: "{{lookup ('env', 'TESTED_BRANCH')}}"
repos_list:
- pulp
- pulp_rpm
- pulp_puppet
# name of current automation: ie. single_node_testing, proxy_testing, etc
automation_name: "{{lookup ('env', 'AUTOMATION_NAME')}}"
##########################################################################
# ec2 credentials used by boto and s3cmd, set as env variable
access_key: "{{lookup ('env', 'AWS_ACCESS_KEY_ID')}}"
secret_access_key: "{{lookup ('env', 'AWS_SECRET_ACCESS_KEY')}}"
# RHN credentials for accesing RH channels
RHN_username: "{{lookup ('env', 'RHN_USERNAME')}}"
RHN_password: "{{lookup ('env', 'RHN_PASSWORD')}}"
RHN_poolid: "{{lookup ('env', 'RHN_POOLID')}}"
# reposerver relevant variables
# repositories for rpms
reposerver_repo_dir: /tmp/tito
# automation-runner variables
automation_dir: /root/pulp-automation
ami_fedora22: ami-55146222
ami_rhel7: ami-25158352
ami_rhel6: ami-2591fe52
ami_rhel7_2: ami-960c56e1
##########################################################################