You've already forked ansible-awx-gitlab
initial commit
This commit is contained in:
17
playbooks/awx.yml
Normal file
17
playbooks/awx.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# AWX only. Run: ansible-playbook playbooks/awx.yml --ask-vault-pass
|
||||
|
||||
- name: Base setup
|
||||
hosts: awx_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
|
||||
16
playbooks/gitlab.yml
Normal file
16
playbooks/gitlab.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
# GitLab only. Run: ansible-playbook playbooks/gitlab.yml --ask-vault-pass
|
||||
|
||||
- name: Base setup
|
||||
hosts: gitlab_servers
|
||||
become: true
|
||||
roles:
|
||||
- role: common
|
||||
|
||||
- name: Install and configure GitLab
|
||||
hosts: gitlab_servers
|
||||
become: true
|
||||
vars_files:
|
||||
- ../vault/secrets.yml
|
||||
roles:
|
||||
- role: gitlab_install
|
||||
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