This commit is contained in:
parent
e1770e33cb
commit
2e7242c9f3
@ -10,4 +10,4 @@ steps:
|
||||
- apt-get update -y
|
||||
- apt-get upgrade -y
|
||||
- pip3 install salt-lint
|
||||
- salt-lint states/*/*.sls
|
||||
- salt-lint -x 207,208,210 states/*/*.sls
|
||||
|
@ -22,7 +22,16 @@ acmesh-upgrade:
|
||||
|
||||
acmesh-run:
|
||||
cmd.run:
|
||||
- name: /root/.acme.sh/acme.sh --debug --issue {%- for domain in acme.domains %} -d '{{ domain }}' {% endfor -%} --dns dns_ovh --cert-file '' --fullchain-file '{{ acme.fullcertfile }}' --key-file '{{ acme.keyfile }}' -k {{ acme.keysize }}
|
||||
- name: >
|
||||
/root/.acme.sh/acme.sh --debug --issue
|
||||
{%- for domain in acme.domains %}
|
||||
-d '{{ domain }}'
|
||||
{% endfor -%}
|
||||
--dns dns_ovh
|
||||
--cert-file ''
|
||||
--fullchain-file '{{ acme.fullcertfile }}'
|
||||
--key-file '{{ acme.keyfile }}'
|
||||
-k {{ acme.keysize }}
|
||||
- env:
|
||||
- OVH_AK: '{{ acme.provider.api.application_key }}'
|
||||
- OVH_AS: '{{ acme.provider.api.application_secret }}'
|
||||
|
@ -6,7 +6,12 @@ telegraf-archive-extract:
|
||||
- name: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}
|
||||
- source: {{ telegraf.mirror }}/telegraf-{{ telegraf.version }}_{{ salt['grains.get']('kernel')|lower }}_{{ salt['grains.get']('osarch') }}.tar.gz
|
||||
- enforce_toplevel: false
|
||||
- options: --transform 's|^\{{ archive_exclude_dir }}|/|g' --exclude '{{ archive_exclude_dir }}/etc' --exclude '{{ archive_exclude_dir }}/usr/lib' --exclude '{{ archive_exclude_dir }}/var' --strip 2
|
||||
- options: >
|
||||
--transform 's|^\{{ archive_exclude_dir }}|/|g'
|
||||
--exclude '{{ archive_exclude_dir }}/etc'
|
||||
--exclude '{{ archive_exclude_dir }}/usr/lib'
|
||||
--exclude '{{ archive_exclude_dir }}/var'
|
||||
--strip 2
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- if_missing: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}/telegraf
|
||||
|
Loading…
Reference in New Issue
Block a user