clone custom modules into role
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
00771b294a
commit
27105bb2df
@ -25,6 +25,13 @@ steps:
|
|||||||
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
||||||
# depends_on: [ clone ]
|
# depends_on: [ clone ]
|
||||||
|
|
||||||
|
- name: dependencies
|
||||||
|
image: docker:git
|
||||||
|
commands:
|
||||||
|
- pwd
|
||||||
|
- mkdir -p ./library/
|
||||||
|
- git clone https://gitea.rknet.org/ansible/custom_modules ./library/
|
||||||
|
|
||||||
- name: molecule
|
- name: molecule
|
||||||
image: quay.io/ansible/molecule
|
image: quay.io/ansible/molecule
|
||||||
pull: always
|
pull: always
|
||||||
@ -43,8 +50,6 @@ steps:
|
|||||||
ANSIBLE_TIMEOUT: 60
|
ANSIBLE_TIMEOUT: 60
|
||||||
ANSIBLE_ROLES_PATH: /drone/src
|
ANSIBLE_ROLES_PATH: /drone/src
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p $HOME/.ansible/plugins/modules/
|
|
||||||
- git clone https://gitea.rknet.org/ansible/custom_modules $HOME/.ansible/plugins/modules/
|
|
||||||
- ansible-doc -t module iptables_raw
|
- ansible-doc -t module iptables_raw
|
||||||
- mkdir $HOME/.ssh
|
- mkdir $HOME/.ssh
|
||||||
- echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
|
- echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
|
||||||
|
Loading…
Reference in New Issue
Block a user