forked from shadowman-lab/Ansible-Development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansibleremoteserver.yml
28 lines (26 loc) · 1.32 KB
/
ansibleremoteserver.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
---
- name: Set up ansible configuration for VSCode Remote Extension
hosts: all
become: true
vars:
# registry user not needed if using shared storage
# 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
# username for development server
username: ansible
# specific image to assign in ansible-navigator.yml and ansible-extension
ansible_image: registry.redhat.io/ansible-automation-platform-24/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
# 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/myee-shared
# Install VS Code locally on your laptop and then commit ID can be found in VS Code under "About Visual Studio Code"
commit_id: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
roles:
- shadowman_dev_vs_codeserver