如何将Debian 6/7/8剧本合并为一本主剧本?
Debian-6-certificates.yaml
- name: Copy the proxy CA to /etc/ssl/certs/
copy:
src: library/{{ item }}.crt
dest: /usr/local/share/ca-certificates/{{ item }}.crt
with_items:
- "{{ proxy_ca_certificate }}"
- name: Update system CA certificates
command: update-ca-certificates --fresh
...
Debian-7-certificates.yaml
- name: Copy the proxy CA to /etc/ssl/certs/
copy:
src: library/{{ item }}.crt
dest: /usr/local/share/ca-certificates/{{ item }}.crt
with_items:
- "{{ proxy_ca_certificate }}"
- name: Update system CA certificates
command: update-ca-certificates --fresh
...
Debian-8-certificates.yaml
- name: Copy the proxy CA to /etc/ssl/certs/
copy:
src: library/{{ item }}.crt
dest: /usr/local/share/ca-certificates/{{ item }}.crt
with_items:
- "{{ proxy_ca_certificate }}"
- name: Update system CA certificates
command: update-ca-certificates --fresh
...