Add ci_apply group

This commit is contained in:
Tobias Manske 2023-03-30 21:18:30 +02:00
parent 0059cc494f
commit 936bbf7ecd
Signed by: tobias
GPG Key ID: 9164B527694A0709
2 changed files with 10 additions and 2 deletions

View File

@ -36,7 +36,7 @@ steps:
ANSIBLE_FORCE_COLOR: "true"
commands:
- cd coreos-config
- ansible-playbook --limit host.nc.chaoswg.org --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml
- ansible-playbook --limit ci_apply --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml
- name: Validate Ansible
image: registry.tobiasmanske.de/ansible-runner:latest
pull: always
@ -45,7 +45,7 @@ steps:
ANSIBLE_FORCE_COLOR: "true"
commands:
- cd coreos-config
- ansible-playbook --limit host.nc.chaoswg.org --check --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml
- ansible-playbook --limit ci_apply --check --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml
image_pull_secrets:
- registry

View File

@ -4,6 +4,9 @@ all:
host.nc.chaoswg.org:
ansible_user: core
network_interface: ens3
mon1.hel1.chaoswg.org:
ansible_user: core
network_interface: ens3
thonkpad.ka.chaoswg.org:
ansible_host: 192.168.0.73
ansible_user: core
@ -16,3 +19,8 @@ all:
hosts:
host.nc.chaoswg.org: null
thonkpad.ka.chaoswg.org: null
mon1.hel1.chaoswg.org: null
ci_apply:
hosts:
host.nc.chaoswg.org: null
mon1.hel1.chaoswg.org: null