Refactor: Dir structure
This commit is contained in:
parent
c361625230
commit
af3e66f901
@ -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
Loading…
Reference in New Issue
Block a user