Merge pull request 'fix-pretalx-state-start' (#15) from fix-pretalx-state-start into master
Reviewed-on: #15
This commit is contained in:
commit
c9c1049c4d
@ -6,6 +6,7 @@
|
||||
- name: PREP LXD -- Check if ubuntu minimal repo already added.
|
||||
shell: lxc remote list | grep ubuntu-minimal | wc -l
|
||||
register: ubuntu_minimal_repo
|
||||
check_mode: no
|
||||
- name: PREP LXD -- Add ubuntu minimal repo
|
||||
command: lxc remote add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/
|
||||
when: ubuntu_minimal_repo.stdout != "1"
|
||||
|
@ -5,8 +5,8 @@
|
||||
tasks:
|
||||
- name: Create lxd containers
|
||||
community.general.lxd_container:
|
||||
name: '{{ item }}'
|
||||
state: started
|
||||
name: '{{ item.name }}'
|
||||
state: '{{ item.state }}'
|
||||
source:
|
||||
type: image
|
||||
mode: pull
|
||||
@ -17,10 +17,10 @@
|
||||
wait_for_ipv4_addresses: true
|
||||
timeout: 600
|
||||
with_items:
|
||||
- haproxy
|
||||
- gitea
|
||||
- freescout
|
||||
- pretalx
|
||||
- { name: haproxy, state: started }
|
||||
- { name: gitea, state: started }
|
||||
- { name: freescout, state: started }
|
||||
- { name: pretalx, state: stopped }
|
||||
- name: Create haproxy port forwards
|
||||
community.general.lxd_container:
|
||||
name: haproxy
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: HAPROXY -- install
|
||||
hosts: haproxy@git.ansol.org
|
||||
hosts: haproxy@lxd.ansol.org
|
||||
become: true
|
||||
tasks:
|
||||
- name: HAPROXY -- install needed packages
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: GITEA -- install
|
||||
hosts: gitea@git.ansol.org
|
||||
hosts: gitea@lxd.ansol.org
|
||||
roles:
|
||||
- { role: do1jlr.gitea, tags: gitea }
|
||||
vars:
|
||||
|
Loading…
Reference in New Issue
Block a user