forked from shadowman-lab/Ansible-Development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansibleserver.yml
39 lines (37 loc) · 1.72 KB
/
ansibleserver.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
---
- name: Deploy Ansible development server
hosts: all
become: true
vars:
# username for private automation hub for EE or to password protected registry
registry_user: USERNAME
# password for private automation hub for EE or to password protected registry
registry_pass: PASSWORD
# password for code server, remove variable if not using auth with code server
code_server_pass: PASSWORD
# username for development server
username: ansible
# port for web server access
dev_server_port: 443
# folder to copy ssl certs from (built into EE or mounted at runtime) or localhost folder if running ansible-playbook
certandkeysourcefolder: /certs/
# folder to create to deploy ssl certs to
certandkeydestfolder: /etc/pki/tls/certs/
# name of certificate, delete if using self-signed
cert_name: CERT.cer
# name of key, delete if using self-signed
key_name: KEY.key
# specific image to pull to development server and assign in ansible-navigator.yml
ansible_image: registry.redhat.io/ansible-automation-platform-23/ee-supported-rhel8:latest
# Deploy an inventory, group variables and host variables files from files folder in role
deploy_inventory: true
# Deploy an example repository with a basic role structure
deploy_example_repo: true
# Deploy an example repository using ansible-galaxy init
deploy_ansiblegalaxy_repo: false
# Set version to be latest or the version you want to install
version: latest
# location of additional image store for shared storage, must be previously set up https://access.redhat.com/solutions/6206192. Remove if not using
additionalimagestores: /var/lib/mycontainers-shared
roles:
- shadowman_dev_server