Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ Requirements for running the provisioner will vary based upon your environment a
* sshpass (use brew to install if OSX)
* Ansible Tower License

#### rhel8, fedora28=>

After cloning this repository to your deployment node, create a python3 virtualenv inside the repository (remember to add this to .gitignore)

`python3 -m venv env`

Activate the virtual environment

`source env/bin/activate`

Install the dependancies locally using pip

`pip install pywinrm boto boto3 requests requests-credssp ansible[azure]`

### AWS

You will need to setup your AWS configuration and Credentials. Note that a standard AWS account is limited to 20 ec2 instances, so update your quota in advance. Also note that each student gets 3 machines. Make certain your VPC is large enough.
Expand Down
2 changes: 1 addition & 1 deletion roles/gitlab-postconfig/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"username": "root",
"password": "{{ domain_admin_password }}"
}
no_log: True
no_log: false

rescue:

Expand Down
9 changes: 5 additions & 4 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ldap_basedn: "DC=ansibleworkshop,DC=com"
domain_admin_password: "MyP@ssw0rd21"

# Number of users and prefix for user name
user_count: 1
user_count: 16
user_prefix: student
users_password: "Ans1bl3--"

Expand All @@ -33,7 +33,7 @@ ldap_access_filter: "(&(objectClass=user)(memberOf=CN=Ansible Users,CN=Users,{{
tower_ldap_search_dn: "CN=Users,{{ ldap_search_base }}"

# Root user (ec2-user for AWS)
root_user: root
root_user: ec2-user
root_password: MyPassw0rd21
centos_root_user: centos

Expand Down Expand Up @@ -84,6 +84,7 @@ gitlab_download_validate_certs: yes
# install latest version of gitlab when using ansible 2.8
# enable gitlab_version below when using ansible < 2.8
# gitlab_version: "10.0.6-ce.0.el7"
gitlab_version: "12.6.7-ce.0.el7"
# Email configuration.
gitlab_email_enabled: "false"
gitlab_smtp_enable: "false"
Expand All @@ -93,15 +94,15 @@ gitlab_smtp_enable: "false"
######################## EC2 INFO ########################
##########################################################

ec2_region: "us-east-1"
ec2_region: "ap-southeast-2"

# If this is defined, create a dns entries in the route53 zone
#public_dns_zone: "labs.ansibleworkshop.com"

# Internal lookup dict for image names and types
ec2_image_names:
rhel7: "RHEL-7.7_HVM_GA*x86_64*"
rhel8: "RHEL-8.1.0_HVM_GA*x86_64*"
rhel8: "RHEL-8.1.0_HVM-20191029-x86_64-0-Hourly2-GP2"
centos7: "CentOS Linux 7 x86_64 HVM EBS ENA 1901_01*"
win2016_core: "Windows_Server-2016-English-Core-Base*"
win2016_full: "Windows_Server-2016-English-Full-Base*"
Expand Down