acmetool.yml 454 B

12345678910111213
  1. ---
  2. - name: ensure acmetool is installed
  3. apt: name=acmetool install_recommends=no state=latest default_release={{ ansible_distribution_release }}-backports
  4. - name: Ensure acmetool response file is up to date
  5. register: responsefile
  6. template:
  7. src: acme_config.j2
  8. dest: /var/lib/acme/responses.yml
  9. - name: Setup acmetool
  10. when: responsefile|changed
  11. shell: /usr/bin/acmetool quickstart --batch --response-file=/var/lib/acme/responses.yml