You've already forked ansible-awx-gitlab
initial commit
This commit is contained in:
26
playbooks/site.yml
Normal file
26
playbooks/site.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# Full rollout: base setup on all hosts, then AWX and GitLab in parallel groups.
|
||||
# Full run: ansible-playbook playbooks/site.yml --ask-vault-pass
|
||||
|
||||
- name: Base setup for all hosts
|
||||
hosts: awx_servers:gitlab_servers
|
||||
become: true
|
||||
roles:
|
||||
- role: common
|
||||
|
||||
- name: Install and configure AWX (via k3s)
|
||||
hosts: awx_servers
|
||||
become: true
|
||||
vars_files:
|
||||
- ../vault/secrets.yml
|
||||
roles:
|
||||
- role: k3s_install
|
||||
- role: awx_operator
|
||||
|
||||
- name: Install and configure GitLab
|
||||
hosts: gitlab_servers
|
||||
become: true
|
||||
vars_files:
|
||||
- ../vault/secrets.yml
|
||||
roles:
|
||||
- role: gitlab_install
|
||||
Reference in New Issue
Block a user