Refactor: Dir structure

This commit is contained in:
Tobias Manske 2023-09-14 06:48:05 +02:00
parent c361625230
commit af3e66f901
Signed by: tobias
GPG Key ID: 9164B527694A0709
157 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ steps:
image: registry.tobiasmanske.de/ansible-runner:latest image: registry.tobiasmanske.de/ansible-runner:latest
pull: always pull: always
commands: commands:
- cd coreos-config - cd ansible
- mkdir $ANSIBLE_HOME - mkdir $ANSIBLE_HOME
- ansible-galaxy install -r requirements.yaml - ansible-galaxy install -r requirements.yaml
- ansible-playbook --private-key ../ssh_key --inventory=inventory.yaml runner-pre.yaml - ansible-playbook --private-key ../ssh_key --inventory=inventory.yaml runner-pre.yaml
@ -45,7 +45,7 @@ steps:
image: registry.tobiasmanske.de/ansible-runner:latest image: registry.tobiasmanske.de/ansible-runner:latest
pull: always pull: always
commands: commands:
- cd coreos-config - cd ansible
- ansible-playbook --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml - ansible-playbook --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml
- name: Validate Ansible - name: Validate Ansible
image: registry.tobiasmanske.de/ansible-runner:latest image: registry.tobiasmanske.de/ansible-runner:latest
@ -54,7 +54,7 @@ steps:
ANSIBLE_VAULT_PASSWORD_FILE: "/drone/src/vault_pass" ANSIBLE_VAULT_PASSWORD_FILE: "/drone/src/vault_pass"
ANSIBLE_FORCE_COLOR: "true" ANSIBLE_FORCE_COLOR: "true"
commands: commands:
- cd coreos-config - cd ansible
- ansible-galaxy install -r requirements.yaml - ansible-galaxy install -r requirements.yaml
- ansible-playbook --check --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml - ansible-playbook --check --private-key ../ssh_key --inventory=inventory.yaml playbook.yaml

Some files were not shown because too many files have changed in this diff Show More